Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 7.186e-05/7.195e-05, allocations: 7.906 kB / 258.8 MB, free: 8.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3544, allocations: 44.5 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.04316/0.3977, allocations: 18.51 MB / 321.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02403/0.4217, allocations: 5.669 MB / 327.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005704/0.4275, allocations: 187.4 kB / 327.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007179/0.4348, allocations: 1.056 MB / 328.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.4469, allocations: 1.737 MB / 330.5 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007732/0.4547, allocations: 0.9266 MB / 331.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01807/0.4728, allocations: 4.326 MB / 335.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.4868, allocations: 3.751 MB / 339.5 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007495/0.4944, allocations: 2.022 MB / 341.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00977/0.5042, allocations: 2.651 MB / 344.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/0.509, allocations: 427.8 kB / 344.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003067/0.5122, allocations: 260 kB / 344.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004365/0.5166, allocations: 1.358 MB / 346.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.5196, allocations: 0.6055 MB / 346.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02116/0.5408, allocations: 11.55 MB / 358.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5409, allocations: 0 / 358.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.696e-06/0.5409, allocations: 0 / 358.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004813/0.5414, allocations: 0 / 358.3 MB, free: 6.465 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.02918/0.5706, allocations: 6.954 MB / 365.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.5707, allocations: 15.95 kB / 365.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.5851, allocations: 1.662 MB / 367 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.5988, allocations: 4.339 MB / 371.3 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006899/0.5995, allocations: 0.5137 MB / 371.8 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/0.602, allocations: 0.6756 MB / 372.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/0.6332, allocations: 9.321 MB / 381.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/0.6335, allocations: 11.94 kB / 381.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/0.635, allocations: 284 kB / 382.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004842/0.6355, allocations: 330.1 kB / 382.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02708/0.6626, allocations: 7.992 MB / 390.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07962/0.7423, allocations: 28.77 MB / 419.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3163/1.059, allocations: 16.47 MB / 435.7 MB, free: 82.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/1.081, allocations: 6.462 MB / 442.1 MB, free: 80.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/1.081, allocations: 64.56 kB / 442.2 MB, free: 80.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=274): time 6.442e-06/1.081, allocations: 0 / 442.2 MB, free: 80.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=282): time 0.05437/1.136, allocations: 11.77 MB / 453.9 MB, free: 74.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/1.136, allocations: 84.38 kB / 454 MB, free: 74.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/1.147, allocations: 2.876 MB / 456.9 MB, free: 73.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000729/1.148, allocations: 73.14 kB / 457 MB, free: 73.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003179/1.151, allocations: 2.798 MB / 459.8 MB, free: 71.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.153, allocations: 0.9654 MB / 460.7 MB, free: 70.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/1.154, allocations: 71.16 kB / 460.8 MB, free: 70.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003599/1.154, allocations: 452.6 kB / 461.2 MB, free: 69.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006418/1.161, allocations: 1.439 MB / 462.7 MB, free: 69.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007507/1.168, allocations: 2.431 MB / 465.1 MB, free: 67.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007925/1.176, allocations: 1.89 MB / 467 MB, free: 65.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-05/1.176, allocations: 12 kB / 467 MB, free: 65.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=444) (initialization): time 0.02033/1.197, allocations: 4.577 MB / 471.6 MB, free: 60.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/1.197, allocations: 20 kB / 471.6 MB, free: 60.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.896e-05/1.197, allocations: 35.94 kB / 471.7 MB, free: 60.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/1.199, allocations: 429.6 kB / 472.1 MB, free: 60.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009756/1.209, allocations: 0.8152 MB / 472.9 MB, free: 59.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.224, allocations: 7.696 MB / 480.6 MB, free: 51.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006874/1.231, allocations: 167.9 kB / 480.7 MB, free: 51.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.232, allocations: 148 kB / 480.9 MB, free: 50.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 138 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 410 * 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.008383/1.24, allocations: 2.066 MB / 483 MB, free: 48.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/1.242, allocations: 367.5 kB / 483.3 MB, free: 48.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/1.263, allocations: 4.435 MB / 487.7 MB, free: 44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.893e-05/1.263, allocations: 28 kB / 487.8 MB, free: 43.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.855e-05/1.263, allocations: 19.92 kB / 487.8 MB, free: 43.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.43e-05/1.263, allocations: 11.95 kB / 487.8 MB, free: 43.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04445/1.308, allocations: 10.52 MB / 498.3 MB, free: 33.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.492e-05/1.308, allocations: 4 kB / 498.3 MB, free: 33.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006294/1.314, allocations: 451.8 kB / 498.8 MB, free: 32.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/1.32, allocations: 0.8445 MB / 499.6 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007426/1.32, allocations: 75.97 kB / 499.7 MB, free: 31.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03644/1.357, allocations: 16.28 MB / 0.5039 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.357, allocations: 8 kB / 0.5039 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02641/1.383, allocations: 6.685 MB / 0.5104 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/1.387, allocations: 0.7581 MB / 0.5112 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/1.389, allocations: 69.75 kB / 0.5112 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006024/1.395, allocations: 139.9 kB / 0.5114 GB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/1.397, allocations: 213.8 kB / 0.5116 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004648/1.397, allocations: 87.97 kB / 0.5116 GB, free: 6.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00818/1.405, allocations: 2.191 MB / 0.5138 GB, free: 4.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.994e-06/1.405, allocations: 0 / 0.5138 GB, free: 4.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009642/1.415, allocations: 1.147 MB / 0.5149 GB, free: 3.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 207 * 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%) 12,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/1.416, allocations: 221.7 kB / 0.5151 GB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01738/1.434, allocations: 4.263 MB / 0.5193 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/1.434, allocations: 0 / 0.5193 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01346/1.447, allocations: 2.938 MB / 0.5221 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/1.459, allocations: 0.9184 MB / 0.523 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06116/1.521, allocations: 14.55 MB / 0.5373 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01345/1.534, allocations: 4.236 MB / 0.5414 GB, free: 7.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002849/1.537, allocations: 275.4 kB / 0.5416 GB, free: 7.336 MB / 394.7 MB Notification: Performance of SimCode: time 2.295e-06/1.537, allocations: 0 / 0.5416 GB, free: 7.336 MB / 394.7 MB Notification: Performance of Templates: time 1.045/2.582, allocations: 283.6 MB / 0.8186 GB, free: 90.73 MB / 442.7 MB