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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.984e-05, allocations: 4 kB / 228.1 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08682, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01345/0.1003, allocations: 7.593 MB / 274.5 MB, free: 9.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.1079, allocations: 2.729 MB / 277.2 MB, free: 6.762 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.1097, allocations: 67.75 kB / 277.3 MB, free: 6.695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.1121, allocations: 493.2 kB / 277.8 MB, free: 6.211 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.1154, allocations: 0.6034 MB / 278.4 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1169, allocations: 235.7 kB / 278.6 MB, free: 5.375 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003835/0.1208, allocations: 1.248 MB / 279.8 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/0.1236, allocations: 1.174 MB / 281 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.1253, allocations: 0.67 MB / 281.7 MB, free: 2.266 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.1276, allocations: 0.9033 MB / 282.6 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1288, allocations: 159.8 kB / 282.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000596/0.1295, allocations: 84 kB / 282.8 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.1307, allocations: 0.588 MB / 283.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008995/0.1317, allocations: 204 kB / 283.6 MB, free: 340 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.1372, allocations: 3.233 MB / 286.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1373, allocations: 0 / 286.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1373, allocations: 0 / 286.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.1374, allocations: 4 kB / 286.9 MB, free: 13.09 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.007697/0.1451, allocations: 2.24 MB / 289.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1452, allocations: 12.03 kB / 289.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.1469, allocations: 288.8 kB / 289.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.1512, allocations: 1.343 MB / 290.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.1515, allocations: 152.2 kB / 290.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008533/0.1524, allocations: 223.8 kB / 291.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009277/0.1617, allocations: 2.756 MB / 293.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.1618, allocations: 11.89 kB / 293.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.1622, allocations: 84 kB / 294 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.1624, allocations: 100.2 kB / 294 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008486/0.1709, allocations: 2.331 MB / 296.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2485/0.4195, allocations: 8.503 MB / 304.9 MB, free: 24.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.4237, allocations: 1.688 MB / 306.6 MB, free: 23.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.4242, allocations: 121.4 kB / 306.7 MB, free: 23.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.4242, allocations: 48.34 kB / 306.7 MB, free: 23.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=99): time 3.637e-06/0.4242, allocations: 0 / 306.7 MB, free: 23.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=114): time 0.02295/0.4472, allocations: 6.135 MB / 312.9 MB, free: 20.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4473, allocations: 62.88 kB / 312.9 MB, free: 20.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.4501, allocations: 1.157 MB / 314.1 MB, free: 20.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.4504, allocations: 45.8 kB / 314.1 MB, free: 20.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/0.4512, allocations: 0.9768 MB / 315.1 MB, free: 19.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/0.4517, allocations: 402.1 kB / 315.5 MB, free: 18.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.4519, allocations: 33.94 kB / 315.5 MB, free: 18.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4521, allocations: 365.5 kB / 315.9 MB, free: 18.44 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.454, allocations: 0.6867 MB / 316.6 MB, free: 18.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.4562, allocations: 1.061 MB / 317.6 MB, free: 17.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.4585, allocations: 0.851 MB / 318.5 MB, free: 16.83 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.4586, allocations: 3.938 kB / 318.5 MB, free: 16.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006088/0.4647, allocations: 2.287 MB / 320.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.4647, allocations: 7.188 kB / 320.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.4648, allocations: 11 kB / 320.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.4662, allocations: 396.6 kB / 321.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.4687, allocations: 340.6 kB / 321.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008451/0.4772, allocations: 6.366 MB / 327.9 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.4793, allocations: 107.8 kB / 328 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.4795, allocations: 59.86 kB / 328.1 MB, free: 9.129 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.001776/0.4813, allocations: 0.6808 MB / 328.7 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/0.4819, allocations: 154.1 kB / 328.9 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.4874, allocations: 2.105 MB / 331 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.4875, allocations: 12 kB / 331 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4875, allocations: 0 / 331 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.4875, allocations: 7.984 kB / 331 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.4996, allocations: 4.479 MB / 335.5 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.4996, allocations: 4 kB / 335.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.5015, allocations: 213.9 kB / 335.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.5033, allocations: 429.9 kB / 336.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/0.5036, allocations: 31.98 kB / 336.2 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.5161, allocations: 7.869 MB / 344 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.5162, allocations: 4 kB / 344 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009032/0.5252, allocations: 3.26 MB / 347.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.5266, allocations: 379 kB / 347.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005034/0.5271, allocations: 31.95 kB / 347.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.5289, allocations: 88.09 kB / 347.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.5293, allocations: 88.81 kB / 347.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.5294, allocations: 39.97 kB / 347.9 MB, free: 4.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00215/0.5316, allocations: 0.8949 MB / 348.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5316, allocations: 0 / 348.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002702/0.5343, allocations: 462.5 kB / 349.2 MB, free: 3.047 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.0005526/0.5349, allocations: 149.7 kB / 349.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006299/0.5412, allocations: 2.201 MB / 351.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.5413, allocations: 0 / 351.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.5456, allocations: 1.419 MB / 353 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.5489, allocations: 378.6 kB / 353.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.563, allocations: 5.28 MB / 358.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/0.5663, allocations: 1.811 MB / 360.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/0.5672, allocations: 119.4 kB / 360.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5673, allocations: 0 / 360.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of Templates: time 0.131/0.6982, allocations: 63.82 MB / 424.4 MB, free: 7.594 MB / 346.7 MB