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.779/1.779, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.313e-05, allocations: 7.984 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.4297, allocations: 99.35 MB / 363.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.4301, allocations: 83.95 kB / 363.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041/1.471, allocations: 175.5 MB / 0.5262 GB, free: 44.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.471, allocations: 0 / 0.5262 GB, free: 44.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007589/1.472, allocations: 191 kB / 0.5264 GB, free: 44.84 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.03132/1.504, allocations: 7.517 MB / 0.5337 GB, free: 42.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.504, allocations: 18.55 kB / 0.5337 GB, free: 42.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003959/1.508, allocations: 1.059 MB / 0.5348 GB, free: 42.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008899/1.517, allocations: 1.303 MB / 0.5361 GB, free: 41.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/1.535, allocations: 5.804 MB / 0.5417 GB, free: 40.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007548/1.536, allocations: 0.5769 MB / 0.5423 GB, free: 40.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003279/1.54, allocations: 0.7655 MB / 0.543 GB, free: 40.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03343/1.573, allocations: 10.21 MB / 0.553 GB, free: 40.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000381/1.573, allocations: 17.44 kB / 0.553 GB, free: 40.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002565/1.576, allocations: 331.8 kB / 0.5533 GB, free: 40.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003693/1.576, allocations: 334.9 kB / 0.5537 GB, free: 40.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/1.602, allocations: 8.1 MB / 0.5616 GB, free: 38.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07885/1.681, allocations: 32.72 MB / 0.5935 GB, free: 21.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/1.693, allocations: 8.031 MB / 0.6014 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009086/1.702, allocations: 3.51 MB / 0.6048 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/1.703, allocations: 45.45 kB / 0.6048 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.692e-05/1.703, allocations: 73.33 kB / 0.6049 GB, free: 10.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=351): time 6.412e-06/1.703, allocations: 0 / 0.6049 GB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=415): time 0.04706/1.75, allocations: 14.28 MB / 0.6189 GB, free: 14.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/1.75, allocations: 94.67 kB / 0.6189 GB, free: 13.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.761, allocations: 3.754 MB / 0.6226 GB, free: 10.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008377/1.761, allocations: 101.6 kB / 0.6227 GB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003677/1.765, allocations: 3.341 MB / 0.626 GB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002111/1.767, allocations: 1.387 MB / 0.6273 GB, free: 6.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/1.768, allocations: 88 kB / 0.6274 GB, free: 6.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003418/1.768, allocations: 483.6 kB / 0.6279 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005199/1.773, allocations: 2.052 MB / 0.6299 GB, free: 3.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006004/1.779, allocations: 2.968 MB / 0.6328 GB, free: 0.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2832/2.063, allocations: 3.071 MB / 0.6358 GB, free: 55.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.566e-05/2.063, allocations: 8.188 kB / 0.6358 GB, free: 55.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.02606/2.089, allocations: 7.001 MB / 0.6426 GB, free: 55.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/2.089, allocations: 16.53 kB / 0.6426 GB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.14e-05/2.089, allocations: 29.09 kB / 0.6427 GB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/2.096, allocations: 1.468 MB / 0.6441 GB, free: 55.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008774/2.105, allocations: 0.8283 MB / 0.6449 GB, free: 55.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03364/2.139, allocations: 20.17 MB / 0.6646 GB, free: 47.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/2.144, allocations: 182 kB / 0.6648 GB, free: 47.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008057/2.145, allocations: 164 kB / 0.6649 GB, free: 47.51 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.001039/2.146, allocations: 356.2 kB / 0.6653 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/2.148, allocations: 477.1 kB / 0.6657 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/2.165, allocations: 7.017 MB / 0.6726 GB, free: 46.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.804e-05/2.165, allocations: 40.53 kB / 0.6726 GB, free: 46.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.73e-05/2.165, allocations: 30.92 kB / 0.6726 GB, free: 46.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.665e-05/2.165, allocations: 23.06 kB / 0.6727 GB, free: 46.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04364/2.209, allocations: 17.4 MB / 0.6897 GB, free: 42.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/2.209, allocations: 11.59 kB / 0.6897 GB, free: 42.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003969/2.213, allocations: 485.4 kB / 0.6901 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006759/2.22, allocations: 1.802 MB / 0.6919 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/2.221, allocations: 97.81 kB / 0.692 GB, free: 41.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04175/2.262, allocations: 28.04 MB / 0.7194 GB, free: 21.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/2.262, allocations: 18.03 kB / 0.7194 GB, free: 21.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/2.285, allocations: 11.11 MB / 0.7302 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003803/2.289, allocations: 1.075 MB / 0.7313 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/2.29, allocations: 96.83 kB / 0.7314 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00477/2.295, allocations: 198.6 kB / 0.7316 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.296, allocations: 370.8 kB / 0.7319 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003867/2.297, allocations: 118.5 kB / 0.732 GB, free: 14.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006753/2.304, allocations: 2.884 MB / 0.7348 GB, free: 13.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.304, allocations: 3.344 kB / 0.7348 GB, free: 13.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008374/2.312, allocations: 1.557 MB / 0.7364 GB, free: 13.55 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.02379/2.336, allocations: 14.14 MB / 0.7502 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02028/2.356, allocations: 6.693 MB / 0.7567 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/2.356, allocations: 4 kB / 0.7567 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01348/2.37, allocations: 4.952 MB / 0.7616 GB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009404/2.379, allocations: 1.196 MB / 0.7627 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04905/2.428, allocations: 15.4 MB / 0.7778 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/2.44, allocations: 5.386 MB / 0.783 GB, free: 4.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005941/2.445, allocations: 0.9601 MB / 0.784 GB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00755/2.453, allocations: 3.001 MB / 0.7869 GB, free: 1.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/2.453, allocations: 0 / 0.7869 GB, free: 1.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6459/3.099, allocations: 135 MB / 0.9188 GB, free: 10.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/3.099, allocations: 209.9 kB / 0.919 GB, free: 9.898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/10.52, allocations: 0 / 0.919 GB, free: 9.898 MB / 410.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