Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.503e-05, allocations: 7.984 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.0921, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.532, allocations: 105.8 MB / 405.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.5324, allocations: 83.58 kB / 405.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2663/0.7987, allocations: 65.37 MB / 471.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.7988, allocations: 0 / 471.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00042/0.7992, allocations: 79.94 kB / 471.3 MB, free: 13.07 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01375/0.813, allocations: 3.261 MB / 474.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.8131, allocations: 11.97 kB / 474.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002184/0.8153, allocations: 442.4 kB / 475 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.8183, allocations: 439.2 kB / 475.4 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008862/0.8272, allocations: 2.375 MB / 477.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.8276, allocations: 230.1 kB / 478 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.8291, allocations: 311.9 kB / 478.3 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.8435, allocations: 4.245 MB / 482.5 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.8437, allocations: 11.89 kB / 482.6 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006675/0.8444, allocations: 136 kB / 482.7 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/0.8446, allocations: 130 kB / 482.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.8565, allocations: 3.483 MB / 486.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/0.8955, allocations: 13.59 MB / 499.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.9017, allocations: 2.908 MB / 0.491 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004347/0.9061, allocations: 1.588 MB / 0.4926 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.9067, allocations: 147 kB / 0.4927 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.9068, allocations: 52.56 kB / 0.4928 GB, free: 10.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 4.429e-06/0.9068, allocations: 0 / 0.4928 GB, free: 10.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.02577/0.9326, allocations: 7.305 MB / 0.4999 GB, free: 3.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.9327, allocations: 77.36 kB / 0.5 GB, free: 3.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/0.9378, allocations: 2.04 MB / 0.502 GB, free: 1.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004891/0.9383, allocations: 61.7 kB / 0.502 GB, free: 1.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.9402, allocations: 1.458 MB / 0.5034 GB, free: 15.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.9412, allocations: 0.6161 MB / 0.504 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.9415, allocations: 40 kB / 0.5041 GB, free: 15.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.9417, allocations: 381.9 kB / 0.5044 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/0.9446, allocations: 1.078 MB / 0.5055 GB, free: 13.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/0.9478, allocations: 1.491 MB / 0.507 GB, free: 12.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/0.951, allocations: 1.29 MB / 0.5082 GB, free: 10.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.951, allocations: 4 kB / 0.5082 GB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009772/0.9608, allocations: 3.491 MB / 0.5116 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.9609, allocations: 8 kB / 0.5116 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.9609, allocations: 16.33 kB / 0.5116 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003451/0.9644, allocations: 0.8136 MB / 0.5124 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.9682, allocations: 463.3 kB / 0.5129 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.277/1.245, allocations: 10.82 MB / 0.5234 GB, free: 91.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/1.249, allocations: 133.8 kB / 0.5236 GB, free: 91.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004774/1.249, allocations: 71.09 kB / 0.5236 GB, free: 91.9 MB / 410.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.0005856/1.25, allocations: 223 kB / 0.5239 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008491/1.251, allocations: 245.3 kB / 0.5241 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009536/1.26, allocations: 3.276 MB / 0.5273 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/1.26, allocations: 22.36 kB / 0.5273 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/1.26, allocations: 6.656 kB / 0.5273 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/1.26, allocations: 13.25 kB / 0.5273 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/1.282, allocations: 6.948 MB / 0.5341 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/1.282, allocations: 1.5 kB / 0.5341 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.285, allocations: 315 kB / 0.5344 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004068/1.289, allocations: 0.921 MB / 0.5353 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004542/1.29, allocations: 43.8 kB / 0.5354 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/1.306, allocations: 13.47 MB / 0.5485 GB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.306, allocations: 3.875 kB / 0.5485 GB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.318, allocations: 4.98 MB / 0.5534 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/1.32, allocations: 0.582 MB / 0.5539 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000842/1.321, allocations: 41.17 kB / 0.554 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/1.324, allocations: 128.4 kB / 0.5541 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007018/1.325, allocations: 169.1 kB / 0.5543 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/1.325, allocations: 49.08 kB / 0.5543 GB, free: 81.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003645/1.329, allocations: 1.574 MB / 0.5559 GB, free: 81.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.329, allocations: 0 / 0.5559 GB, free: 81.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00383/1.333, allocations: 0.7387 MB / 0.5566 GB, free: 81.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (149): * Single equations (assignments): 141 * 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.01218/1.345, allocations: 6.386 MB / 0.5628 GB, free: 78.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00776/1.353, allocations: 3.52 MB / 0.5662 GB, free: 77.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.353, allocations: 3.719 kB / 0.5663 GB, free: 77.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005475/1.358, allocations: 2.5 MB / 0.5687 GB, free: 75.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/1.364, allocations: 0.6593 MB / 0.5693 GB, free: 75.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.383, allocations: 6.567 MB / 0.5758 GB, free: 73.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00406/1.387, allocations: 2.582 MB / 0.5783 GB, free: 72.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003308/1.39, allocations: 0.5746 MB / 0.5788 GB, free: 71.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002933/1.393, allocations: 1.245 MB / 0.58 GB, free: 70.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/1.393, allocations: 0 / 0.58 GB, free: 70.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2242/1.617, allocations: 67.98 MB / 0.6464 GB, free: 23.82 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.618, allocations: 213.2 kB / 0.6466 GB, free: 23.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.1/6.718, allocations: 3.906 kB / 0.6466 GB, free: 23.59 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat