Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.981e-05, allocations: 0 / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5437, allocations: 103.7 MB / 420.7 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.544, allocations: 86.14 kB / 420.8 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2085/0.7526, allocations: 44.53 MB / 465.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7526, allocations: 0 / 465.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002236/0.7529, allocations: 59.94 kB / 465.3 MB, free: 10.64 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007942/0.7608, allocations: 2.182 MB / 467.5 MB, free: 8.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7609, allocations: 11.97 kB / 467.5 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009668/0.7619, allocations: 299 kB / 467.8 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.7632, allocations: 288.9 kB / 468.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/0.7681, allocations: 1.542 MB / 469.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.7684, allocations: 152 kB / 469.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.7689, allocations: 207.9 kB / 470 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006984/0.7759, allocations: 2.621 MB / 472.6 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-05/0.7761, allocations: 4 kB / 472.6 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.7764, allocations: 84 kB / 472.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.7766, allocations: 87.94 kB / 472.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006284/0.7829, allocations: 2.112 MB / 474.9 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/0.8045, allocations: 8.438 MB / 483.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.8081, allocations: 1.752 MB / 485.1 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002668/0.8108, allocations: 0.9644 MB / 486.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.8113, allocations: 138.8 kB / 486.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.8113, allocations: 39.56 kB / 486.2 MB, free: 5.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 3.917e-06/0.8113, allocations: 3.938 kB / 486.2 MB, free: 5.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.01916/0.8305, allocations: 5.245 MB / 491.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.8306, allocations: 68.39 kB / 491.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.8337, allocations: 1.301 MB / 492.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.834, allocations: 45.7 kB / 492.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.835, allocations: 0.9835 MB / 493.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.8356, allocations: 429.8 kB / 494.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.8358, allocations: 28 kB / 494.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.836, allocations: 357.9 kB / 494.7 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.8378, allocations: 0.6989 MB / 495.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.8398, allocations: 0.9877 MB / 496.4 MB, free: 10.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.8419, allocations: 0.8442 MB / 497.2 MB, free: 10.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.8419, allocations: 4 kB / 497.2 MB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006199/0.8482, allocations: 2.24 MB / 499.5 MB, free: 7.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.8482, allocations: 11.95 kB / 499.5 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.8483, allocations: 8 kB / 499.5 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.8499, allocations: 419.3 kB / 499.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.8525, allocations: 339.5 kB / 0.4885 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.8601, allocations: 4.633 MB / 0.493 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.8623, allocations: 91.97 kB / 0.4931 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.8625, allocations: 55.98 kB / 0.4932 GB, free: 1.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004165/0.8629, allocations: 184.6 kB / 0.4933 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.8634, allocations: 162 kB / 0.4935 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/0.8691, allocations: 2.102 MB / 0.4955 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.8692, allocations: 12 kB / 0.4956 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8692, allocations: 0 / 0.4956 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.8692, allocations: 11.94 kB / 0.4956 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.8818, allocations: 4.524 MB / 0.5 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.8819, allocations: 0 / 0.5 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.8839, allocations: 236 kB / 0.5002 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.8861, allocations: 474.9 kB / 0.5007 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.8864, allocations: 31.98 kB / 0.5007 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009396/0.8958, allocations: 6.168 MB / 0.5067 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.8958, allocations: 7.984 kB / 0.5067 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007965/0.9038, allocations: 3.289 MB / 0.5099 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2838/1.188, allocations: 403.4 kB / 0.5103 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008612/1.189, allocations: 32.09 kB / 0.5103 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.191, allocations: 78.05 kB / 0.5104 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007198/1.192, allocations: 116.5 kB / 0.5105 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.192, allocations: 36.5 kB / 0.5106 GB, free: 116.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003877/1.196, allocations: 1.002 MB / 0.5115 GB, free: 116.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.196, allocations: 0.625 kB / 0.5115 GB, free: 116.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004401/1.201, allocations: 488.9 kB / 0.512 GB, free: 116.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008832/1.21, allocations: 4.772 MB / 0.5167 GB, free: 114.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005207/1.215, allocations: 2.162 MB / 0.5188 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.215, allocations: 0 / 0.5188 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.219, allocations: 1.445 MB / 0.5202 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/1.222, allocations: 411.2 kB / 0.5206 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.235, allocations: 4.293 MB / 0.5248 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.237, allocations: 1.869 MB / 0.5266 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002085/1.239, allocations: 397.4 kB / 0.527 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.24, allocations: 0.7865 MB / 0.5278 GB, free: 111.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.24, allocations: 3.938 kB / 0.5278 GB, free: 111.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.386, allocations: 42.9 MB / 0.5697 GB, free: 99.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.386, allocations: 198.4 kB / 0.5698 GB, free: 99.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.868/5.254, allocations: 0 / 0.5698 GB, free: 99.16 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat