Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.845e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3408, allocations: 38.77 MB / 258.4 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.7541, allocations: 116.3 MB / 374.7 MB, free: 54.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.7544, allocations: 83.89 kB / 374.7 MB, free: 54.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7328/1.487, allocations: 143.7 MB / 0.5063 GB, free: 29.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.487, allocations: 0 / 0.5063 GB, free: 29.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007272/1.488, allocations: 177.3 kB / 0.5064 GB, free: 29.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02483/1.513, allocations: 6.394 MB / 0.5127 GB, free: 27.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.513, allocations: 15.53 kB / 0.5127 GB, free: 27.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/1.519, allocations: 0.9931 MB / 0.5137 GB, free: 26.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/1.535, allocations: 5.226 MB / 0.5188 GB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/1.536, allocations: 211.4 kB / 0.519 GB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/1.538, allocations: 389.1 kB / 0.5194 GB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01841/1.556, allocations: 6.507 MB / 0.5257 GB, free: 25.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/1.582, allocations: 7.786 MB / 0.5333 GB, free: 24.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/1.582, allocations: 15.58 kB / 0.5333 GB, free: 24.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/1.583, allocations: 6.219 kB / 0.5333 GB, free: 24.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002855/1.584, allocations: 275.1 kB / 0.5336 GB, free: 24.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06231/1.646, allocations: 26.66 MB / 0.5596 GB, free: 18.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008664/1.655, allocations: 5.758 MB / 0.5652 GB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006352/1.661, allocations: 2.901 MB / 0.5681 GB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/1.662, allocations: 156.2 kB / 0.5682 GB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/1.662, allocations: 68.44 kB / 0.5683 GB, free: 13.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=322): time 5.951e-06/1.662, allocations: 3.469 kB / 0.5683 GB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=341): time 0.02702/1.689, allocations: 10.77 MB / 0.5788 GB, free: 8.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.689, allocations: 96.09 kB / 0.5789 GB, free: 8.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005614/1.695, allocations: 2.73 MB / 0.5816 GB, free: 7.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007413/1.695, allocations: 29.7 kB / 0.5816 GB, free: 7.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002106/1.698, allocations: 2.928 MB / 0.5845 GB, free: 4.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.699, allocations: 1.098 MB / 0.5855 GB, free: 3.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/1.699, allocations: 0 / 0.5855 GB, free: 3.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/1.7, allocations: 463.3 kB / 0.586 GB, free: 3.586 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.703, allocations: 1.73 MB / 0.5877 GB, free: 2.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/1.707, allocations: 2.574 MB / 0.5902 GB, free: 1.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/1.712, allocations: 2.15 MB / 0.5923 GB, free: 336 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/1.712, allocations: 11.11 kB / 0.5923 GB, free: 332 kB / 346.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01633/1.728, allocations: 5.882 MB / 0.598 GB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/1.728, allocations: 19.95 kB / 0.5981 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.556e-05/1.728, allocations: 28.59 kB / 0.5981 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004797/1.733, allocations: 1.232 MB / 0.5993 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.739, allocations: 0.8228 MB / 0.6001 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/1.767, allocations: 20.43 MB / 0.62 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.772, allocations: 118.3 kB / 0.6202 GB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/1.772, allocations: 147.6 kB / 0.6203 GB, free: 6.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (417): * Single equations (assignments): 403 * 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: 11 * 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: 11 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009255/1.773, allocations: 193.3 kB / 0.6205 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01398/1.787, allocations: 5.41 MB / 0.6258 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/1.789, allocations: 410.7 kB / 0.6262 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2772/2.066, allocations: 5.906 MB / 0.6319 GB, free: 51.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/2.066, allocations: 33.16 kB / 0.632 GB, free: 51.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-05/2.066, allocations: 21.25 kB / 0.632 GB, free: 51.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-05/2.066, allocations: 14.59 kB / 0.632 GB, free: 51.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/2.096, allocations: 11.8 MB / 0.6435 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/2.096, allocations: 6.062 kB / 0.6435 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003939/2.1, allocations: 484.9 kB / 0.644 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006017/2.106, allocations: 1.558 MB / 0.6455 GB, free: 50.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004333/2.107, allocations: 27.41 kB / 0.6455 GB, free: 50.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03084/2.138, allocations: 28.95 MB / 0.6738 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/2.138, allocations: 5.719 kB / 0.6738 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/2.157, allocations: 8.772 MB / 0.6824 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004563/2.162, allocations: 0.8607 MB / 0.6832 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/2.164, allocations: 20.56 kB / 0.6832 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006026/2.17, allocations: 148.4 kB / 0.6834 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/2.172, allocations: 288.8 kB / 0.6836 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005684/2.172, allocations: 91.22 kB / 0.6837 GB, free: 29.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00704/2.179, allocations: 2.05 MB / 0.6857 GB, free: 29.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.693e-06/2.179, allocations: 0 / 0.6857 GB, free: 29.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01008/2.189, allocations: 1.188 MB / 0.6869 GB, free: 29.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 231 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1,(1,100.0%) 8,(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.02619/2.216, allocations: 10.7 MB / 0.6973 GB, free: 25.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01124/2.227, allocations: 5.928 MB / 0.7031 GB, free: 24.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/2.227, allocations: 0 / 0.7031 GB, free: 24.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008973/2.236, allocations: 4.599 MB / 0.7076 GB, free: 22.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00851/2.244, allocations: 0.9452 MB / 0.7085 GB, free: 22.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04399/2.288, allocations: 12.35 MB / 0.7206 GB, free: 17.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009469/2.298, allocations: 4.516 MB / 0.725 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007058/2.305, allocations: 0.9161 MB / 0.7259 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006934/2.312, allocations: 2.574 MB / 0.7284 GB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.883e-06/2.312, allocations: 0 / 0.7284 GB, free: 13.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5559/2.868, allocations: 104 MB / 0.8299 GB, free: 56.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/2.868, allocations: 164.9 kB / 0.8301 GB, free: 56.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.332/9.2, allocations: 0 / 0.8301 GB, free: 56.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat