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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.9 MB / 210.6 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.703e-05, allocations: 0 / 258.8 MB, free: 9.02 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3027, allocations: 44.51 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01214/0.3149, allocations: 7.04 MB / 310.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006762/0.3217, allocations: 2.566 MB / 312.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3231, allocations: 43.88 kB / 313 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.3249, allocations: 461.4 kB / 313.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.3277, allocations: 0.5529 MB / 314 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3288, allocations: 195.7 kB / 314.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.332, allocations: 1.15 MB / 315.3 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.334, allocations: 0.9135 MB / 316.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.3353, allocations: 0.596 MB / 316.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.3373, allocations: 0.8566 MB / 317.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009144/0.3383, allocations: 147.9 kB / 317.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00043/0.3388, allocations: 80 kB / 317.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008803/0.3397, allocations: 0.5335 MB / 318.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.3405, allocations: 192 kB / 318.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.3451, allocations: 2.922 MB / 321.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3452, allocations: 0 / 321.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3452, allocations: 3.938 kB / 321.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.3453, allocations: 0 / 321.6 MB, free: 11.44 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.006388/0.3517, allocations: 2.008 MB / 323.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3518, allocations: 12.03 kB / 323.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.3532, allocations: 257.2 kB / 323.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.357, allocations: 1.26 MB / 325.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3572, allocations: 135.6 kB / 325.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/0.3578, allocations: 183.8 kB / 325.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007171/0.365, allocations: 2.394 MB / 327.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.099e-05/0.3652, allocations: 4 kB / 327.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.3655, allocations: 75.98 kB / 327.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.3657, allocations: 91.45 kB / 328 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006738/0.3724, allocations: 2.012 MB / 330 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.3938, allocations: 7.464 MB / 337.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.3971, allocations: 1.276 MB / 338.7 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.3975, allocations: 114.1 kB / 338.8 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3976, allocations: 47.55 kB / 338.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 4.188e-06/0.3976, allocations: 0 / 338.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.01615/0.4137, allocations: 5.056 MB / 343.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.4138, allocations: 64.41 kB / 344 MB, free: 4.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.4167, allocations: 1.171 MB / 345.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.417, allocations: 41.7 kB / 345.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.418, allocations: 0.9047 MB / 346.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.4185, allocations: 354.9 kB / 346.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4187, allocations: 20 kB / 346.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4189, allocations: 353.9 kB / 346.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4208, allocations: 0.635 MB / 347.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.423, allocations: 0.9337 MB / 348.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.4252, allocations: 0.772 MB / 349.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.4252, allocations: 0 / 349.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007638/0.4329, allocations: 2.429 MB / 351.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.4329, allocations: 8 kB / 351.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.433, allocations: 8 kB / 351.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.4363, allocations: 0.7508 MB / 352.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.4381, allocations: 227.6 kB / 352.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.4571, allocations: 8.562 MB / 361.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.4589, allocations: 83.91 kB / 361.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.4591, allocations: 44 kB / 361.3 MB, free: 2.695 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.001626/0.4607, allocations: 0.6302 MB / 361.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.4612, allocations: 146.2 kB / 362 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/0.467, allocations: 1.909 MB / 363.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.467, allocations: 15.94 kB / 364 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4671, allocations: 7.953 kB / 364 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.4671, allocations: 3.984 kB / 364 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.4786, allocations: 3.992 MB / 368 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.4787, allocations: 3.953 kB / 368 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.4803, allocations: 184 kB / 368.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.4826, allocations: 470.9 kB / 368.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/0.4828, allocations: 27.98 kB / 368.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.4934, allocations: 6.259 MB / 374.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4935, allocations: 3.938 kB / 374.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008044/0.5015, allocations: 2.914 MB / 377.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.5028, allocations: 359.1 kB / 378.2 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.5032, allocations: 24 kB / 378.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.5047, allocations: 75.92 kB / 378.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.505, allocations: 80.81 kB / 378.3 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.5051, allocations: 27.98 kB / 378.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002101/0.5073, allocations: 0.9113 MB / 379.3 MB, free: 40 kB / 314.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5073, allocations: 0 / 379.3 MB, free: 40 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.002244/0.5095, allocations: 440.1 kB / 379.7 MB, free: 15.61 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.0004693/0.5101, allocations: 148.6 kB / 379.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005911/0.516, allocations: 2.046 MB / 381.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.516, allocations: 4 kB / 381.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/0.5198, allocations: 1.356 MB / 383.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/0.5227, allocations: 348.6 kB / 383.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.5338, allocations: 4.745 MB / 388.3 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.5361, allocations: 1.739 MB / 390.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001789/0.5379, allocations: 308 kB / 390.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.5384, allocations: 99.41 kB / 390.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5384, allocations: 0 / 390.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of Templates: time 0.06491/0.6033, allocations: 21.66 MB / 412.1 MB, free: 14.98 MB / 362.7 MB