Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.648e-05, allocations: 4 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2992, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01392/0.3132, allocations: 8.133 MB / 311.5 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007763/0.321, allocations: 3.045 MB / 314.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.3227, allocations: 67.75 kB / 314.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.3246, allocations: 0.5554 MB / 315.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.3279, allocations: 0.6502 MB / 315.8 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3291, allocations: 263.6 kB / 316 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003398/0.3325, allocations: 1.338 MB / 317.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.3348, allocations: 1.23 MB / 318.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.3363, allocations: 0.6973 MB / 319.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.3381, allocations: 0.989 MB / 320.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.3389, allocations: 159.9 kB / 320.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.3393, allocations: 92 kB / 320.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009874/0.3403, allocations: 0.6113 MB / 321.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.3411, allocations: 220 kB / 321.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.3463, allocations: 3.448 MB / 324.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3463, allocations: 4 kB / 324.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3463, allocations: 0 / 324.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.3465, allocations: 0 / 324.8 MB, free: 8.039 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007253/0.3537, allocations: 2.362 MB / 327.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3538, allocations: 8.031 kB / 327.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.3551, allocations: 304.6 kB / 327.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.3591, allocations: 1.457 MB / 328.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.3593, allocations: 172.3 kB / 329.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005245/0.3599, allocations: 223.9 kB / 329.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007928/0.3678, allocations: 2.873 MB / 332.2 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.368, allocations: 0 / 332.2 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.3683, allocations: 92 kB / 332.3 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3685, allocations: 120.2 kB / 332.4 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/0.3758, allocations: 2.414 MB / 334.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.3983, allocations: 9.047 MB / 343.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/0.402, allocations: 1.697 MB / 345.6 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.4025, allocations: 199.2 kB / 345.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.4025, allocations: 43.56 kB / 345.8 MB, free: 2.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 4.379e-06/0.4025, allocations: 0 / 345.8 MB, free: 2.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.02776/0.4303, allocations: 7.343 MB / 353.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.4304, allocations: 72.33 kB / 353.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.4334, allocations: 1.318 MB / 354.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.4336, allocations: 45.7 kB / 354.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.4347, allocations: 1.088 MB / 355.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.4353, allocations: 433.8 kB / 356.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.4354, allocations: 28 kB / 356.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4356, allocations: 365.9 kB / 356.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.4378, allocations: 0.7496 MB / 357.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.4402, allocations: 1.161 MB / 358.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.4427, allocations: 0.9276 MB / 359.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.4427, allocations: 4 kB / 359.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007531/0.4503, allocations: 2.633 MB / 361.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.4504, allocations: 13.41 kB / 362 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.4504, allocations: 12.28 kB / 362 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.4528, allocations: 0.5527 MB / 362.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/0.4555, allocations: 351.4 kB / 362.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.4688, allocations: 6.496 MB / 369.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.471, allocations: 111.8 kB / 369.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.4713, allocations: 64 kB / 369.5 MB, free: 9.992 MB / 314.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 (166): * Single equations (assignments): 163 * 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.00189/0.4732, allocations: 0.7158 MB / 370.2 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.4738, allocations: 169.9 kB / 370.4 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/0.4808, allocations: 2.32 MB / 372.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.4809, allocations: 15.94 kB / 372.7 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.4809, allocations: 8 kB / 372.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-05/0.481, allocations: 7.984 kB / 372.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.4949, allocations: 4.818 MB / 377.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.4949, allocations: 0 / 377.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.4968, allocations: 215.7 kB / 377.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/0.4996, allocations: 0.5803 MB / 378.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/0.4998, allocations: 27.98 kB / 378.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.5145, allocations: 8.003 MB / 386.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5145, allocations: 7.938 kB / 386.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009423/0.524, allocations: 3.481 MB / 389.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.5253, allocations: 398.8 kB / 390.3 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/0.5257, allocations: 27.98 kB / 390.3 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.5275, allocations: 99.89 kB / 390.4 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.5278, allocations: 88.83 kB / 390.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.528, allocations: 39.98 kB / 390.5 MB, free: 4.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.5303, allocations: 1.007 MB / 391.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5303, allocations: 0 / 391.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002513/0.5328, allocations: 0.496 MB / 392 MB, free: 2.789 MB / 330.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 (101): * Single equations (assignments): 98 * 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.0004842/0.5333, allocations: 151.1 kB / 392.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006476/0.5398, allocations: 2.345 MB / 394.5 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.5399, allocations: 0 / 394.5 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004399/0.5443, allocations: 1.481 MB / 396 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.5477, allocations: 422.6 kB / 396.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.5604, allocations: 5.545 MB / 402 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/0.5628, allocations: 1.906 MB / 403.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002064/0.5649, allocations: 382.7 kB / 404.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.5655, allocations: 115.4 kB / 404.4 MB, free: 6.258 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5655, allocations: 3.938 kB / 404.4 MB, free: 6.254 MB / 346.7 MB Notification: Performance of Templates: time 0.3224/0.8879, allocations: 24.97 MB / 429.3 MB, free: 105.9 MB / 362.7 MB