Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.279/2.279, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.421e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.345, allocations: 44.48 MB / 294.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.5648, allocations: 108.3 MB / 402.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/0.5652, allocations: 79.95 kB / 402.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7427/1.308, allocations: 81.72 MB / 484.4 MB, free: 65.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.547e-06/1.308, allocations: 0 / 484.4 MB, free: 65.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002677/1.308, allocations: 71.88 kB / 484.5 MB, free: 65.65 MB / 362.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.009854/1.318, allocations: 2.607 MB / 487.1 MB, free: 62.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.318, allocations: 12.03 kB / 487.1 MB, free: 62.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/1.321, allocations: 412.1 kB / 487.5 MB, free: 62.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/1.327, allocations: 1.822 MB / 489.3 MB, free: 60.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.328, allocations: 84 kB / 489.4 MB, free: 60.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007183/1.328, allocations: 155.9 kB / 489.6 MB, free: 60.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007696/1.336, allocations: 2.299 MB / 491.9 MB, free: 58.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0084/1.344, allocations: 2.771 MB / 494.6 MB, free: 55.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/1.345, allocations: 3.984 kB / 494.7 MB, free: 55.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003603/1.345, allocations: 4 kB / 494.7 MB, free: 55.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/1.345, allocations: 112.9 kB / 494.8 MB, free: 55.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/1.371, allocations: 9.948 MB / 0.4929 GB, free: 44.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.375, allocations: 1.718 MB / 0.4946 GB, free: 43.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/1.376, allocations: 0.8241 MB / 0.4954 GB, free: 42.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/1.377, allocations: 230.8 kB / 0.4956 GB, free: 42.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.377, allocations: 43.88 kB / 0.4956 GB, free: 42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.849e-06/1.377, allocations: 0 / 0.4956 GB, free: 42 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.01802/1.395, allocations: 5.393 MB / 0.5009 GB, free: 36.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.395, allocations: 72.72 kB / 0.501 GB, free: 36.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/1.398, allocations: 1.363 MB / 0.5023 GB, free: 35.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/1.399, allocations: 25.7 kB / 0.5023 GB, free: 35.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.4, allocations: 1.24 MB / 0.5035 GB, free: 33.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000596/1.4, allocations: 484.8 kB / 0.504 GB, free: 33.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/1.401, allocations: 0 / 0.504 GB, free: 33.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/1.401, allocations: 369.9 kB / 0.5043 GB, free: 32.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/1.403, allocations: 0.7809 MB / 0.5051 GB, free: 32.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/1.405, allocations: 1.248 MB / 0.5063 GB, free: 30.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/1.407, allocations: 0.9899 MB / 0.5073 GB, free: 29.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/1.407, allocations: 4 kB / 0.5073 GB, free: 29.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008111/1.415, allocations: 2.665 MB / 0.5099 GB, free: 27.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/1.416, allocations: 12 kB / 0.5099 GB, free: 27.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/1.416, allocations: 16.31 kB / 0.5099 GB, free: 27.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/1.418, allocations: 0.5794 MB / 0.5105 GB, free: 26.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/1.422, allocations: 407.4 kB / 0.5109 GB, free: 26.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.434, allocations: 5.225 MB / 0.516 GB, free: 20.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.437, allocations: 95.78 kB / 0.5161 GB, free: 20.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/1.437, allocations: 76.05 kB / 0.5162 GB, free: 20.56 MB / 362.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 (188): * Single equations (assignments): 184 * 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.0004672/1.438, allocations: 148.3 kB / 0.5163 GB, free: 20.41 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006873/1.444, allocations: 2.234 MB / 0.5185 GB, free: 18.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/1.445, allocations: 181.8 kB / 0.5186 GB, free: 17.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/1.452, allocations: 2.378 MB / 0.521 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/1.452, allocations: 16 kB / 0.521 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.452, allocations: 4 kB / 0.521 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.453, allocations: 11.91 kB / 0.521 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.468, allocations: 4.941 MB / 0.5258 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/1.468, allocations: 7.953 kB / 0.5258 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/1.471, allocations: 256.1 kB / 0.5261 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/1.474, allocations: 0.6378 MB / 0.5267 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/1.474, allocations: 15.98 kB / 0.5267 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/1.489, allocations: 6.863 MB / 0.5334 GB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.489, allocations: 4 kB / 0.5334 GB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.499, allocations: 3.775 MB / 0.5371 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.501, allocations: 446.8 kB / 0.5375 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006991/1.502, allocations: 11.95 kB / 0.5375 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.504, allocations: 95.86 kB / 0.5376 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006339/1.505, allocations: 117.1 kB / 0.5377 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/1.505, allocations: 47.98 kB / 0.5378 GB, free: 13.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002975/1.508, allocations: 1.024 MB / 0.5388 GB, free: 12.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.508, allocations: 0 / 0.5388 GB, free: 12.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003776/1.512, allocations: 0.5351 MB / 0.5393 GB, free: 12.3 MB / 378.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 (111): * Single equations (assignments): 107 * 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.01353/1.526, allocations: 5.481 MB / 0.5447 GB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008189/1.534, allocations: 2.38 MB / 0.547 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.534, allocations: 0 / 0.547 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005413/1.539, allocations: 1.516 MB / 0.5485 GB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.543, allocations: 308.4 kB / 0.5488 GB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.561, allocations: 4.691 MB / 0.5533 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.564, allocations: 2.072 MB / 0.5554 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002758/1.567, allocations: 398.4 kB / 0.5558 GB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/1.57, allocations: 0.9796 MB / 0.5567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/1.57, allocations: 7.938 kB / 0.5567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/2.046, allocations: 43.24 MB / 0.5989 GB, free: 92.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002459/2.047, allocations: 188.7 kB / 0.5991 GB, free: 92.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.716/6.762, allocations: 7.781 kB / 0.5991 GB, free: 92.69 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat