Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.359e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3327, allocations: 44.5 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2188/0.5515, allocations: 116.4 MB / 410.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.552, allocations: 79.95 kB / 410.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6753/1.227, allocations: 116.1 MB / 0.5145 GB, free: 24.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.227, allocations: 0 / 0.5145 GB, free: 24.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005668/1.228, allocations: 139.8 kB / 0.5146 GB, free: 24.04 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.02033/1.248, allocations: 4.91 MB / 0.5194 GB, free: 19.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.248, allocations: 8.031 kB / 0.5194 GB, free: 19.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/1.256, allocations: 0.9963 MB / 0.5204 GB, free: 18.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.273, allocations: 4.594 MB / 0.5249 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000406/1.273, allocations: 168 kB / 0.525 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/1.276, allocations: 307.8 kB / 0.5253 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01747/1.294, allocations: 5.136 MB / 0.5303 GB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/1.314, allocations: 5.979 MB / 0.5362 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000284/1.314, allocations: 11.89 kB / 0.5362 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/1.316, allocations: 11.98 kB / 0.5362 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/1.316, allocations: 230.2 kB / 0.5364 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3445/1.661, allocations: 20.45 MB / 0.5564 GB, free: 46.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/1.674, allocations: 8.556 MB / 0.5647 GB, free: 40.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005565/1.679, allocations: 2.115 MB / 0.5668 GB, free: 40.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/1.697, allocations: 5.986 MB / 0.5726 GB, free: 39.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/1.697, allocations: 57.52 kB / 0.5727 GB, free: 39.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=220): time 4.879e-06/1.697, allocations: 3.375 kB / 0.5727 GB, free: 39.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=239): time 0.02438/1.722, allocations: 8.199 MB / 0.5807 GB, free: 38.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.722, allocations: 77.86 kB / 0.5808 GB, free: 38.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005003/1.727, allocations: 2.112 MB / 0.5828 GB, free: 38.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005395/1.727, allocations: 29.55 kB / 0.5829 GB, free: 38.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.729, allocations: 2.319 MB / 0.5851 GB, free: 37.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.73, allocations: 0.7815 MB / 0.5859 GB, free: 36.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/1.731, allocations: 0 / 0.5859 GB, free: 36.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/1.731, allocations: 418.6 kB / 0.5863 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/1.734, allocations: 1.241 MB / 0.5875 GB, free: 36.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/1.738, allocations: 1.971 MB / 0.5894 GB, free: 35.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/1.742, allocations: 1.726 MB / 0.5911 GB, free: 35.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/1.743, allocations: 6.781 kB / 0.5911 GB, free: 35.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.0123/1.755, allocations: 4.334 MB / 0.5954 GB, free: 35.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/1.755, allocations: 17.72 kB / 0.5954 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/1.755, allocations: 24.59 kB / 0.5954 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.758, allocations: 0.746 MB / 0.5961 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.763, allocations: 0.6452 MB / 0.5968 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/1.778, allocations: 12.8 MB / 0.6093 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/1.782, allocations: 97 kB / 0.6093 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007948/1.783, allocations: 121.9 kB / 0.6095 GB, free: 26.5 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.0008005/1.784, allocations: 184.8 kB / 0.6096 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01036/1.794, allocations: 3.764 MB / 0.6133 GB, free: 25.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.796, allocations: 295.2 kB / 0.6136 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.807, allocations: 4.019 MB / 0.6175 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/1.807, allocations: 21.44 kB / 0.6175 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.543e-05/1.807, allocations: 10.94 kB / 0.6176 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.406e-05/1.808, allocations: 16.48 kB / 0.6176 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02288/1.83, allocations: 8.278 MB / 0.6257 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.831, allocations: 2.312 kB / 0.6257 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/1.834, allocations: 381.1 kB / 0.626 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004062/1.838, allocations: 0.9106 MB / 0.6269 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/1.839, allocations: 35.33 kB / 0.6269 GB, free: 20.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/1.858, allocations: 15.84 MB / 0.6424 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.858, allocations: 3.312 kB / 0.6424 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.872, allocations: 6.161 MB / 0.6484 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.875, allocations: 0.6566 MB / 0.6491 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009703/1.876, allocations: 25.2 kB / 0.6491 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.879, allocations: 101.1 kB / 0.6492 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007201/1.879, allocations: 198.6 kB / 0.6494 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.88, allocations: 73.08 kB / 0.6494 GB, free: 4.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003587/1.883, allocations: 1.57 MB / 0.651 GB, free: 3.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.883, allocations: 3.172 kB / 0.651 GB, free: 3.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005355/1.889, allocations: 0.8996 MB / 0.6519 GB, free: 3.457 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.01617/1.905, allocations: 7.963 MB / 0.6596 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.916, allocations: 4.26 MB / 0.6638 GB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.916, allocations: 6.344 kB / 0.6638 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007737/1.924, allocations: 2.863 MB / 0.6666 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006481/1.93, allocations: 0.6306 MB / 0.6672 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.963, allocations: 9.439 MB / 0.6764 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006714/1.97, allocations: 3.524 MB / 0.6799 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004524/1.975, allocations: 0.7213 MB / 0.6806 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004927/1.98, allocations: 1.938 MB / 0.6825 GB, free: 9.461 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/1.98, allocations: 0 / 0.6825 GB, free: 9.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5746/2.554, allocations: 74.35 MB / 0.7551 GB, free: 87.44 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/2.555, allocations: 157.1 kB / 0.7552 GB, free: 87.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.103/7.658, allocations: 0 / 0.7552 GB, free: 87.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat