Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.619e-05, allocations: 0 / 228.1 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 38.77 MB / 266.9 MB, free: 472 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01902/0.1311, allocations: 7.602 MB / 274.5 MB, free: 8.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009869/0.141, allocations: 2.717 MB / 277.2 MB, free: 6.098 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.1431, allocations: 67.69 kB / 277.3 MB, free: 6.031 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.1458, allocations: 493.2 kB / 277.8 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.15, allocations: 0.6035 MB / 278.4 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1519, allocations: 243.6 kB / 278.6 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005079/0.157, allocations: 1.233 MB / 279.9 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003853/0.1609, allocations: 1.182 MB / 281 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.1631, allocations: 0.6661 MB / 281.7 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.1665, allocations: 0.9111 MB / 282.6 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.1682, allocations: 155.9 kB / 282.8 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008514/0.1691, allocations: 84 kB / 282.9 MB, free: 468 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.171, allocations: 0.5959 MB / 283.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.1724, allocations: 204 kB / 283.7 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007766/0.1802, allocations: 3.226 MB / 286.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1803, allocations: 0 / 286.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1803, allocations: 0 / 286.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001531/0.1805, allocations: 4 kB / 286.9 MB, free: 12.42 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01066/0.1911, allocations: 2.244 MB / 289.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.698e-05/0.1913, allocations: 8.031 kB / 289.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.1934, allocations: 284.8 kB / 289.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/0.1991, allocations: 1.35 MB / 290.8 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.1995, allocations: 156.2 kB / 290.9 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.2005, allocations: 215.9 kB / 291.1 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.2132, allocations: 2.752 MB / 293.9 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.2134, allocations: 11.84 kB / 293.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005251/0.2139, allocations: 87.98 kB / 294 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000273/0.2142, allocations: 104.2 kB / 294.1 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.2257, allocations: 2.327 MB / 296.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3052/0.531, allocations: 8.509 MB / 304.9 MB, free: 24.74 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.5352, allocations: 1.68 MB / 306.6 MB, free: 23.71 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/0.5356, allocations: 124.1 kB / 306.7 MB, free: 23.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.5357, allocations: 45.06 kB / 306.8 MB, free: 23.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=99): time 3.506e-06/0.5357, allocations: 1.062 kB / 306.8 MB, free: 23.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=114): time 0.02246/0.5582, allocations: 6.136 MB / 312.9 MB, free: 20.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.5583, allocations: 67.02 kB / 313 MB, free: 20.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.5608, allocations: 1.157 MB / 314.1 MB, free: 19.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.5612, allocations: 50.59 kB / 314.2 MB, free: 19.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.562, allocations: 1.01 MB / 315.2 MB, free: 18.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.5625, allocations: 403.9 kB / 315.6 MB, free: 18.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.5626, allocations: 27.97 kB / 315.6 MB, free: 18.61 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5627, allocations: 360.2 kB / 316 MB, free: 18.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.5646, allocations: 0.6953 MB / 316.6 MB, free: 17.92 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.5665, allocations: 1.063 MB / 317.7 MB, free: 17.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.5686, allocations: 0.8473 MB / 318.6 MB, free: 16.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5686, allocations: 3.938 kB / 318.6 MB, free: 16.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005863/0.5745, allocations: 2.376 MB / 320.9 MB, free: 15.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.5746, allocations: 11.48 kB / 320.9 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.5746, allocations: 11.12 kB / 321 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.576, allocations: 396.9 kB / 321.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.5784, allocations: 339.3 kB / 321.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008148/0.5865, allocations: 6.367 MB / 328 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.5885, allocations: 108 kB / 328.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.5887, allocations: 55.98 kB / 328.2 MB, free: 8.488 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.5902, allocations: 0.6808 MB / 328.9 MB, free: 7.797 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.5907, allocations: 158.1 kB / 329 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/0.5959, allocations: 2.107 MB / 331.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.596, allocations: 16 kB / 331.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.596, allocations: 0 / 331.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.596, allocations: 7.984 kB / 331.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.607, allocations: 4.466 MB / 335.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.607, allocations: 4 kB / 335.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.6087, allocations: 212.1 kB / 335.8 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.6105, allocations: 430.6 kB / 336.3 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.6106, allocations: 35.97 kB / 336.3 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/0.6229, allocations: 7.873 MB / 344.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.6229, allocations: 7.938 kB / 344.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008537/0.6315, allocations: 3.26 MB / 347.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.6328, allocations: 379 kB / 347.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/0.6333, allocations: 35.92 kB / 347.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.6348, allocations: 87.88 kB / 347.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.6352, allocations: 88.81 kB / 348 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.6353, allocations: 35.98 kB / 348.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002055/0.6374, allocations: 0.8903 MB / 348.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.6374, allocations: 0 / 348.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002543/0.64, allocations: 462.6 kB / 349.4 MB, free: 2.395 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004842/0.6405, allocations: 145.8 kB / 349.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006247/0.6468, allocations: 2.202 MB / 351.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.6468, allocations: 1.875 kB / 351.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004078/0.6509, allocations: 1.422 MB / 353.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.654, allocations: 370.6 kB / 353.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.6672, allocations: 5.22 MB / 358.7 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/0.6701, allocations: 1.834 MB / 360.6 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.002119/0.6722, allocations: 357.2 kB / 360.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/0.6729, allocations: 107.4 kB / 361 MB, free: 6.535 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6729, allocations: 0 / 361 MB, free: 6.535 MB / 282.7 MB Notification: Performance of Templates: time 0.07194/0.7449, allocations: 21.15 MB / 382.2 MB, free: 1.457 MB / 298.7 MB