Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.413e-05/4.419e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.08969, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.02347/0.1132, allocations: 10.2 MB / 277.1 MB, free: 6.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.1262, allocations: 3.734 MB / 280.9 MB, free: 2.484 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.1289, allocations: 87.69 kB / 280.9 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.1329, allocations: 0.7109 MB / 281.7 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.1384, allocations: 0.9071 MB / 282.6 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.1406, allocations: 319.6 kB / 282.9 MB, free: 472 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.007417/0.148, allocations: 2.23 MB / 285.1 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005507/0.1536, allocations: 1.915 MB / 287 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.157, allocations: 1.173 MB / 288.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/0.1618, allocations: 1.585 MB / 289.8 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.164, allocations: 223.9 kB / 290 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.1656, allocations: 160 kB / 290.2 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.1689, allocations: 0.9852 MB / 291.1 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.1711, allocations: 372 kB / 291.5 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009808/0.1809, allocations: 5.929 MB / 297.4 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.181, allocations: 0 / 297.4 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.181, allocations: 0 / 297.4 MB, free: 1.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001831/0.1812, allocations: 0 / 297.4 MB, free: 1.855 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.2819/0.4631, allocations: 3.589 MB / 301 MB, free: 12.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4632, allocations: 8.188 kB / 301 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.466, allocations: 0.4916 MB / 301.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007462/0.4735, allocations: 2.284 MB / 303.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/0.474, allocations: 267.4 kB / 304.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.4753, allocations: 350.6 kB / 304.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.4916, allocations: 4.951 MB / 309.4 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.4919, allocations: 17.44 kB / 309.4 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005999/0.4925, allocations: 148.2 kB / 309.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003016/0.4928, allocations: 179.6 kB / 309.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.5063, allocations: 4.261 MB / 314 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03587/0.5422, allocations: 14.89 MB / 328.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007948/0.5503, allocations: 4.182 MB / 333 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.5509, allocations: 133.1 kB / 333.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/0.5509, allocations: 60.55 kB / 333.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=198): time 4.768e-06/0.551, allocations: 0 / 333.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=218): time 0.03749/0.5885, allocations: 10.32 MB / 343.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.5886, allocations: 73.41 kB / 343.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005663/0.5943, allocations: 2.158 MB / 345.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004962/0.5948, allocations: 61.7 kB / 345.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.5968, allocations: 1.597 MB / 347.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00128/0.5981, allocations: 0.7408 MB / 348.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.5984, allocations: 44 kB / 348.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.5987, allocations: 402.5 kB / 348.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/0.6027, allocations: 1.324 MB / 349.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/0.6073, allocations: 1.781 MB / 351.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004525/0.6119, allocations: 1.579 MB / 353.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/0.6119, allocations: 4 kB / 353.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01281/0.6247, allocations: 4.107 MB / 357.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.6248, allocations: 12 kB / 357.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.6249, allocations: 12.47 kB / 357.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/0.6297, allocations: 0.8824 MB / 358.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/0.6342, allocations: 0.5222 MB / 358.8 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/0.6516, allocations: 8.953 MB / 367.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.6548, allocations: 119.9 kB / 367.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005423/0.6554, allocations: 80 kB / 368 MB, free: 7.051 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003569/0.659, allocations: 1.211 MB / 369.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009615/0.66, allocations: 276.7 kB / 369.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.6714, allocations: 3.76 MB / 373.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/0.6714, allocations: 23.28 kB / 373.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/0.6715, allocations: 15.88 kB / 373.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.094e-05/0.6715, allocations: 11.95 kB / 373.3 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.6953, allocations: 8.082 MB / 381.3 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.6953, allocations: 7.953 kB / 381.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/0.6987, allocations: 384.3 kB / 381.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/0.7041, allocations: 0.9289 MB / 382.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000455/0.7046, allocations: 55.97 kB / 382.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.7239, allocations: 10.42 MB / 393.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.724, allocations: 7.125 kB / 393.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.7396, allocations: 5.801 MB / 398.9 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/0.7421, allocations: 0.6382 MB / 399.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/0.7432, allocations: 51.98 kB / 399.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/0.7461, allocations: 131.8 kB / 399.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006742/0.7468, allocations: 173.2 kB / 399.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/0.747, allocations: 59.98 kB / 400 MB, free: 6.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004132/0.7512, allocations: 1.668 MB / 401.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7512, allocations: 0 / 401.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003844/0.7551, allocations: 0.7916 MB / 402.4 MB, free: 3.957 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007767/0.7559, allocations: 212 kB / 402.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01059/0.7665, allocations: 3.928 MB / 406.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.7665, allocations: 0 / 406.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007497/0.7741, allocations: 2.508 MB / 409.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006749/0.7808, allocations: 0.712 MB / 409.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/0.8094, allocations: 9.076 MB / 418.9 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006238/0.8157, allocations: 2.831 MB / 421.7 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005133/0.8209, allocations: 0.6865 MB / 422.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.8224, allocations: 179.4 kB / 422.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.983e-06/0.8225, allocations: 0 / 422.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of Templates: time 0.3594/1.182, allocations: 41.91 MB / 464.5 MB, free: 112.8 MB / 362.7 MB