Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.516e-05, allocations: 15.83 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3054, allocations: 44.51 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01368/0.3191, allocations: 7.684 MB / 311 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007627/0.3268, allocations: 2.722 MB / 313.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.3286, allocations: 55.81 kB / 313.8 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.3307, allocations: 469.3 kB / 314.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.3339, allocations: 0.5957 MB / 314.8 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3352, allocations: 235.7 kB / 315.1 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003731/0.339, allocations: 1.217 MB / 316.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.3412, allocations: 0.926 MB / 317.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.3427, allocations: 0.6272 MB / 317.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.3449, allocations: 0.8293 MB / 318.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.346, allocations: 143.9 kB / 318.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.3466, allocations: 84 kB / 318.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009522/0.3475, allocations: 0.5139 MB / 319.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008186/0.3484, allocations: 196 kB / 319.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.3532, allocations: 2.875 MB / 322.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3532, allocations: 0 / 322.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.3533, allocations: 4 kB / 322.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.3534, allocations: 0 / 322.5 MB, free: 10.49 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006473/0.3599, allocations: 2.001 MB / 324.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.36, allocations: 12.03 kB / 324.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.3614, allocations: 265.1 kB / 324.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.3651, allocations: 1.224 MB / 326 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.3653, allocations: 151.8 kB / 326.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006746/0.366, allocations: 188 kB / 326.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007487/0.3735, allocations: 2.387 MB / 328.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.3737, allocations: 7.906 kB / 328.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.374, allocations: 76 kB / 328.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.3742, allocations: 91.64 kB / 328.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00692/0.3811, allocations: 1.955 MB / 330.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.4036, allocations: 7.856 MB / 338.7 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.4067, allocations: 1.219 MB / 339.9 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.4071, allocations: 122.1 kB / 340 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.4072, allocations: 43.56 kB / 340 MB, free: 8.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 4.538e-06/0.4072, allocations: 0 / 340 MB, free: 8.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.02315/0.4304, allocations: 5.887 MB / 345.9 MB, free: 2.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.4305, allocations: 64.41 kB / 346 MB, free: 2.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.4332, allocations: 1.104 MB / 347.1 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.4335, allocations: 41.7 kB / 347.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009246/0.4344, allocations: 0.8903 MB / 348 MB, free: 288 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/0.4351, allocations: 386.6 kB / 348.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.4352, allocations: 32 kB / 348.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.4355, allocations: 366.6 kB / 348.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.4375, allocations: 0.6364 MB / 349.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.4399, allocations: 0.9964 MB / 350.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.4422, allocations: 0.7838 MB / 351.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.4422, allocations: 4 kB / 351.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006825/0.4491, allocations: 2.141 MB / 353.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.4492, allocations: 12 kB / 353.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/0.4492, allocations: 12.31 kB / 353.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.4514, allocations: 487.9 kB / 353.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.4537, allocations: 303.5 kB / 354.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.4653, allocations: 6.605 MB / 360.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4672, allocations: 91.88 kB / 360.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.4675, allocations: 56 kB / 360.9 MB, free: 2.801 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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: 3 * 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: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001721/0.4692, allocations: 0.5989 MB / 361.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/0.4698, allocations: 146.2 kB / 361.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.4758, allocations: 1.949 MB / 363.6 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.4758, allocations: 12 kB / 363.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.4759, allocations: 4 kB / 363.6 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.4759, allocations: 3.984 kB / 363.6 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.4882, allocations: 4.08 MB / 367.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.4883, allocations: 4 kB / 367.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.49, allocations: 183.8 kB / 367.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.4928, allocations: 0.5271 MB / 368.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.4931, allocations: 35.98 kB / 368.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.5068, allocations: 8.112 MB / 376.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.5069, allocations: 7.953 kB / 376.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008307/0.5152, allocations: 2.964 MB / 379.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.5166, allocations: 351.2 kB / 379.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006058/0.5173, allocations: 24 kB / 379.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.519, allocations: 75.92 kB / 380 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/0.5196, allocations: 92.86 kB / 380 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.5197, allocations: 35.98 kB / 380.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002101/0.5218, allocations: 0.8448 MB / 380.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5219, allocations: 0 / 380.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002507/0.5244, allocations: 452 kB / 381.4 MB, free: 13.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004841/0.5249, allocations: 150 kB / 381.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005796/0.5307, allocations: 2.221 MB / 383.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.5308, allocations: 0 / 383.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.5348, allocations: 1.51 MB / 385.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.5379, allocations: 378.1 kB / 385.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.5496, allocations: 4.93 MB / 390.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/0.5518, allocations: 1.669 MB / 392.2 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.5526, allocations: 107.4 kB / 392.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5526, allocations: 4 kB / 392.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of Templates: time 0.3581/0.9107, allocations: 66.48 MB / 458.8 MB, free: 83.18 MB / 362.7 MB