Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.917e-05, allocations: 3.984 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3086, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.03434/0.343, allocations: 19.76 MB / 323.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.3617, allocations: 6.144 MB / 329.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.367, allocations: 191.4 kB / 329.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005635/0.3726, allocations: 1.165 MB / 330.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00994/0.3826, allocations: 1.873 MB / 332.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005427/0.3881, allocations: 0.966 MB / 333.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.4016, allocations: 4.572 MB / 338 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009579/0.4112, allocations: 3.845 MB / 341.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.4166, allocations: 2.119 MB / 343.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006654/0.4233, allocations: 2.776 MB / 346.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.4268, allocations: 427.8 kB / 347.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.429, allocations: 268 kB / 347.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.432, allocations: 1.413 MB / 348.8 MB, free: 68 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003332/0.4354, allocations: 0.6329 MB / 349.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01973/0.4552, allocations: 11.96 MB / 361.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4552, allocations: 4 kB / 361.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4552, allocations: 0 / 361.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004624/0.4557, allocations: 0 / 361.4 MB, free: 3.434 MB / 298.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.03017/0.4859, allocations: 7.237 MB / 368.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.486, allocations: 8.031 kB / 368.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.5011, allocations: 1.747 MB / 370.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.5162, allocations: 4.529 MB / 374.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008751/0.5171, allocations: 0.5298 MB / 375.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.5201, allocations: 0.7107 MB / 376.2 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03436/0.5545, allocations: 9.636 MB / 385.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003356/0.5549, allocations: 11.91 kB / 385.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002314/0.5572, allocations: 296 kB / 386.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005517/0.5578, allocations: 362.5 kB / 386.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02983/0.5877, allocations: 8.209 MB / 394.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/0.6981, allocations: 30.41 MB / 425.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.6568/1.355, allocations: 15.95 MB / 441 MB, free: 81.96 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02111/1.376, allocations: 6.723 MB / 447.7 MB, free: 78.71 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/1.376, allocations: 64.67 kB / 447.8 MB, free: 78.65 MB / 362.8 MB Notification: Performance of pre-optimization done (n=296): time 6.352e-06/1.376, allocations: 0 / 447.8 MB, free: 78.65 MB / 362.8 MB Notification: Performance of matching and sorting (n=306): time 0.04457/1.421, allocations: 12.35 MB / 460.2 MB, free: 73.04 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.421, allocations: 91.2 kB / 460.2 MB, free: 72.96 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007081/1.428, allocations: 3.041 MB / 463.3 MB, free: 71.62 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005833/1.429, allocations: 78.39 kB / 463.4 MB, free: 71.55 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/1.431, allocations: 2.958 MB / 466.3 MB, free: 68.91 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/1.433, allocations: 1.047 MB / 467.4 MB, free: 68 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/1.433, allocations: 77.28 kB / 467.4 MB, free: 67.94 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0003106/1.433, allocations: 461.9 kB / 467.9 MB, free: 67.52 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.438, allocations: 1.527 MB / 469.4 MB, free: 66.42 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005279/1.443, allocations: 2.621 MB / 472 MB, free: 63.32 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/1.449, allocations: 2.011 MB / 474.1 MB, free: 61.29 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/1.449, allocations: 8 kB / 474.1 MB, free: 61.29 MB / 362.8 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.01297/1.462, allocations: 4.883 MB / 478.9 MB, free: 56.33 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/1.462, allocations: 20.78 kB / 479 MB, free: 56.31 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-05/1.462, allocations: 32 kB / 479 MB, free: 56.28 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/1.463, allocations: 444.8 kB / 479.4 MB, free: 55.82 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/1.47, allocations: 0.8871 MB / 480.3 MB, free: 54.94 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008774/1.479, allocations: 7.723 MB / 488 MB, free: 46.69 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/1.483, allocations: 172 kB / 488.2 MB, free: 46.52 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006836/1.484, allocations: 168 kB / 488.4 MB, free: 46.36 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (458): * Single equations (assignments): 452 * 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%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005426/1.49, allocations: 2.118 MB / 490.5 MB, free: 44.23 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.491, allocations: 407.1 kB / 490.9 MB, free: 43.82 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.503, allocations: 4.668 MB / 495.6 MB, free: 39.05 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/1.503, allocations: 32 kB / 495.6 MB, free: 39.02 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.295e-05/1.503, allocations: 17.64 kB / 495.6 MB, free: 39.01 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.019e-05/1.503, allocations: 15.94 kB / 495.6 MB, free: 38.99 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/1.532, allocations: 11.12 MB / 0.4949 GB, free: 27.71 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/1.532, allocations: 4 kB / 0.4949 GB, free: 27.71 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/1.536, allocations: 484 kB / 0.4953 GB, free: 27.23 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/1.54, allocations: 0.8634 MB / 0.4962 GB, free: 26.35 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005107/1.54, allocations: 87.97 kB / 0.4963 GB, free: 26.27 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02218/1.563, allocations: 16.39 MB / 0.5123 GB, free: 8.941 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/1.563, allocations: 11.94 kB / 0.5123 GB, free: 8.93 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.579, allocations: 7.189 MB / 0.5193 GB, free: 1.418 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/1.582, allocations: 0.8008 MB / 0.5201 GB, free: 0.5938 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.583, allocations: 75.94 kB / 0.5201 GB, free: 0.5195 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/1.587, allocations: 147.9 kB / 0.5203 GB, free: 384 kB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000804/1.588, allocations: 233.9 kB / 0.5205 GB, free: 148 kB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.588, allocations: 87.97 kB / 0.5206 GB, free: 60 kB / 362.8 MB Notification: Performance of sorting global known variables: time 0.006269/1.595, allocations: 2.315 MB / 0.5229 GB, free: 13.76 MB / 378.8 MB Notification: Performance of sort global known variables: time 8.71e-07/1.595, allocations: 4 kB / 0.5229 GB, free: 13.76 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.006818/1.602, allocations: 1.211 MB / 0.524 GB, free: 12.55 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (236): * Single equations (assignments): 229 * 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 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/1.603, allocations: 221.7 kB / 0.5243 GB, free: 12.32 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01264/1.615, allocations: 4.501 MB / 0.5286 GB, free: 7.715 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.615, allocations: 4 kB / 0.5287 GB, free: 7.711 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008552/1.624, allocations: 3.045 MB / 0.5316 GB, free: 4.566 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008009/1.632, allocations: 1.016 MB / 0.5326 GB, free: 3.547 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/1.672, allocations: 15.21 MB / 0.5475 GB, free: 4.211 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008797/1.681, allocations: 4.364 MB / 0.5517 GB, free: 15.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.683, allocations: 307.4 kB / 0.552 GB, free: 15.5 MB / 410.8 MB Notification: Performance of SimCode: time 1.844e-06/1.683, allocations: 0 / 0.552 GB, free: 15.5 MB / 410.8 MB Notification: Performance of Templates: time 1.014/2.697, allocations: 297.1 MB / 0.8421 GB, free: 51.87 MB / 442.8 MB