Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.898e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 44.51 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5521, allocations: 109 MB / 409 MB, free: 9.445 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.5524, allocations: 85.45 kB / 409.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.342/0.8944, allocations: 82.82 MB / 491.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8945, allocations: 0 / 491.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002863/0.8948, allocations: 75.86 kB / 492 MB, free: 8.137 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.009809/0.9046, allocations: 2.597 MB / 494.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.9047, allocations: 8.031 kB / 494.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/0.9059, allocations: 358.6 kB / 494.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.9082, allocations: 416 kB / 495.3 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/0.9145, allocations: 1.827 MB / 497.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.9148, allocations: 193 kB / 497.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007681/0.9156, allocations: 247.9 kB / 497.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008894/0.9245, allocations: 3.108 MB / 0.489 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.151e-05/0.9247, allocations: 0 / 0.489 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003953/0.9251, allocations: 107.9 kB / 0.4891 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.9252, allocations: 112.9 kB / 0.4892 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007502/0.9328, allocations: 2.415 MB / 0.4915 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.9606, allocations: 10.43 MB / 0.5017 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.9642, allocations: 1.746 MB / 0.5034 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.9663, allocations: 0.8544 MB / 0.5043 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/0.9668, allocations: 227.1 kB / 0.5045 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.9668, allocations: 47.52 kB / 0.5045 GB, free: 14.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 3.777e-06/0.9668, allocations: 0 / 0.5045 GB, free: 14.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.02745/0.9943, allocations: 6.88 MB / 0.5112 GB, free: 7.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.9944, allocations: 72.67 kB / 0.5113 GB, free: 7.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/0.9983, allocations: 1.613 MB / 0.5129 GB, free: 6.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003544/0.9987, allocations: 49.7 kB / 0.5129 GB, free: 6.016 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1, allocations: 1.237 MB / 0.5141 GB, free: 4.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008431/1.001, allocations: 496.9 kB / 0.5146 GB, free: 4.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.001, allocations: 32 kB / 0.5146 GB, free: 4.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/1.001, allocations: 377.9 kB / 0.515 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/1.003, allocations: 0.7966 MB / 0.5158 GB, free: 3.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/1.006, allocations: 1.28 MB / 0.517 GB, free: 1.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/1.009, allocations: 1.012 MB / 0.518 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/1.009, allocations: 4 kB / 0.518 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.2697/1.278, allocations: 2.792 MB / 0.5207 GB, free: 95.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/1.278, allocations: 10.97 kB / 0.5208 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.614e-05/1.278, allocations: 16.44 kB / 0.5208 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.281, allocations: 0.5916 MB / 0.5214 GB, free: 95.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/1.284, allocations: 406.5 kB / 0.5217 GB, free: 95.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.296, allocations: 5.435 MB / 0.527 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/1.299, allocations: 134.5 kB / 0.5272 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/1.299, allocations: 74.5 kB / 0.5272 GB, free: 94.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004483/1.3, allocations: 208.4 kB / 0.5274 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/1.301, allocations: 200.7 kB / 0.5276 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007042/1.308, allocations: 2.495 MB / 0.5301 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/1.308, allocations: 16.16 kB / 0.5301 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.308, allocations: 5.594 kB / 0.5301 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-05/1.308, allocations: 8.219 kB / 0.5301 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.322, allocations: 5.371 MB / 0.5353 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/1.322, allocations: 7.688 kB / 0.5354 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.324, allocations: 249.7 kB / 0.5356 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/1.327, allocations: 0.6543 MB / 0.5362 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.327, allocations: 38.09 kB / 0.5363 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/1.339, allocations: 7.13 MB / 0.5432 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.339, allocations: 2.594 kB / 0.5432 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008521/1.347, allocations: 3.911 MB / 0.5471 GB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.349, allocations: 466.9 kB / 0.5475 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/1.349, allocations: 41.64 kB / 0.5475 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.352, allocations: 111.7 kB / 0.5476 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/1.352, allocations: 116.4 kB / 0.5478 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.352, allocations: 41.61 kB / 0.5478 GB, free: 89.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002553/1.355, allocations: 1.25 MB / 0.549 GB, free: 89.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.355, allocations: 0 / 0.549 GB, free: 89.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003188/1.358, allocations: 0.6353 MB / 0.5496 GB, free: 89.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009489/1.367, allocations: 5.579 MB / 0.5551 GB, free: 87.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006982/1.374, allocations: 2.414 MB / 0.5574 GB, free: 86.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.375, allocations: 0 / 0.5574 GB, free: 86.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004243/1.379, allocations: 1.534 MB / 0.5589 GB, free: 85.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/1.382, allocations: 408.4 kB / 0.5593 GB, free: 85.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.396, allocations: 4.838 MB / 0.5641 GB, free: 83.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/1.399, allocations: 2.061 MB / 0.5661 GB, free: 82.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002238/1.401, allocations: 419 kB / 0.5665 GB, free: 82.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/1.403, allocations: 0.9931 MB / 0.5674 GB, free: 81.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.403, allocations: 0 / 0.5674 GB, free: 81.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.523, allocations: 51.21 MB / 0.6174 GB, free: 56.19 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.524, allocations: 207.8 kB / 0.6176 GB, free: 55.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/5.818, allocations: 0 / 0.6176 GB, free: 55.96 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat