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.982/1.982, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.456e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5389, allocations: 99.32 MB / 399.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5392, allocations: 82.67 kB / 399.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2019/0.7411, allocations: 44.52 MB / 443.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7412, allocations: 0 / 443.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002586/0.7415, allocations: 59.22 kB / 444 MB, free: 5.98 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.008105/0.7496, allocations: 2.185 MB / 446.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.7497, allocations: 8.031 kB / 446.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009956/0.7507, allocations: 293.1 kB / 446.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.752, allocations: 296.8 kB / 446.7 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/0.7572, allocations: 1.54 MB / 448.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.7575, allocations: 147.3 kB / 448.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.7581, allocations: 212.3 kB / 448.6 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007669/0.7658, allocations: 2.651 MB / 451.3 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.766, allocations: 7.984 kB / 451.3 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.7663, allocations: 89.44 kB / 451.4 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/0.7665, allocations: 90.3 kB / 451.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00705/0.7736, allocations: 2.13 MB / 453.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/0.7973, allocations: 8.447 MB / 462 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003646/0.801, allocations: 1.763 MB / 463.8 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.8038, allocations: 0.9683 MB / 464.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.8043, allocations: 130.6 kB / 464.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.8044, allocations: 43.5 kB / 464.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.827e-06/0.8044, allocations: 0 / 464.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02007/0.8245, allocations: 5.252 MB / 470.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.8246, allocations: 64.41 kB / 470.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.8277, allocations: 1.301 MB / 471.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003507/0.8281, allocations: 45.7 kB / 471.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.8292, allocations: 0.9796 MB / 472.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006383/0.8299, allocations: 425.6 kB / 473 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.83, allocations: 35.94 kB / 473 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.8302, allocations: 357.9 kB / 473.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.8326, allocations: 0.695 MB / 474.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.8348, allocations: 1.003 MB / 475.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.8369, allocations: 0.8442 MB / 475.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.8369, allocations: 4 kB / 475.9 MB, free: 7.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006269/0.8432, allocations: 2.263 MB / 478.2 MB, free: 4.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.8433, allocations: 12.06 kB / 478.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.8433, allocations: 8 kB / 478.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.845, allocations: 411.1 kB / 478.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.8476, allocations: 343.5 kB / 478.9 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.8551, allocations: 4.633 MB / 483.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.8572, allocations: 99.88 kB / 483.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.8574, allocations: 59.98 kB / 483.7 MB, free: 14.98 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.000447/0.8579, allocations: 184.5 kB / 483.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/0.8584, allocations: 162 kB / 484.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006213/0.8646, allocations: 2.098 MB / 486.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.8647, allocations: 12 kB / 486.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.8647, allocations: 4 kB / 486.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/0.8647, allocations: 7.969 kB / 486.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.8782, allocations: 4.523 MB / 490.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.8782, allocations: 0 / 490.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.8803, allocations: 244 kB / 490.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.8826, allocations: 466.8 kB / 491.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.8828, allocations: 31.98 kB / 491.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009524/0.8923, allocations: 6.18 MB / 497.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.8924, allocations: 4 kB / 497.6 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008141/0.9005, allocations: 3.289 MB / 0.4892 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.902, allocations: 403 kB / 0.4895 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.9023, allocations: 28 kB / 0.4896 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.9039, allocations: 87.91 kB / 0.4897 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.9043, allocations: 104.8 kB / 0.4898 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.9045, allocations: 39.98 kB / 0.4898 GB, free: 12.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002386/0.9069, allocations: 1.003 MB / 0.4908 GB, free: 11.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.9069, allocations: 0 / 0.4908 GB, free: 11.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002433/0.9093, allocations: 488.1 kB / 0.4912 GB, free: 10.98 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.009387/0.9188, allocations: 4.773 MB / 0.4959 GB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005529/0.9243, allocations: 2.211 MB / 0.4981 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9244, allocations: 0 / 0.4981 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003796/0.9282, allocations: 1.477 MB / 0.4995 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.9318, allocations: 410 kB / 0.4999 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.9452, allocations: 4.296 MB / 0.5041 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/0.9478, allocations: 1.865 MB / 0.5059 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003097/0.9509, allocations: 397.5 kB / 0.5063 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/0.9531, allocations: 0.7922 MB / 0.5071 GB, free: 10.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9531, allocations: 0 / 0.5071 GB, free: 10.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4393/1.392, allocations: 43.09 MB / 0.5492 GB, free: 109.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/1.393, allocations: 207.7 kB / 0.5493 GB, free: 109.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/5.266, allocations: 0 / 0.5493 GB, free: 109.4 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