Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.31e-05, allocations: 4 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09643, allocations: 38.79 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01389/0.1104, allocations: 7.74 MB / 274.6 MB, free: 9.344 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008225/0.1187, allocations: 2.737 MB / 277.4 MB, free: 6.602 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.1207, allocations: 59.81 kB / 277.4 MB, free: 6.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.1232, allocations: 493.2 kB / 277.9 MB, free: 6.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.127, allocations: 0.6463 MB / 278.6 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1285, allocations: 231.7 kB / 278.8 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00451/0.133, allocations: 1.47 MB / 280.3 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002783/0.1359, allocations: 1.194 MB / 281.5 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.138, allocations: 0.7753 MB / 282.2 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.141, allocations: 1.036 MB / 283.3 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1426, allocations: 167.9 kB / 283.4 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000645/0.1433, allocations: 104 kB / 283.5 MB, free: 432 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.1446, allocations: 0.6503 MB / 284.2 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.1459, allocations: 240 kB / 284.4 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006763/0.1526, allocations: 3.705 MB / 288.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1527, allocations: 0 / 288.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1527, allocations: 0 / 288.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.00018/0.1529, allocations: 0 / 288.1 MB, free: 11.82 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.009277/0.1622, allocations: 2.484 MB / 290.6 MB, free: 9.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.1623, allocations: 8.031 kB / 290.6 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.1644, allocations: 328.4 kB / 290.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/0.1698, allocations: 1.564 MB / 292.5 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.1702, allocations: 168.5 kB / 292.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009714/0.1712, allocations: 224 kB / 292.9 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.182, allocations: 3.141 MB / 296 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.1822, allocations: 7.906 kB / 296 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.1826, allocations: 95.98 kB / 296.1 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.1828, allocations: 100.3 kB / 296.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.1932, allocations: 2.722 MB / 298.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2688/0.462, allocations: 9.814 MB / 308.8 MB, free: 23.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/0.4667, allocations: 2.105 MB / 310.9 MB, free: 21.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.4673, allocations: 124.8 kB / 311 MB, free: 21.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.4673, allocations: 45.44 kB / 311 MB, free: 21.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=126): time 4.779e-06/0.4673, allocations: 0 / 311 MB, free: 21.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=142): time 0.03273/0.5001, allocations: 8.099 MB / 319.1 MB, free: 17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.5002, allocations: 71.2 kB / 319.2 MB, free: 16.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.5031, allocations: 1.421 MB / 320.6 MB, free: 16.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003663/0.5035, allocations: 49.27 kB / 320.7 MB, free: 16.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007483/0.5043, allocations: 1.017 MB / 321.7 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.5049, allocations: 493.5 kB / 322.2 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.5051, allocations: 31.88 kB / 322.2 MB, free: 14.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5053, allocations: 376.8 kB / 322.6 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.5078, allocations: 0.9166 MB / 323.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/0.5108, allocations: 1.272 MB / 324.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.5138, allocations: 1.072 MB / 325.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.5139, allocations: 4 kB / 325.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008555/0.5224, allocations: 2.959 MB / 328.8 MB, free: 8.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.5225, allocations: 8.438 kB / 328.8 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.5226, allocations: 16 kB / 328.8 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.5259, allocations: 0.8369 MB / 329.7 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.5284, allocations: 303.5 kB / 329.9 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.5456, allocations: 9.346 MB / 339.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.5481, allocations: 103.9 kB / 339.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/0.5485, allocations: 56 kB / 339.4 MB, free: 13.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002627/0.5511, allocations: 0.8098 MB / 340.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/0.5519, allocations: 185.7 kB / 340.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/0.5614, allocations: 2.867 MB / 343.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/0.5615, allocations: 17.78 kB / 343.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.5616, allocations: 8 kB / 343.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-05/0.5616, allocations: 7.969 kB / 343.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/0.5816, allocations: 5.658 MB / 349 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.5818, allocations: 0 / 349 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/0.5838, allocations: 196 kB / 349.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004617/0.5885, allocations: 0.894 MB / 350.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004216/0.5889, allocations: 35.98 kB / 350.1 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.6114, allocations: 10.87 MB / 361 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6114, allocations: 0 / 361 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.6248, allocations: 4.328 MB / 365.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.6266, allocations: 462.7 kB / 365.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006271/0.6273, allocations: 35.94 kB / 365.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.6292, allocations: 95.92 kB / 365.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000593/0.6298, allocations: 132.1 kB / 366 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.63, allocations: 39.98 kB / 366.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002718/0.6327, allocations: 1.095 MB / 367.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6328, allocations: 1.125 kB / 367.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003414/0.6362, allocations: 0.5573 MB / 367.7 MB, free: 468 kB / 282.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006583/0.6369, allocations: 156.9 kB / 367.9 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.008965/0.6459, allocations: 3.026 MB / 370.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.646, allocations: 0 / 370.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006139/0.6521, allocations: 2.054 MB / 372.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/0.6563, allocations: 463.1 kB / 373.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.672, allocations: 6.08 MB / 379.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/0.675, allocations: 2.019 MB / 381.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009485/0.676, allocations: 119.4 kB / 381.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.676, allocations: 3.938 kB / 381.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of Templates: time 0.3844/1.06, allocations: 86.16 MB / 467.8 MB, free: 90.18 MB / 346.7 MB