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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.655/1.655, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.444e-05, allocations: 6.031 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 38.77 MB / 266.9 MB, free: 472 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.02074/0.1216, allocations: 9.367 MB / 276.3 MB, free: 7.051 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1335, allocations: 3.341 MB / 279.6 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.1359, allocations: 79.69 kB / 279.7 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.1394, allocations: 0.6449 MB / 280.4 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.1446, allocations: 0.8215 MB / 281.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1466, allocations: 303.5 kB / 281.5 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.006639/0.1533, allocations: 2 MB / 283.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00464/0.158, allocations: 1.658 MB / 285.1 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.1609, allocations: 1.075 MB / 286.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004254/0.1652, allocations: 1.425 MB / 287.6 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.167, allocations: 207.9 kB / 287.8 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.1681, allocations: 144 kB / 288 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.1702, allocations: 0.9151 MB / 288.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.1718, allocations: 328 kB / 289.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.1804, allocations: 5.197 MB / 294.4 MB, free: 4.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1805, allocations: 4 kB / 294.4 MB, free: 4.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1805, allocations: 0 / 294.4 MB, free: 4.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002178/0.1807, allocations: 0 / 294.4 MB, free: 4.875 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.0114/0.1921, allocations: 3.293 MB / 297.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1922, allocations: 8.031 kB / 297.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.1945, allocations: 439.1 kB / 298.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2974/0.4919, allocations: 2.137 MB / 300.3 MB, free: 25.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005207/0.4925, allocations: 231 kB / 300.5 MB, free: 25.62 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.4942, allocations: 305.8 kB / 300.8 MB, free: 25.53 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.5156, allocations: 4.309 MB / 305.1 MB, free: 23.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/0.5158, allocations: 8.984 kB / 305.1 MB, free: 23.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009918/0.5169, allocations: 124 kB / 305.2 MB, free: 23.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/0.5172, allocations: 131.2 kB / 305.4 MB, free: 23.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.5353, allocations: 3.749 MB / 309.1 MB, free: 22.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04175/0.5771, allocations: 13.54 MB / 322.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/0.5826, allocations: 2.901 MB / 325.6 MB, free: 9.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/0.5831, allocations: 135.8 kB / 325.7 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.5831, allocations: 51.88 kB / 325.7 MB, free: 9.516 MB / 250.7 MB Notification: Performance of pre-optimization done (n=164): time 4.779e-06/0.5832, allocations: 0 / 325.7 MB, free: 9.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=180): time 0.03113/0.6143, allocations: 9.345 MB / 335.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.6144, allocations: 73.41 kB / 335.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/0.6196, allocations: 2.016 MB / 337.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004283/0.6201, allocations: 61.7 kB / 337.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.6219, allocations: 1.467 MB / 338.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.6229, allocations: 0.6005 MB / 339.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.6232, allocations: 40 kB / 339.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.6234, allocations: 389.8 kB / 339.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.6269, allocations: 1.14 MB / 340.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.631, allocations: 1.571 MB / 342.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.6352, allocations: 1.353 MB / 343.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.6353, allocations: 4 kB / 343.8 MB, free: 7.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01183/0.6471, allocations: 3.625 MB / 347.4 MB, free: 3.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.6472, allocations: 13.08 kB / 347.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.6472, allocations: 16 kB / 347.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/0.6509, allocations: 0.7981 MB / 348.2 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.6547, allocations: 455.3 kB / 348.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.6728, allocations: 10.52 MB / 359.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.676, allocations: 131.9 kB / 359.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/0.6764, allocations: 75.59 kB / 359.4 MB, free: 6.695 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.003203/0.6797, allocations: 1.091 MB / 360.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008628/0.6805, allocations: 249 kB / 360.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.6908, allocations: 3.345 MB / 364.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.6909, allocations: 20 kB / 364.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.6909, allocations: 4 kB / 364.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.44e-05/0.691, allocations: 11.95 kB / 364.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/0.7121, allocations: 6.853 MB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.7122, allocations: 8.219 kB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/0.715, allocations: 303.5 kB / 371.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/0.7196, allocations: 0.9236 MB / 372.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004032/0.72, allocations: 43.92 kB / 372.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.7425, allocations: 13.71 MB / 385.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7425, allocations: 0 / 385.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.7572, allocations: 5.072 MB / 391 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/0.7594, allocations: 0.5721 MB / 391.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009234/0.7604, allocations: 36 kB / 391.6 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/0.7633, allocations: 135.9 kB / 391.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007451/0.7641, allocations: 145.7 kB / 391.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/0.7643, allocations: 47.98 kB / 392 MB, free: 4.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004158/0.7685, allocations: 1.555 MB / 393.5 MB, free: 3.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7685, allocations: 0 / 393.5 MB, free: 3.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003854/0.7724, allocations: 0.7067 MB / 394.2 MB, free: 2.656 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.0007958/0.7732, allocations: 173.6 kB / 394.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01023/0.7835, allocations: 3.627 MB / 398 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.7835, allocations: 4.188 kB / 398 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006944/0.7905, allocations: 2.531 MB / 400.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/0.796, allocations: 0.6507 MB / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.8166, allocations: 7.938 MB / 409.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00497/0.8216, allocations: 2.575 MB / 411.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003526/0.8252, allocations: 0.5865 MB / 412.3 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.8263, allocations: 151.4 kB / 412.4 MB, free: 136 kB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.8263, allocations: 4 kB / 412.4 MB, free: 132 kB / 330.7 MB Notification: Performance of Templates: time 0.3336/1.16, allocations: 37.87 MB / 450.3 MB, free: 100.1 MB / 346.7 MB