Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.08e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.4484, allocations: 98.68 MB / 357 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4487, allocations: 83.95 kB / 357.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/1.507, allocations: 173.4 MB / 0.518 GB, free: 45.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.507, allocations: 0 / 0.518 GB, free: 45.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008312/1.508, allocations: 202.7 kB / 0.5182 GB, free: 45.22 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: 2059 * Number of variables: 2059 Notification: Performance of Generate backend data structure: time 0.0326/1.541, allocations: 7.498 MB / 0.5256 GB, free: 42.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.541, allocations: 11.84 kB / 0.5256 GB, free: 42.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008819/1.55, allocations: 1.296 MB / 0.5268 GB, free: 42.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/1.568, allocations: 5.81 MB / 0.5325 GB, free: 41.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005168/1.569, allocations: 256.2 kB / 0.5328 GB, free: 41.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/1.572, allocations: 472.5 kB / 0.5332 GB, free: 41.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02282/1.595, allocations: 7.744 MB / 0.5408 GB, free: 41.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03043/1.625, allocations: 9.165 MB / 0.5497 GB, free: 40.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003731/1.625, allocations: 18.42 kB / 0.5497 GB, free: 40.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.628, allocations: 7.75 kB / 0.5497 GB, free: 40.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/1.628, allocations: 343 kB / 0.5501 GB, free: 40.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/1.705, allocations: 31.21 MB / 0.5805 GB, free: 28.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/1.716, allocations: 7.905 MB / 0.5883 GB, free: 22.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007454/1.724, allocations: 3.378 MB / 0.5916 GB, free: 21.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/1.724, allocations: 44.36 kB / 0.5916 GB, free: 21.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/1.724, allocations: 76 kB / 0.5917 GB, free: 21.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=351): time 6.833e-06/1.724, allocations: 0 / 0.5917 GB, free: 21.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=415): time 0.03855/1.763, allocations: 13.35 MB / 0.6047 GB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/1.763, allocations: 94.67 kB / 0.6048 GB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008009/1.771, allocations: 3.069 MB / 0.6078 GB, free: 10.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007995/1.772, allocations: 29.7 kB / 0.6078 GB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003738/1.775, allocations: 3.341 MB / 0.6111 GB, free: 7.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002492/1.778, allocations: 1.328 MB / 0.6124 GB, free: 6.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.778, allocations: 0 / 0.6124 GB, free: 6.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004055/1.779, allocations: 485.4 kB / 0.6129 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005042/1.784, allocations: 1.968 MB / 0.6148 GB, free: 4.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006518/1.79, allocations: 2.887 MB / 0.6176 GB, free: 1.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.801, allocations: 2.774 MB / 0.6203 GB, free: 15.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.909e-05/1.802, allocations: 8 kB / 0.6203 GB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01994/1.821, allocations: 6.587 MB / 0.6267 GB, free: 9.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/1.822, allocations: 16 kB / 0.6268 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.15e-05/1.822, allocations: 24 kB / 0.6268 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005965/1.828, allocations: 1.45 MB / 0.6282 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006785/1.834, allocations: 0.8259 MB / 0.629 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3137/2.148, allocations: 19.55 MB / 0.6481 GB, free: 49.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/2.153, allocations: 89.31 kB / 0.6482 GB, free: 49.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005145/2.154, allocations: 161.8 kB / 0.6483 GB, free: 49.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * 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: 6 * 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: 6 {(4,100.0%) 29,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 43,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009218/2.154, allocations: 207.8 kB / 0.6485 GB, free: 49.66 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01407/2.169, allocations: 6.296 MB / 0.6547 GB, free: 49.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.17, allocations: 440 kB / 0.6551 GB, free: 49.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/2.185, allocations: 6.576 MB / 0.6615 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-05/2.185, allocations: 38.88 kB / 0.6616 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001048/2.185, allocations: 31.16 kB / 0.6616 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001504/2.186, allocations: 16.41 kB / 0.6616 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04713/2.233, allocations: 15.97 MB / 0.6772 GB, free: 46.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.798e-05/2.233, allocations: 11.39 kB / 0.6772 GB, free: 46.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005308/2.238, allocations: 486.9 kB / 0.6777 GB, free: 46.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009426/2.248, allocations: 1.768 MB / 0.6794 GB, free: 46.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008538/2.249, allocations: 41.83 kB / 0.6794 GB, free: 46.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05449/2.303, allocations: 27.07 MB / 0.7059 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/2.303, allocations: 16.19 kB / 0.7059 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/2.325, allocations: 10.61 MB / 0.7163 GB, free: 26.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003691/2.329, allocations: 1.014 MB / 0.7172 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/2.331, allocations: 31.89 kB / 0.7173 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006915/2.338, allocations: 120.9 kB / 0.7174 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002224/2.34, allocations: 382.2 kB / 0.7178 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000845/2.341, allocations: 116 kB / 0.7179 GB, free: 25.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008688/2.35, allocations: 2.307 MB / 0.7201 GB, free: 24.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/2.35, allocations: 0 / 0.7201 GB, free: 24.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01164/2.361, allocations: 1.359 MB / 0.7214 GB, free: 24.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcM.rotorCage.strayInductor.inductor[4].i,aimcM.rotorCage.strayInductor.inductor[5].i,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.port_n.Phi.re,aimc3.stator.port_n.Phi.im,aimc3.stator.strayReluctance.Phi.re,aimc3.stator.strayReluctance.Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,77.8%) 42,(6,72.2%) 45,(1,100.0%) 1,(1,100.0%) 8,(4,100.0%) 28,(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03323/2.395, allocations: 13.57 MB / 0.7347 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02097/2.416, allocations: 6.346 MB / 0.7409 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.276e-05/2.416, allocations: 7.438 kB / 0.7409 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01654/2.432, allocations: 4.862 MB / 0.7457 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/2.443, allocations: 0.8578 MB / 0.7465 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04946/2.493, allocations: 15.05 MB / 0.7612 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/2.504, allocations: 5.379 MB / 0.7664 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005569/2.51, allocations: 0.8903 MB / 0.7673 GB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007558/2.517, allocations: 3.021 MB / 0.7703 GB, free: 6.891 MB / 394.7 MB Notification: Performance of SimCode: time 3.767e-06/2.517, allocations: 0 / 0.7703 GB, free: 6.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6068/3.124, allocations: 116.6 MB / 0.8841 GB, free: 25.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/3.124, allocations: 176.8 kB / 0.8842 GB, free: 25.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.547/9.671, allocations: 0 / 0.8842 GB, free: 25.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat does not exist to compare? outputFormat=mat