Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.709e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08689, allocations: 38.77 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01434/0.1013, allocations: 8.144 MB / 275.1 MB, free: 8.281 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008154/0.1095, allocations: 3.01 MB / 278.1 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.1113, allocations: 63.75 kB / 278.1 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.1137, allocations: 0.5554 MB / 278.7 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.1175, allocations: 0.658 MB / 279.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.119, allocations: 259.7 kB / 279.6 MB, free: 3.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.1231, allocations: 1.345 MB / 281 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.1259, allocations: 1.222 MB / 282.2 MB, free: 1.145 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.1276, allocations: 0.7128 MB / 282.9 MB, free: 440 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.13, allocations: 0.9618 MB / 283.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1312, allocations: 151.9 kB / 284 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005945/0.1319, allocations: 88 kB / 284.1 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.1332, allocations: 0.6191 MB / 284.7 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1342, allocations: 216 kB / 284.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006058/0.1403, allocations: 3.416 MB / 288.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1403, allocations: 0 / 288.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1404, allocations: 0 / 288.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001325/0.1405, allocations: 0 / 288.3 MB, free: 10.97 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: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.007913/0.1484, allocations: 2.343 MB / 290.7 MB, free: 8.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1485, allocations: 8.031 kB / 290.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.1499, allocations: 308.5 kB / 291 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.1542, allocations: 1.43 MB / 292.4 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.1545, allocations: 164.4 kB / 292.6 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006322/0.1551, allocations: 220 kB / 292.8 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008912/0.1641, allocations: 2.881 MB / 295.7 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.1642, allocations: 11.84 kB / 295.7 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.1646, allocations: 88 kB / 295.8 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.1648, allocations: 112.3 kB / 295.9 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008853/0.1737, allocations: 2.414 MB / 298.3 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.264/0.4377, allocations: 9.023 MB / 307.3 MB, free: 23.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/0.4429, allocations: 1.676 MB / 309 MB, free: 22.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.4435, allocations: 127 kB / 309.1 MB, free: 22.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.4436, allocations: 44.19 kB / 309.2 MB, free: 22.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=103): time 6.002e-06/0.4436, allocations: 2.812 kB / 309.2 MB, free: 22.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=123): time 0.0403/0.4839, allocations: 7.329 MB / 316.5 MB, free: 18.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.484, allocations: 68.25 kB / 316.6 MB, free: 18.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.4878, allocations: 1.252 MB / 317.8 MB, free: 17.89 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003403/0.4882, allocations: 45.64 kB / 317.9 MB, free: 17.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.4894, allocations: 1.088 MB / 318.9 MB, free: 16.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/0.4901, allocations: 437.5 kB / 319.4 MB, free: 16.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.4903, allocations: 27.59 kB / 319.4 MB, free: 16.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4905, allocations: 370.1 kB / 319.8 MB, free: 16.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.4927, allocations: 0.7472 MB / 320.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.4949, allocations: 1.163 MB / 321.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.4973, allocations: 0.9299 MB / 322.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.4974, allocations: 4.844 kB / 322.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007203/0.5046, allocations: 2.61 MB / 325.2 MB, free: 11.83 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.5047, allocations: 8 kB / 325.2 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.5047, allocations: 16 kB / 325.2 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.5069, allocations: 0.5452 MB / 325.8 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.5095, allocations: 352.5 kB / 326.1 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/0.5248, allocations: 6.507 MB / 332.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.528, allocations: 123.8 kB / 332.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/0.5284, allocations: 60 kB / 332.8 MB, free: 3.961 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * 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: 2 * 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: 2 {(6,72.2%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002445/0.5309, allocations: 0.7042 MB / 333.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/0.5316, allocations: 165.9 kB / 333.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009017/0.5407, allocations: 2.317 MB / 336 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.5408, allocations: 12 kB / 336 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/0.5408, allocations: 4 kB / 336 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.5408, allocations: 7.969 kB / 336 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/0.5609, allocations: 4.774 MB / 340.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.561, allocations: 0 / 340.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/0.5636, allocations: 223.9 kB / 341 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003832/0.5675, allocations: 0.5764 MB / 341.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003198/0.5678, allocations: 32.11 kB / 341.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/0.5897, allocations: 8.007 MB / 349.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5897, allocations: 4 kB / 349.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.6005, allocations: 3.467 MB / 353.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.6021, allocations: 390.9 kB / 353.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/0.6028, allocations: 28 kB / 353.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.6048, allocations: 92.02 kB / 353.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004788/0.6054, allocations: 104.8 kB / 353.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.6055, allocations: 32 kB / 353.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002455/0.608, allocations: 0.972 MB / 354.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.608, allocations: 0 / 354.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002715/0.6108, allocations: 496 kB / 355.2 MB, free: 12.94 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 97 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 20,(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.0005913/0.6114, allocations: 151.3 kB / 355.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007024/0.6184, allocations: 2.337 MB / 357.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.6185, allocations: 448 / 357.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004727/0.6232, allocations: 1.473 MB / 359.1 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.6268, allocations: 419.1 kB / 359.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.6402, allocations: 5.501 MB / 365.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/0.6428, allocations: 1.91 MB / 367 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.002136/0.645, allocations: 374.5 kB / 367.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.6456, allocations: 107.4 kB / 367.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6456, allocations: 4 kB / 367.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of Templates: time 0.07407/0.7197, allocations: 24.25 MB / 391.7 MB, free: 8.328 MB / 314.7 MB