Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.059e-05, allocations: 4 kB / 258.8 MB, free: 8.684 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3025, allocations: 44.49 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01339/0.3159, allocations: 7.449 MB / 310.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007611/0.3236, allocations: 2.667 MB / 313.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3254, allocations: 51.81 kB / 313.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.3274, allocations: 473.3 kB / 313.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.3307, allocations: 0.5918 MB / 314.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.332, allocations: 223.6 kB / 314.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003933/0.336, allocations: 1.294 MB / 316 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3383, allocations: 1.013 MB / 317 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3398, allocations: 0.6661 MB / 317.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.3422, allocations: 0.9462 MB / 318.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.3434, allocations: 151.9 kB / 318.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.3439, allocations: 88 kB / 318.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.345, allocations: 0.5958 MB / 319.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009945/0.3461, allocations: 212 kB / 319.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.3515, allocations: 3.237 MB / 322.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3516, allocations: 0 / 322.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.3516, allocations: 0 / 322.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.3517, allocations: 0 / 322.9 MB, free: 9.992 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007598/0.3594, allocations: 2.209 MB / 325.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.3594, allocations: 8.031 kB / 325.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.3611, allocations: 292.7 kB / 325.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.3656, allocations: 1.391 MB / 326.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.3659, allocations: 148 kB / 327 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008906/0.3668, allocations: 211.9 kB / 327.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008994/0.3758, allocations: 2.708 MB / 329.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.376, allocations: 7.906 kB / 329.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/0.3764, allocations: 87.95 kB / 330 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.3766, allocations: 95.91 kB / 330.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/0.3847, allocations: 2.326 MB / 332.4 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02417/0.4089, allocations: 8.415 MB / 340.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.4129, allocations: 1.768 MB / 342.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.4134, allocations: 130.9 kB / 342.7 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.4134, allocations: 47.55 kB / 342.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 4.087e-06/0.4134, allocations: 0 / 342.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.02404/0.4375, allocations: 6.2 MB / 349 MB, free: 15.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.4376, allocations: 64.41 kB / 349 MB, free: 15.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/0.4409, allocations: 1.294 MB / 350.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002932/0.4412, allocations: 45.7 kB / 350.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.4423, allocations: 0.9452 MB / 351.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007119/0.443, allocations: 414 kB / 351.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.4432, allocations: 28 kB / 351.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.4434, allocations: 366.8 kB / 352.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.4457, allocations: 0.7417 MB / 352.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.4484, allocations: 1.063 MB / 353.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.4512, allocations: 0.8847 MB / 354.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.4512, allocations: 4 kB / 354.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007284/0.4585, allocations: 2.268 MB / 357.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.4586, allocations: 13.75 kB / 357.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.4587, allocations: 15.95 kB / 357.1 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.4604, allocations: 403.1 kB / 357.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.4631, allocations: 331.5 kB / 357.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008603/0.4717, allocations: 4.736 MB / 362.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.4739, allocations: 95.97 kB / 362.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.4744, allocations: 55.98 kB / 362.7 MB, free: 1.055 MB / 298.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * 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.002244/0.4766, allocations: 0.7159 MB / 363.4 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/0.4772, allocations: 158 kB / 363.6 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007329/0.4846, allocations: 2.161 MB / 365.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.4847, allocations: 15.94 kB / 365.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/0.4847, allocations: 4 kB / 365.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.4848, allocations: 11.91 kB / 365.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.499, allocations: 4.571 MB / 370.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.499, allocations: 4.031 kB / 370.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.5011, allocations: 227.7 kB / 370.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/0.5035, allocations: 466.9 kB / 371 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.5038, allocations: 35.92 kB / 371 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.5147, allocations: 6.276 MB / 377.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5148, allocations: 4.141 kB / 377.3 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009437/0.5242, allocations: 3.351 MB / 380.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.5257, allocations: 403 kB / 381.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/0.5264, allocations: 24 kB / 381.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.5282, allocations: 87.91 kB / 381.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/0.5288, allocations: 108.9 kB / 381.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.5289, allocations: 32 kB / 381.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002513/0.5314, allocations: 1.001 MB / 382.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.5315, allocations: 0 / 382.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002442/0.5339, allocations: 464 kB / 382.8 MB, free: 12.28 MB / 330.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * 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.0004931/0.5345, allocations: 163 kB / 382.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006171/0.5407, allocations: 2.29 MB / 385.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.5407, allocations: 0 / 385.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004136/0.5449, allocations: 1.508 MB / 386.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.5482, allocations: 405.6 kB / 387.1 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.5616, allocations: 5.334 MB / 392.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.5643, allocations: 1.842 MB / 394.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009133/0.5653, allocations: 123.4 kB / 394.4 MB, free: 404 kB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5653, allocations: 0 / 394.4 MB, free: 404 kB / 330.7 MB Notification: Performance of Templates: time 0.426/0.9914, allocations: 66.04 MB / 460.4 MB, free: 81.77 MB / 362.7 MB