Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.854e-05, allocations: 7.984 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3022, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.5144, allocations: 110.6 MB / 404.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/0.5149, allocations: 83.95 kB / 404.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104/1.619, allocations: 166.9 MB / 0.5584 GB, free: 25.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.619, allocations: 3 kB / 0.5584 GB, free: 25.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007695/1.62, allocations: 176.8 kB / 0.5586 GB, free: 25.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.03072/1.65, allocations: 6.662 MB / 0.5651 GB, free: 23.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.65, allocations: 10.03 kB / 0.5651 GB, free: 23.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/1.664, allocations: 1.591 MB / 0.5667 GB, free: 23.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02049/1.684, allocations: 5.907 MB / 0.5724 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004547/1.685, allocations: 233.4 kB / 0.5727 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/1.687, allocations: 438 kB / 0.5731 GB, free: 22.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02153/1.709, allocations: 7.09 MB / 0.58 GB, free: 22.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/1.737, allocations: 8.286 MB / 0.5881 GB, free: 21.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003233/1.737, allocations: 10 kB / 0.5881 GB, free: 21.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002023/1.739, allocations: 6.688 kB / 0.5881 GB, free: 21.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004068/1.74, allocations: 342.3 kB / 0.5884 GB, free: 21.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07906/1.819, allocations: 29.18 MB / 0.6169 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02113/1.84, allocations: 15.81 MB / 0.6324 GB, free: 18.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006713/1.847, allocations: 2.91 MB / 0.6352 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0216/1.868, allocations: 7.901 MB / 0.6429 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/1.868, allocations: 69.38 kB / 0.643 GB, free: 12.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=283): time 5.661e-06/1.868, allocations: 0.75 kB / 0.643 GB, free: 12.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=291): time 0.02753/1.896, allocations: 8.744 MB / 0.6515 GB, free: 8.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/1.896, allocations: 86.8 kB / 0.6516 GB, free: 8.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005917/1.902, allocations: 2.51 MB / 0.6541 GB, free: 7.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000593/1.903, allocations: 25.7 kB / 0.6541 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003059/1.906, allocations: 3.191 MB / 0.6572 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.907, allocations: 0.9616 MB / 0.6581 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/1.908, allocations: 3.172 kB / 0.6581 GB, free: 4.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002995/1.908, allocations: 450.8 kB / 0.6586 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/1.911, allocations: 1.325 MB / 0.6599 GB, free: 3.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/1.917, allocations: 2.428 MB / 0.6622 GB, free: 1.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006449/1.923, allocations: 2.122 MB / 0.6643 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.987e-05/1.923, allocations: 13.34 kB / 0.6643 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01451/1.938, allocations: 4.761 MB / 0.669 GB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/1.938, allocations: 23.16 kB / 0.669 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-05/1.938, allocations: 34.22 kB / 0.669 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.939, allocations: 394 kB / 0.6694 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006559/1.946, allocations: 0.8666 MB / 0.6702 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009015/1.955, allocations: 7.024 MB / 0.6771 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/1.96, allocations: 109.9 kB / 0.6772 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005443/1.96, allocations: 167.9 kB / 0.6774 GB, free: 7.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (451): * Single equations (assignments): 445 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007698/1.961, allocations: 220.8 kB / 0.6776 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01201/1.973, allocations: 4.03 MB / 0.6815 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.974, allocations: 351.7 kB / 0.6819 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.987, allocations: 4.351 MB / 0.6861 GB, free: 0 / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002602/1.988, allocations: 42.66 kB / 0.6861 GB, free: 0 / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001199/1.988, allocations: 18.7 kB / 0.6862 GB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/1.988, allocations: 14.16 kB / 0.6862 GB, free: 0 / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/2.014, allocations: 9.467 MB / 0.6954 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/2.014, allocations: 4 kB / 0.6954 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003977/2.018, allocations: 450 kB / 0.6959 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/2.022, allocations: 0.8577 MB / 0.6967 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/2.022, allocations: 43 kB / 0.6967 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3248/2.347, allocations: 15.67 MB / 0.712 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/2.347, allocations: 8.969 kB / 0.712 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02118/2.368, allocations: 6.681 MB / 0.7186 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/2.371, allocations: 0.7556 MB / 0.7193 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009081/2.372, allocations: 20.08 kB / 0.7193 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/2.375, allocations: 112.5 kB / 0.7194 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006535/2.376, allocations: 216.7 kB / 0.7196 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/2.376, allocations: 88.14 kB / 0.7197 GB, free: 59.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003739/2.38, allocations: 1.845 MB / 0.7215 GB, free: 59.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.38, allocations: 0 / 0.7215 GB, free: 59.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00639/2.386, allocations: 1.118 MB / 0.7226 GB, free: 59.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01577/2.402, allocations: 8.683 MB / 0.7311 GB, free: 56.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007762/2.41, allocations: 3.963 MB / 0.735 GB, free: 55.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/2.41, allocations: 0 / 0.735 GB, free: 55.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005798/2.415, allocations: 2.791 MB / 0.7377 GB, free: 54.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/2.421, allocations: 0.7538 MB / 0.7384 GB, free: 54.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/2.454, allocations: 11.72 MB / 0.7499 GB, free: 52.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006561/2.46, allocations: 4.454 MB / 0.7542 GB, free: 51.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00535/2.466, allocations: 0.8342 MB / 0.755 GB, free: 51.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005775/2.471, allocations: 2.656 MB / 0.7576 GB, free: 51.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/2.471, allocations: 0 / 0.7576 GB, free: 51.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/2.686, allocations: 91.03 MB / 0.8465 GB, free: 5.762 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/2.687, allocations: 179.5 kB / 0.8467 GB, free: 5.566 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.755/8.442, allocations: 0 / 0.8467 GB, free: 5.566 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat does not exist to compare? outputFormat=mat