Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.632/1.632, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.875e-05, allocations: 0 / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2565, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.4289, allocations: 99.98 MB / 358.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4293, allocations: 87.94 kB / 358.4 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4627/0.892, allocations: 64.64 MB / 423.1 MB, free: 53.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.892, allocations: 4 kB / 423.1 MB, free: 53.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003695/0.8924, allocations: 83.88 kB / 423.1 MB, free: 53.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.0113/0.9037, allocations: 3.241 MB / 426.4 MB, free: 49.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.9038, allocations: 12.03 kB / 426.4 MB, free: 49.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.9069, allocations: 447.1 kB / 426.8 MB, free: 49.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.9176, allocations: 2.327 MB / 429.2 MB, free: 47.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.918, allocations: 100 kB / 429.3 MB, free: 47.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.9196, allocations: 187.9 kB / 429.4 MB, free: 46.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01347/0.9331, allocations: 3.292 MB / 432.7 MB, free: 43.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.9503, allocations: 3.783 MB / 436.5 MB, free: 39.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.9505, allocations: 4 kB / 436.5 MB, free: 39.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/0.9516, allocations: 4 kB / 436.5 MB, free: 39.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.9518, allocations: 126 kB / 436.6 MB, free: 39.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05507/1.007, allocations: 12.96 MB / 449.6 MB, free: 26.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006862/1.014, allocations: 2.809 MB / 452.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004959/1.019, allocations: 1.465 MB / 453.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/1.019, allocations: 143 kB / 454 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/1.02, allocations: 56.56 kB / 454.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 6.933e-06/1.02, allocations: 0 / 454.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=183): time 0.02507/1.045, allocations: 6.309 MB / 460.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.045, allocations: 73.39 kB / 460.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/1.05, allocations: 1.685 MB / 462.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004127/1.05, allocations: 29.7 kB / 462.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.052, allocations: 1.461 MB / 463.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009135/1.053, allocations: 0.585 MB / 464.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/1.053, allocations: 0 / 464.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/1.053, allocations: 389.8 kB / 464.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/1.057, allocations: 1.046 MB / 465.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003636/1.06, allocations: 1.44 MB / 467.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/1.064, allocations: 1.259 MB / 468.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.064, allocations: 0 / 468.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01174/1.076, allocations: 3.289 MB / 471.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/1.076, allocations: 11.98 kB / 471.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.076, allocations: 12 kB / 471.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004678/1.081, allocations: 0.7904 MB / 472.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005143/1.086, allocations: 455.3 kB / 472.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/1.109, allocations: 10.38 MB / 483.3 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/1.113, allocations: 95.8 kB / 483.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/1.113, allocations: 75.98 kB / 483.4 MB, free: 7.309 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007431/1.114, allocations: 154 kB / 483.6 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01243/1.127, allocations: 2.922 MB / 486.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.128, allocations: 233.3 kB / 486.7 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.141, allocations: 3.093 MB / 489.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/1.141, allocations: 20 kB / 489.9 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/1.141, allocations: 8 kB / 489.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/1.141, allocations: 11.95 kB / 489.9 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/1.169, allocations: 6.348 MB / 496.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.169, allocations: 0 / 496.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004184/1.173, allocations: 311.8 kB / 496.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006468/1.18, allocations: 0.9083 MB / 497.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.18, allocations: 19.97 kB / 497.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2612/1.441, allocations: 12.93 MB / 0.4984 GB, free: 77.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.441, allocations: 1.344 kB / 0.4984 GB, free: 77.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.453, allocations: 4.773 MB / 0.5031 GB, free: 77.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.455, allocations: 0.5456 MB / 0.5036 GB, free: 77.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/1.456, allocations: 15.11 kB / 0.5036 GB, free: 77.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.458, allocations: 101 kB / 0.5037 GB, free: 77.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/1.459, allocations: 150.2 kB / 0.5039 GB, free: 77.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.459, allocations: 55.75 kB / 0.5039 GB, free: 77.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002523/1.462, allocations: 1.269 MB / 0.5052 GB, free: 76.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.462, allocations: 1.938 kB / 0.5052 GB, free: 76.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003874/1.465, allocations: 0.6451 MB / 0.5058 GB, free: 76.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/1.477, allocations: 6.028 MB / 0.5117 GB, free: 75.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006613/1.484, allocations: 3.391 MB / 0.515 GB, free: 74.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.484, allocations: 3.969 kB / 0.515 GB, free: 74.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004816/1.489, allocations: 2.385 MB / 0.5173 GB, free: 73.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/1.493, allocations: 0.5156 MB / 0.5178 GB, free: 73.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.509, allocations: 6.326 MB / 0.524 GB, free: 72.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/1.512, allocations: 2.574 MB / 0.5265 GB, free: 71.81 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002816/1.515, allocations: 0.5431 MB / 0.5271 GB, free: 71.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/1.517, allocations: 1.222 MB / 0.5282 GB, free: 71.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/1.517, allocations: 0 / 0.5282 GB, free: 71.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.659, allocations: 56.89 MB / 0.5838 GB, free: 32.19 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/1.659, allocations: 179.7 kB / 0.584 GB, free: 31.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.396/6.055, allocations: 4 kB / 0.584 GB, free: 31.98 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat