Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.215e-05, allocations: 0 / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09323, allocations: 44.52 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5397, allocations: 105.8 MB / 405.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.5401, allocations: 90.94 kB / 405.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2809/0.8209, allocations: 65.36 MB / 471.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.821, allocations: 0 / 471.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004689/0.8215, allocations: 83.94 kB / 471.2 MB, free: 13.52 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.01367/0.8352, allocations: 3.253 MB / 474.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.8352, allocations: 15.97 kB / 474.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002139/0.8374, allocations: 438.4 kB / 474.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.8404, allocations: 443.2 kB / 475.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00937/0.8498, allocations: 2.371 MB / 477.7 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.8503, allocations: 238.1 kB / 478 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.8519, allocations: 307.9 kB / 478.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.8678, allocations: 4.252 MB / 482.5 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002109/0.8681, allocations: 7.953 kB / 482.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.8694, allocations: 128 kB / 482.7 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.8696, allocations: 122 kB / 482.8 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.8824, allocations: 3.487 MB / 486.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/0.9262, allocations: 13.59 MB / 499.9 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006934/0.9332, allocations: 2.9 MB / 0.491 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005021/0.9382, allocations: 1.588 MB / 0.4925 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/0.9389, allocations: 147 kB / 0.4927 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/0.939, allocations: 52.55 kB / 0.4927 GB, free: 11.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 4.648e-06/0.939, allocations: 0 / 0.4927 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.03293/0.972, allocations: 7.313 MB / 0.4999 GB, free: 3.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.9721, allocations: 73.36 kB / 0.4999 GB, free: 3.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/0.9786, allocations: 2.04 MB / 0.5019 GB, free: 1.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005248/0.9792, allocations: 53.7 kB / 0.502 GB, free: 1.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001817/0.981, allocations: 1.358 MB / 0.5033 GB, free: 400 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.9823, allocations: 0.6045 MB / 0.5039 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.9826, allocations: 40 kB / 0.5039 GB, free: 15.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.9829, allocations: 390.8 kB / 0.5043 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/0.9863, allocations: 1.082 MB / 0.5054 GB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.9904, allocations: 1.487 MB / 0.5068 GB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/0.9944, allocations: 1.29 MB / 0.5081 GB, free: 11.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.9944, allocations: 4 kB / 0.5081 GB, free: 11.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01111/1.006, allocations: 3.337 MB / 0.5113 GB, free: 7.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.006, allocations: 12 kB / 0.5113 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/1.006, allocations: 8 kB / 0.5113 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/1.009, allocations: 0.8257 MB / 0.5122 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/1.013, allocations: 455.3 kB / 0.5126 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.352/1.366, allocations: 10.82 MB / 0.5232 GB, free: 92.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/1.369, allocations: 128.5 kB / 0.5233 GB, free: 92.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006617/1.37, allocations: 77.09 kB / 0.5233 GB, free: 92.8 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.000756/1.371, allocations: 220.6 kB / 0.5236 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009665/1.372, allocations: 250.5 kB / 0.5238 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.382, allocations: 3.281 MB / 0.527 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/1.382, allocations: 16.69 kB / 0.527 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-05/1.382, allocations: 7.156 kB / 0.527 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.007e-05/1.383, allocations: 8.766 kB / 0.527 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.406, allocations: 6.955 MB / 0.5338 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/1.406, allocations: 1.375 kB / 0.5338 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.409, allocations: 313.6 kB / 0.5341 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/1.413, allocations: 0.9177 MB / 0.535 GB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004991/1.414, allocations: 49.41 kB / 0.5351 GB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/1.432, allocations: 13.47 MB / 0.5482 GB, free: 83.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.432, allocations: 3.375 kB / 0.5482 GB, free: 83.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.445, allocations: 4.984 MB / 0.5531 GB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.447, allocations: 0.5769 MB / 0.5537 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.448, allocations: 40.66 kB / 0.5537 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.451, allocations: 128.9 kB / 0.5538 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000909/1.452, allocations: 170.8 kB / 0.554 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/1.453, allocations: 49.86 kB / 0.554 GB, free: 82.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004273/1.457, allocations: 1.572 MB / 0.5556 GB, free: 82.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.457, allocations: 0 / 0.5556 GB, free: 82.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004434/1.461, allocations: 0.7419 MB / 0.5563 GB, free: 82.12 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.01377/1.475, allocations: 6.383 MB / 0.5625 GB, free: 79.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008515/1.484, allocations: 3.525 MB / 0.566 GB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.484, allocations: 3.625 kB / 0.566 GB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005892/1.49, allocations: 2.494 MB / 0.5684 GB, free: 76.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005738/1.496, allocations: 0.6703 MB / 0.5691 GB, free: 76.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.517, allocations: 6.527 MB / 0.5754 GB, free: 74.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/1.521, allocations: 2.536 MB / 0.5779 GB, free: 72.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003437/1.525, allocations: 1.252 MB / 0.5791 GB, free: 71.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.502e-06/1.525, allocations: 3.875 kB / 0.5791 GB, free: 71.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.829/6.354, allocations: 176.7 MB / 0.7517 GB, free: 58.71 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat