Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.126e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01565/0.1256, allocations: 9.269 MB / 354.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008991/0.1346, allocations: 3.333 MB / 357.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.1369, allocations: 87.69 kB / 357.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.1395, allocations: 0.6371 MB / 358.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.1437, allocations: 0.8216 MB / 359.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1453, allocations: 295.5 kB / 359.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005496/0.1508, allocations: 1.973 MB / 361.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.1545, allocations: 1.737 MB / 363.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.1569, allocations: 1.052 MB / 364.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.1604, allocations: 1.437 MB / 365.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.162, allocations: 195.9 kB / 365.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007409/0.1628, allocations: 136 kB / 365.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.1643, allocations: 0.9034 MB / 366.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.1657, allocations: 328 kB / 367.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008183/0.1739, allocations: 5.228 MB / 372.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.174, allocations: 0 / 372.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.174, allocations: 4 kB / 372.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002139/0.1742, allocations: 0 / 372.4 MB, free: 13.46 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01125/0.1855, allocations: 3.297 MB / 375.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1855, allocations: 12.03 kB / 375.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.1879, allocations: 439.1 kB / 376.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006899/0.1948, allocations: 2.278 MB / 378.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.1952, allocations: 230.2 kB / 378.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.1964, allocations: 315.9 kB / 378.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.2101, allocations: 4.322 MB / 383.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.2103, allocations: 11.94 kB / 383.3 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005318/0.2108, allocations: 124 kB / 383.4 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/0.211, allocations: 130 kB / 383.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.2237, allocations: 3.775 MB / 387.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03828/0.262, allocations: 13.54 MB / 400.8 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2976/0.5597, allocations: 2.884 MB / 403.7 MB, free: 45.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.5603, allocations: 127.1 kB / 403.8 MB, free: 45.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.5603, allocations: 56.08 kB / 403.9 MB, free: 45.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=164): time 5.73e-06/0.5603, allocations: 0 / 403.9 MB, free: 45.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.03405/0.5944, allocations: 9.126 MB / 413 MB, free: 42.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.5945, allocations: 70.94 kB / 413.1 MB, free: 42.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/0.5997, allocations: 2.042 MB / 415.1 MB, free: 41.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004322/0.6002, allocations: 57.58 kB / 415.2 MB, free: 41.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.6013, allocations: 1.368 MB / 416.6 MB, free: 40.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008922/0.6022, allocations: 0.6012 MB / 417.2 MB, free: 39.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.6025, allocations: 42.97 kB / 417.2 MB, free: 39.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6027, allocations: 390.4 kB / 417.6 MB, free: 39.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.6057, allocations: 1.137 MB / 418.7 MB, free: 38.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.6095, allocations: 1.579 MB / 420.3 MB, free: 38.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.6131, allocations: 1.356 MB / 421.7 MB, free: 37.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/0.6131, allocations: 6.906 kB / 421.7 MB, free: 37.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009708/0.6229, allocations: 3.465 MB / 425.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.623, allocations: 7.375 kB / 425.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.623, allocations: 22.89 kB / 425.2 MB, free: 35.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.6262, allocations: 0.8017 MB / 426 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/0.6298, allocations: 455.3 kB / 426.4 MB, free: 34.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.6438, allocations: 10.51 MB / 436.9 MB, free: 23.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/0.6474, allocations: 135.9 kB / 437.1 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004886/0.6479, allocations: 79.05 kB / 437.1 MB, free: 23.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003002/0.6509, allocations: 1.087 MB / 438.2 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008698/0.6518, allocations: 245.9 kB / 438.5 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/0.6603, allocations: 3.346 MB / 441.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.6604, allocations: 17.5 kB / 441.8 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.6604, allocations: 12 kB / 441.8 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.6604, allocations: 11.95 kB / 441.8 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.6779, allocations: 6.865 MB / 448.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.678, allocations: 4 kB / 448.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/0.6805, allocations: 303.8 kB / 449 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003883/0.6844, allocations: 0.9197 MB / 449.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003366/0.6848, allocations: 43.97 kB / 450 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.703, allocations: 13.73 MB / 463.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.7031, allocations: 8.203 kB / 463.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.7169, allocations: 5.051 MB / 468.8 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/0.7191, allocations: 0.5721 MB / 469.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00079/0.7199, allocations: 35.98 kB / 469.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/0.7225, allocations: 135.8 kB / 469.5 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005919/0.7232, allocations: 157.7 kB / 469.7 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/0.7234, allocations: 51.98 kB / 469.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003841/0.7273, allocations: 1.566 MB / 471.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7273, allocations: 0 / 471.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003754/0.7311, allocations: 0.7068 MB / 472 MB, free: 3.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006609/0.7318, allocations: 174.8 kB / 472.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009213/0.741, allocations: 3.625 MB / 475.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.741, allocations: 0 / 475.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006406/0.7475, allocations: 2.533 MB / 478.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/0.7528, allocations: 0.6605 MB / 479 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.773, allocations: 7.963 MB / 486.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004029/0.7771, allocations: 2.548 MB / 489.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/0.7785, allocations: 167.4 kB / 489.6 MB, free: 1.238 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7785, allocations: 0 / 489.6 MB, free: 1.238 MB / 362.7 MB Notification: Performance of Templates: time 0.6022/1.381, allocations: 157.6 MB / 0.6321 GB, free: 85.92 MB / 442.7 MB