Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.772e-05, allocations: 0 / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 50.4 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.555/0.678, allocations: 130.6 MB / 473.3 MB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.6784, allocations: 94.91 kB / 473.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8909/1.569, allocations: 150.9 MB / 0.6097 GB, free: 82.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.569, allocations: 0 / 0.6097 GB, free: 82.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007363/1.57, allocations: 183 kB / 0.6098 GB, free: 82.35 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02647/1.597, allocations: 6.592 MB / 0.6163 GB, free: 75.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.597, allocations: 8.031 kB / 0.6163 GB, free: 75.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003635/1.6, allocations: 0.9196 MB / 0.6172 GB, free: 74.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009066/1.61, allocations: 1.242 MB / 0.6184 GB, free: 73.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/1.631, allocations: 6.24 MB / 0.6245 GB, free: 67.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/1.632, allocations: 0.4977 MB / 0.625 GB, free: 66.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/1.634, allocations: 0.6678 MB / 0.6256 GB, free: 66.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/1.663, allocations: 9.085 MB / 0.6345 GB, free: 56.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/1.663, allocations: 11.84 kB / 0.6345 GB, free: 56.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/1.665, allocations: 292 kB / 0.6348 GB, free: 56.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/1.665, allocations: 293.4 kB / 0.6351 GB, free: 56.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/1.688, allocations: 7.344 MB / 0.6422 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08979/1.778, allocations: 29.46 MB / 0.671 GB, free: 18.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/1.794, allocations: 11.71 MB / 0.6825 GB, free: 5.828 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008249/1.803, allocations: 3.281 MB / 0.6857 GB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6431/2.446, allocations: 6.81 MB / 0.6923 GB, free: 75.15 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/2.446, allocations: 71 kB / 0.6924 GB, free: 75.11 MB / 442.8 MB Notification: Performance of pre-optimization done (n=306): time 6.773e-06/2.446, allocations: 1.406 kB / 0.6924 GB, free: 75.11 MB / 442.8 MB Notification: Performance of matching and sorting (n=325): time 0.04308/2.489, allocations: 11.91 MB / 0.704 GB, free: 73.49 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/2.489, allocations: 84.97 kB / 0.7041 GB, free: 73.43 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/2.499, allocations: 3.46 MB / 0.7075 GB, free: 73.11 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008057/2.5, allocations: 83.55 kB / 0.7075 GB, free: 73.08 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003127/2.503, allocations: 3.084 MB / 0.7106 GB, free: 72.01 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/2.505, allocations: 1.089 MB / 0.7116 GB, free: 71.32 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/2.505, allocations: 78.72 kB / 0.7117 GB, free: 71.32 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002726/2.506, allocations: 456.1 kB / 0.7121 GB, free: 71 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/2.51, allocations: 1.789 MB / 0.7139 GB, free: 71 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005378/2.516, allocations: 2.67 MB / 0.7165 GB, free: 70.02 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/2.521, allocations: 2.222 MB / 0.7187 GB, free: 69.96 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.375e-05/2.522, allocations: 7.938 kB / 0.7187 GB, free: 69.96 MB / 442.8 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01625/2.538, allocations: 6.138 MB / 0.7247 GB, free: 69.29 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/2.538, allocations: 20.91 kB / 0.7247 GB, free: 69.29 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/2.538, allocations: 26.53 kB / 0.7247 GB, free: 69.29 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004745/2.543, allocations: 1.256 MB / 0.7259 GB, free: 69.18 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006537/2.549, allocations: 0.8159 MB / 0.7267 GB, free: 69.18 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/2.573, allocations: 20.68 MB / 0.7469 GB, free: 54.21 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/2.579, allocations: 204.6 kB / 0.7471 GB, free: 54.14 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009513/2.58, allocations: 153.5 kB / 0.7473 GB, free: 54.11 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (416): * Single equations (assignments): 402 * 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%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.00103/2.581, allocations: 326.7 kB / 0.7476 GB, free: 53.89 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/2.582, allocations: 450.2 kB / 0.748 GB, free: 53.66 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/2.598, allocations: 5.964 MB / 0.7538 GB, free: 51.01 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/2.599, allocations: 30.34 kB / 0.7539 GB, free: 51.01 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-05/2.599, allocations: 14.84 kB / 0.7539 GB, free: 51.01 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.455e-05/2.599, allocations: 16.73 kB / 0.7539 GB, free: 51.01 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/2.632, allocations: 12.24 MB / 0.7658 GB, free: 45.86 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/2.632, allocations: 0 / 0.7658 GB, free: 45.86 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004358/2.637, allocations: 471.9 kB / 0.7663 GB, free: 45.84 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006603/2.643, allocations: 1.607 MB / 0.7679 GB, free: 45.31 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007485/2.644, allocations: 76.94 kB / 0.7679 GB, free: 45.26 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03504/2.679, allocations: 30.12 MB / 0.7973 GB, free: 20.09 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/2.679, allocations: 8.859 kB / 0.7973 GB, free: 20.09 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/2.7, allocations: 8.857 MB / 0.806 GB, free: 12.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/2.703, allocations: 0.9167 MB / 0.8069 GB, free: 11.86 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/2.705, allocations: 66.95 kB / 0.807 GB, free: 11.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/2.71, allocations: 202.8 kB / 0.8071 GB, free: 11.65 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/2.711, allocations: 280.6 kB / 0.8074 GB, free: 11.48 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003898/2.712, allocations: 94.19 kB / 0.8075 GB, free: 11.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006412/2.718, allocations: 2.632 MB / 0.8101 GB, free: 9.035 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.62e-07/2.718, allocations: 0 / 0.8101 GB, free: 9.035 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007826/2.726, allocations: 1.38 MB / 0.8114 GB, free: 7.664 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,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 (232): * Single equations (assignments): 215 * 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,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03231/2.758, allocations: 11.17 MB / 0.8223 GB, free: 15.53 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01549/2.774, allocations: 6.023 MB / 0.8282 GB, free: 9.824 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/2.774, allocations: 4 kB / 0.8282 GB, free: 9.82 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01157/2.786, allocations: 4.569 MB / 0.8327 GB, free: 5.48 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/2.797, allocations: 1.252 MB / 0.8339 GB, free: 4.512 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04314/2.84, allocations: 12.91 MB / 0.8465 GB, free: 9.285 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009723/2.85, allocations: 4.609 MB / 0.851 GB, free: 5.852 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00677/2.856, allocations: 1.036 MB / 0.852 GB, free: 5.141 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006631/2.863, allocations: 2.677 MB / 0.8546 GB, free: 2.652 MB / 474.8 MB Notification: Performance of SimCode: time 1.543e-06/2.863, allocations: 4 kB / 0.8546 GB, free: 2.648 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6386/3.502, allocations: 122.9 MB / 0.9746 GB, free: 40 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/3.502, allocations: 204.5 kB / 0.9748 GB, free: 39.79 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/10.82, allocations: 0 / 0.9748 GB, free: 39.79 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat