Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.97e-05, allocations: 6.188 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08358, allocations: 38.78 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01288/0.09651, allocations: 7.399 MB / 274.3 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.1047, allocations: 2.643 MB / 277 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.1063, allocations: 51.81 kB / 277 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1084, allocations: 473.3 kB / 277.5 MB, free: 5.867 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.1118, allocations: 0.5957 MB / 278.1 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1129, allocations: 211.7 kB / 278.3 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004192/0.1172, allocations: 1.291 MB / 279.6 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.12, allocations: 1.021 MB / 280.6 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.1219, allocations: 0.6739 MB / 281.3 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.1246, allocations: 0.9306 MB / 282.2 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009782/0.1256, allocations: 151.9 kB / 282.3 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005231/0.1261, allocations: 92 kB / 282.4 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.1274, allocations: 0.5919 MB / 283 MB, free: 300 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008964/0.1283, allocations: 212 kB / 283.2 MB, free: 88 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.1349, allocations: 3.198 MB / 286.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.135, allocations: 4 kB / 286.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.135, allocations: 0 / 286.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.1352, allocations: 4 kB / 286.4 MB, free: 12.87 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.009268/0.1444, allocations: 2.193 MB / 288.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.1445, allocations: 11.97 kB / 288.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.1464, allocations: 284.8 kB / 288.9 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005359/0.1518, allocations: 1.375 MB / 290.3 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.1521, allocations: 148 kB / 290.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/0.1529, allocations: 199.9 kB / 290.6 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.1635, allocations: 2.684 MB / 293.3 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.1637, allocations: 4 kB / 293.3 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.1641, allocations: 80 kB / 293.4 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/0.1643, allocations: 91.89 kB / 293.5 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009871/0.1742, allocations: 2.307 MB / 295.8 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2697/0.444, allocations: 8.349 MB / 304.2 MB, free: 24.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/0.4487, allocations: 1.777 MB / 305.9 MB, free: 23.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/0.4492, allocations: 121 kB / 306 MB, free: 23.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.4492, allocations: 50.05 kB / 306.1 MB, free: 23.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=104): time 5.54e-06/0.4492, allocations: 0 / 306.1 MB, free: 23.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=120): time 0.0273/0.4766, allocations: 6.195 MB / 312.3 MB, free: 21.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4767, allocations: 68.78 kB / 312.4 MB, free: 21.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.4796, allocations: 1.281 MB / 313.6 MB, free: 20.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.4799, allocations: 48.05 kB / 313.7 MB, free: 20.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008282/0.4808, allocations: 0.9573 MB / 314.6 MB, free: 19.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.4813, allocations: 423.6 kB / 315.1 MB, free: 19.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4815, allocations: 25.56 kB / 315.1 MB, free: 19.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4816, allocations: 360.1 kB / 315.4 MB, free: 18.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.4835, allocations: 0.7462 MB / 316.2 MB, free: 18.4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.4854, allocations: 1.064 MB / 317.2 MB, free: 17.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.4874, allocations: 0.8902 MB / 318.1 MB, free: 17.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.4874, allocations: 3.344 kB / 318.1 MB, free: 17.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006116/0.4936, allocations: 2.362 MB / 320.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.4936, allocations: 7.375 kB / 320.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4937, allocations: 11.09 kB / 320.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.4953, allocations: 418.7 kB / 320.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.4979, allocations: 320.2 kB / 321.2 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/0.5049, allocations: 4.746 MB / 326 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.5074, allocations: 91.81 kB / 326.1 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/0.5079, allocations: 56.56 kB / 326.1 MB, free: 10.83 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002487/0.5104, allocations: 0.7081 MB / 326.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007407/0.5111, allocations: 166 kB / 327 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007801/0.519, allocations: 2.167 MB / 329.2 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.519, allocations: 12 kB / 329.2 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.5191, allocations: 4 kB / 329.2 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/0.5191, allocations: 3.984 kB / 329.2 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.535, allocations: 4.556 MB / 333.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.5351, allocations: 3.984 kB / 333.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/0.5374, allocations: 224 kB / 334 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002665/0.5401, allocations: 463.6 kB / 334.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.5404, allocations: 35.98 kB / 334.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.5532, allocations: 6.27 MB / 340.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5533, allocations: 4 kB / 340.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.5655, allocations: 3.368 MB / 344.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/0.5674, allocations: 399.2 kB / 344.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006478/0.5681, allocations: 28 kB / 344.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.5702, allocations: 87.89 kB / 344.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/0.5707, allocations: 104.8 kB / 344.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.5709, allocations: 32 kB / 344.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003403/0.5743, allocations: 0.9892 MB / 345.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.657e-06/0.5744, allocations: 0 / 345.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003608/0.578, allocations: 458.6 kB / 346.2 MB, free: 6.164 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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 {(2,100.0%) 12,(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.0006818/0.5787, allocations: 160.7 kB / 346.3 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.008365/0.5871, allocations: 2.285 MB / 348.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.5872, allocations: 0 / 348.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005599/0.5928, allocations: 1.515 MB / 350.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/0.5971, allocations: 400 kB / 350.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.6131, allocations: 5.257 MB / 355.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003284/0.6165, allocations: 1.861 MB / 357.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.002867/0.6194, allocations: 397.4 kB / 358 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/0.6201, allocations: 107.4 kB / 358.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6202, allocations: 0 / 358.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of Templates: time 0.08597/0.7062, allocations: 22.63 MB / 380.8 MB, free: 3.422 MB / 298.7 MB