Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.955e-05, allocations: 1.25 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09491, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5491, allocations: 99.32 MB / 399.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5494, allocations: 84.17 kB / 399.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.7233, allocations: 44.52 MB / 443.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7234, allocations: 0 / 443.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002586/0.7237, allocations: 59.94 kB / 444 MB, free: 5.664 MB / 330.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.008961/0.7327, allocations: 2.182 MB / 446.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.7327, allocations: 12.03 kB / 446.2 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001371/0.7341, allocations: 296.2 kB / 446.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.7358, allocations: 296.8 kB / 446.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/0.7412, allocations: 1.543 MB / 448.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.7414, allocations: 147.1 kB / 448.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007028/0.7421, allocations: 210.5 kB / 448.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007884/0.75, allocations: 2.643 MB / 451.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.403e-05/0.7502, allocations: 4 kB / 451.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000349/0.7505, allocations: 88.94 kB / 451.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.7507, allocations: 86.12 kB / 451.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.7574, allocations: 2.111 MB / 453.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02347/0.781, allocations: 8.442 MB / 462 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.7847, allocations: 1.761 MB / 463.8 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.7875, allocations: 0.9592 MB / 464.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/0.788, allocations: 141.7 kB / 464.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.788, allocations: 43.56 kB / 464.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.767e-06/0.788, allocations: 0 / 464.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.01967/0.8077, allocations: 5.242 MB / 470.2 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.8078, allocations: 64.41 kB / 470.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.8111, allocations: 1.304 MB / 471.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003469/0.8115, allocations: 45.7 kB / 471.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.8126, allocations: 0.9794 MB / 472.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006205/0.8133, allocations: 424.5 kB / 473 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.8134, allocations: 24 kB / 473 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.8136, allocations: 361.9 kB / 473.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.8155, allocations: 0.6989 MB / 474 MB, free: 9.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.8175, allocations: 0.9915 MB / 475 MB, free: 7.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.8197, allocations: 0.8481 MB / 475.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.8197, allocations: 7.938 kB / 475.9 MB, free: 7.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006387/0.8261, allocations: 2.244 MB / 478.1 MB, free: 4.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.8262, allocations: 8 kB / 478.1 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.8262, allocations: 8 kB / 478.1 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.8279, allocations: 411.4 kB / 478.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.8306, allocations: 343.5 kB / 478.9 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/0.8384, allocations: 4.625 MB / 483.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.8406, allocations: 95.97 kB / 483.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.8409, allocations: 51.98 kB / 483.7 MB, free: 15.05 MB / 378.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.0004255/0.8413, allocations: 188.5 kB / 483.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/0.8418, allocations: 162 kB / 484 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.8478, allocations: 2.094 MB / 486.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/0.8479, allocations: 12 kB / 486.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.8479, allocations: 4 kB / 486.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.8479, allocations: 11.97 kB / 486.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.8613, allocations: 4.522 MB / 490.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8613, allocations: 0 / 490.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.8634, allocations: 247.9 kB / 490.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/0.8657, allocations: 462.8 kB / 491.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/0.8659, allocations: 31.98 kB / 491.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009623/0.8756, allocations: 6.172 MB / 497.5 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.8756, allocations: 4 kB / 497.5 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008506/0.8841, allocations: 3.293 MB / 0.4891 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.8857, allocations: 407 kB / 0.4895 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004858/0.8862, allocations: 28 kB / 0.4895 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.8879, allocations: 79.91 kB / 0.4896 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.8884, allocations: 112.8 kB / 0.4897 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.8885, allocations: 39.98 kB / 0.4897 GB, free: 12.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00255/0.8911, allocations: 0.9995 MB / 0.4907 GB, free: 11.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.8912, allocations: 0 / 0.4907 GB, free: 11.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002762/0.8939, allocations: 488 kB / 0.4912 GB, free: 11.05 MB / 394.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.009478/0.9034, allocations: 4.781 MB / 0.4958 GB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005749/0.9092, allocations: 2.165 MB / 0.498 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.9093, allocations: 1.875 kB / 0.498 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.9132, allocations: 1.437 MB / 0.4994 GB, free: 2.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/0.9167, allocations: 409 kB / 0.4998 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.9298, allocations: 4.3 MB / 0.504 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/0.9323, allocations: 1.865 MB / 0.5058 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002298/0.9346, allocations: 393.5 kB / 0.5061 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/0.9368, allocations: 0.7883 MB / 0.5069 GB, free: 10.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.9368, allocations: 3.938 kB / 0.5069 GB, free: 10.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3898/1.327, allocations: 42.89 MB / 0.5488 GB, free: 109.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.327, allocations: 202.4 kB / 0.549 GB, free: 108.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.064/5.391, allocations: 0 / 0.549 GB, free: 108.9 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat