Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aims.i_0_r|aims.idq_rr.1.|aims.idq_rr.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.885e-05, allocations: 4 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.08831, allocations: 38.78 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.016/0.1044, allocations: 9.366 MB / 276.3 MB, free: 7.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00973/0.1142, allocations: 3.353 MB / 279.6 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.1166, allocations: 83.62 kB / 279.7 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.1197, allocations: 0.641 MB / 280.3 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005758/0.1255, allocations: 0.8176 MB / 281.2 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.1274, allocations: 307.5 kB / 281.5 MB, free: 2.508 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.006086/0.1336, allocations: 1.989 MB / 283.4 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.1376, allocations: 1.662 MB / 285.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.1405, allocations: 1.071 MB / 286.2 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.1444, allocations: 1.425 MB / 287.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.1464, allocations: 207.9 kB / 287.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.1475, allocations: 140 kB / 287.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002084/0.1496, allocations: 0.9112 MB / 288.9 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.1517, allocations: 328 kB / 289.2 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008848/0.1606, allocations: 5.212 MB / 294.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1606, allocations: 0 / 294.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1607, allocations: 0 / 294.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.1609, allocations: 0 / 294.4 MB, free: 5.535 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: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.01169/0.1726, allocations: 3.285 MB / 297.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1727, allocations: 8.031 kB / 297.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.1752, allocations: 439.1 kB / 298.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2297/0.4049, allocations: 2.141 MB / 300.3 MB, free: 25.61 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/0.4055, allocations: 229.1 kB / 300.5 MB, free: 25.6 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.407, allocations: 308.7 kB / 300.8 MB, free: 25.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.4225, allocations: 4.309 MB / 305.1 MB, free: 23.97 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.4227, allocations: 8.297 kB / 305.1 MB, free: 23.97 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007689/0.4235, allocations: 131.8 kB / 305.2 MB, free: 23.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.4237, allocations: 130 kB / 305.4 MB, free: 23.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.4368, allocations: 3.751 MB / 309.1 MB, free: 22.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/0.4721, allocations: 13.52 MB / 322.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/0.4776, allocations: 2.897 MB / 325.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.4782, allocations: 129.3 kB / 325.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.4782, allocations: 55.41 kB / 325.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=164): time 4.429e-06/0.4782, allocations: 0 / 325.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=180): time 0.03083/0.5091, allocations: 9.352 MB / 335.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.5092, allocations: 73.41 kB / 335.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/0.514, allocations: 2.024 MB / 337.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004512/0.5145, allocations: 57.7 kB / 337.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.5159, allocations: 1.355 MB / 338.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/0.5169, allocations: 0.6003 MB / 339.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.5172, allocations: 44 kB / 339.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.5174, allocations: 386.8 kB / 339.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.5208, allocations: 1.14 MB / 340.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.5248, allocations: 1.575 MB / 342.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.5287, allocations: 1.357 MB / 343.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.5288, allocations: 4 kB / 343.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01073/0.5395, allocations: 3.474 MB / 347.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.5396, allocations: 13.56 kB / 347.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.5397, allocations: 12 kB / 347.2 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/0.5432, allocations: 0.7939 MB / 348 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/0.547, allocations: 459.3 kB / 348.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.5641, allocations: 10.52 MB / 358.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/0.5673, allocations: 131.9 kB / 359 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004965/0.5679, allocations: 80.06 kB / 359.1 MB, free: 7.652 MB / 282.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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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.00329/0.5712, allocations: 1.079 MB / 360.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008848/0.5721, allocations: 245 kB / 360.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.5829, allocations: 3.357 MB / 363.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.583, allocations: 16 kB / 363.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.583, allocations: 8 kB / 363.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/0.5831, allocations: 7.969 kB / 363.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/0.6039, allocations: 6.858 MB / 370.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.604, allocations: 4 kB / 370.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/0.6067, allocations: 299.5 kB / 371 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004371/0.6111, allocations: 0.9317 MB / 371.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004124/0.6116, allocations: 39.98 kB / 372 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/0.6328, allocations: 13.71 MB / 385.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-06/0.6329, allocations: 7.938 kB / 385.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.647, allocations: 5.051 MB / 390.7 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/0.6491, allocations: 0.576 MB / 391.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008535/0.65, allocations: 43.94 kB / 391.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/0.6525, allocations: 131.9 kB / 391.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/0.6532, allocations: 145.7 kB / 391.6 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/0.6534, allocations: 55.92 kB / 391.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003992/0.6574, allocations: 1.559 MB / 393.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.6575, allocations: 0 / 393.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003579/0.6611, allocations: 0.7023 MB / 393.9 MB, free: 3.609 MB / 314.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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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.0006674/0.6618, allocations: 171.6 kB / 394.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009346/0.6712, allocations: 3.624 MB / 397.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.6712, allocations: 0 / 397.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00645/0.6777, allocations: 2.528 MB / 400.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/0.6829, allocations: 0.6583 MB / 400.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.7025, allocations: 7.944 MB / 408.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/0.7065, allocations: 2.536 MB / 411.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.7078, allocations: 163.4 kB / 411.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7078, allocations: 0 / 411.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of Templates: time 0.7125/1.42, allocations: 156.8 MB / 0.555 GB, free: 120.9 MB / 362.7 MB