Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.799e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3699, allocations: 44.49 MB / 294.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.6116, allocations: 116.4 MB / 410.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.6121, allocations: 91.88 kB / 410.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7989/1.411, allocations: 116.1 MB / 0.5145 GB, free: 24.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.411, allocations: 0 / 0.5145 GB, free: 24.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007557/1.412, allocations: 131.9 kB / 0.5147 GB, free: 23.94 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02901/1.441, allocations: 4.922 MB / 0.5195 GB, free: 18.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/1.441, allocations: 12.02 kB / 0.5195 GB, free: 18.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/1.454, allocations: 0.9962 MB / 0.5204 GB, free: 17.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02615/1.48, allocations: 4.583 MB / 0.5249 GB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005867/1.48, allocations: 168 kB / 0.5251 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/1.483, allocations: 311.8 kB / 0.5254 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01986/1.503, allocations: 5.144 MB / 0.5304 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/1.527, allocations: 5.975 MB / 0.5362 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/1.527, allocations: 11.91 kB / 0.5363 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/1.529, allocations: 4 kB / 0.5363 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003433/1.529, allocations: 230.2 kB / 0.5365 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3746/1.904, allocations: 20.45 MB / 0.5564 GB, free: 47.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/1.919, allocations: 8.541 MB / 0.5648 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007046/1.926, allocations: 2.12 MB / 0.5669 GB, free: 41.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02089/1.947, allocations: 5.983 MB / 0.5727 GB, free: 40.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/1.947, allocations: 58.7 kB / 0.5728 GB, free: 40.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=220): time 6.272e-06/1.947, allocations: 0 / 0.5728 GB, free: 40.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=239): time 0.02965/1.976, allocations: 8.203 MB / 0.5808 GB, free: 39.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.977, allocations: 81.05 kB / 0.5808 GB, free: 39.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/1.983, allocations: 2.109 MB / 0.5829 GB, free: 39.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005781/1.984, allocations: 25.7 kB / 0.5829 GB, free: 39.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.986, allocations: 2.318 MB / 0.5852 GB, free: 38.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.987, allocations: 0.7857 MB / 0.586 GB, free: 37.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/1.988, allocations: 0 / 0.586 GB, free: 37.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/1.988, allocations: 421.3 kB / 0.5864 GB, free: 37.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/1.991, allocations: 1.246 MB / 0.5876 GB, free: 37.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/1.996, allocations: 1.966 MB / 0.5895 GB, free: 36.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005593/2.001, allocations: 1.724 MB / 0.5912 GB, free: 36.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-05/2.001, allocations: 9.906 kB / 0.5912 GB, free: 36.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01457/2.016, allocations: 4.332 MB / 0.5954 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/2.016, allocations: 17.31 kB / 0.5954 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/2.016, allocations: 21.91 kB / 0.5955 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/2.02, allocations: 0.7531 MB / 0.5962 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005816/2.025, allocations: 0.6383 MB / 0.5968 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/2.043, allocations: 12.8 MB / 0.6093 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/2.047, allocations: 104.5 kB / 0.6094 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006839/2.048, allocations: 119.6 kB / 0.6095 GB, free: 27.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007921/2.049, allocations: 188.5 kB / 0.6097 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.012/2.061, allocations: 3.768 MB / 0.6134 GB, free: 26.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/2.062, allocations: 294.8 kB / 0.6137 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/2.076, allocations: 4.013 MB / 0.6176 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/2.076, allocations: 25.47 kB / 0.6176 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-05/2.076, allocations: 16.61 kB / 0.6176 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.161e-05/2.076, allocations: 10.27 kB / 0.6176 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/2.103, allocations: 8.275 MB / 0.6257 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/2.103, allocations: 3.531 kB / 0.6257 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003997/2.107, allocations: 381.3 kB / 0.6261 GB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004689/2.112, allocations: 0.9069 MB / 0.627 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000622/2.113, allocations: 33.03 kB / 0.627 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02305/2.136, allocations: 15.84 MB / 0.6425 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/2.136, allocations: 9.094 kB / 0.6425 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/2.152, allocations: 6.152 MB / 0.6485 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/2.155, allocations: 0.662 MB / 0.6491 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/2.156, allocations: 23.5 kB / 0.6492 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/2.16, allocations: 111.8 kB / 0.6493 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000997/2.161, allocations: 197.5 kB / 0.6494 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000299/2.162, allocations: 72.23 kB / 0.6495 GB, free: 5.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003903/2.165, allocations: 1.574 MB / 0.6511 GB, free: 4.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.453e-06/2.165, allocations: 0 / 0.6511 GB, free: 4.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006282/2.172, allocations: 0.8981 MB / 0.6519 GB, free: 4.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.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 (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02592/2.198, allocations: 8.41 MB / 0.6601 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01624/2.214, allocations: 4.258 MB / 0.6643 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.214, allocations: 0 / 0.6643 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01246/2.227, allocations: 2.868 MB / 0.6671 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/2.237, allocations: 0.6309 MB / 0.6677 GB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/2.287, allocations: 9.382 MB / 0.6769 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0132/2.301, allocations: 3.547 MB / 0.6803 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007708/2.308, allocations: 0.7272 MB / 0.6811 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00792/2.316, allocations: 1.935 MB / 0.6829 GB, free: 11.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.364e-06/2.316, allocations: 0 / 0.6829 GB, free: 11.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.555/2.872, allocations: 74.23 MB / 0.7554 GB, free: 69.53 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003416/2.872, allocations: 163.5 kB / 0.7556 GB, free: 69.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.377/9.249, allocations: 0 / 0.7556 GB, free: 69.34 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat