Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_Initialize") Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.055e-05, allocations: 11.91 kB / 258.8 MB, free: 8.691 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.315, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01648/0.3316, allocations: 7.043 MB / 310.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008033/0.3397, allocations: 2.564 MB / 312.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.3412, allocations: 43.88 kB / 313 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.3434, allocations: 457.4 kB / 313.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.3464, allocations: 0.5529 MB / 314 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3475, allocations: 199.7 kB / 314.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.3509, allocations: 1.15 MB / 315.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.3528, allocations: 0.9135 MB / 316.2 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.3543, allocations: 0.5999 MB / 316.8 MB, free: 168 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.3563, allocations: 0.8528 MB / 317.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3574, allocations: 143.9 kB / 317.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006065/0.3581, allocations: 83.94 kB / 317.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.3593, allocations: 0.5374 MB / 318.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009626/0.3604, allocations: 188 kB / 318.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.3653, allocations: 2.926 MB / 321.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3653, allocations: 0 / 321.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.3654, allocations: 0 / 321.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.3655, allocations: 0 / 321.5 MB, free: 11.43 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006359/0.3719, allocations: 2.008 MB / 323.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3719, allocations: 8.031 kB / 323.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.3733, allocations: 253.2 kB / 323.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.377, allocations: 1.268 MB / 325.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.3772, allocations: 143.5 kB / 325.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005484/0.3778, allocations: 175.9 kB / 325.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006957/0.3847, allocations: 2.39 MB / 327.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.284e-05/0.3849, allocations: 7.984 kB / 327.8 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.3852, allocations: 75.98 kB / 327.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.3853, allocations: 87.45 kB / 327.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00628/0.3916, allocations: 2.02 MB / 330 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.4116, allocations: 7.464 MB / 337.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.4148, allocations: 1.269 MB / 338.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/0.4152, allocations: 122.1 kB / 338.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.4152, allocations: 39.56 kB / 338.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 3.216e-06/0.4153, allocations: 0 / 338.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.01661/0.4319, allocations: 5.063 MB / 343.9 MB, free: 4.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.432, allocations: 68.41 kB / 344 MB, free: 4.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.4348, allocations: 1.174 MB / 345.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.4351, allocations: 45.7 kB / 345.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/0.436, allocations: 0.8592 MB / 346 MB, free: 2.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/0.4365, allocations: 350.9 kB / 346.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.4366, allocations: 24 kB / 346.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4368, allocations: 358.8 kB / 346.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.4387, allocations: 0.6428 MB / 347.4 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.4409, allocations: 0.9259 MB / 348.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.4431, allocations: 0.772 MB / 349.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.4432, allocations: 4 kB / 349.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007144/0.4503, allocations: 2.337 MB / 351.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.4504, allocations: 8 kB / 351.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.4504, allocations: 8 kB / 351.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/0.4538, allocations: 0.743 MB / 352.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.4555, allocations: 235.6 kB / 352.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/0.4789, allocations: 8.555 MB / 361 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.4817, allocations: 88.16 kB / 361.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.4821, allocations: 47.98 kB / 361.1 MB, free: 2.797 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002678/0.4848, allocations: 0.6223 MB / 361.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/0.4856, allocations: 146.2 kB / 361.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008757/0.4944, allocations: 1.921 MB / 363.8 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.4945, allocations: 12 kB / 363.8 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.4945, allocations: 3.953 kB / 363.8 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/0.4946, allocations: 7.969 kB / 363.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.5115, allocations: 3.992 MB / 367.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/0.5116, allocations: 3.953 kB / 367.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/0.514, allocations: 183.7 kB / 368 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.5175, allocations: 459 kB / 368.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/0.5178, allocations: 32.11 kB / 368.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.5319, allocations: 6.266 MB / 374.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.532, allocations: 0 / 374.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.5437, allocations: 2.902 MB / 377.7 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/0.5456, allocations: 363.1 kB / 378 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/0.5464, allocations: 27.98 kB / 378 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/0.5486, allocations: 75.92 kB / 378.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/0.5491, allocations: 76.83 kB / 378.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.5492, allocations: 31.98 kB / 378.2 MB, free: 1.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002778/0.552, allocations: 0.9152 MB / 379.1 MB, free: 148 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.392e-06/0.552, allocations: 0 / 379.1 MB, free: 148 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.00367/0.5557, allocations: 432 kB / 379.6 MB, free: 15.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0006405/0.5564, allocations: 155.1 kB / 379.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008759/0.5652, allocations: 2.044 MB / 381.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/0.5653, allocations: 4.125 kB / 381.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005268/0.5706, allocations: 1.351 MB / 383.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/0.5745, allocations: 348.6 kB / 383.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04639/0.6209, allocations: 4.79 MB / 388.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/0.6242, allocations: 1.716 MB / 390 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009744/0.6252, allocations: 99.42 kB / 390 MB, free: 5.031 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6252, allocations: 0 / 390 MB, free: 5.031 MB / 330.7 MB Notification: Performance of Templates: time 0.3634/0.9887, allocations: 49.67 MB / 439.7 MB, free: 103.3 MB / 362.7 MB