Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aimc.i_0_s|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.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.684/1.684, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.45e-05, allocations: 4 kB / 228.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08471, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01762/0.1024, allocations: 10.22 MB / 277.1 MB, free: 6.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009921/0.1123, allocations: 3.742 MB / 280.9 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.1144, allocations: 87.69 kB / 281 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.1171, allocations: 0.7109 MB / 281.7 MB, free: 1.645 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.1214, allocations: 0.8916 MB / 282.6 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1228, allocations: 327.6 kB / 282.9 MB, free: 440 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005517/0.1283, allocations: 2.222 MB / 285.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.1322, allocations: 1.915 MB / 287 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.1349, allocations: 1.188 MB / 288.2 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.1386, allocations: 1.573 MB / 289.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.1402, allocations: 223.9 kB / 290 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007662/0.141, allocations: 156 kB / 290.2 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.1425, allocations: 0.9852 MB / 291.1 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.1439, allocations: 376 kB / 291.5 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009231/0.1532, allocations: 5.929 MB / 297.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1532, allocations: 3.938 kB / 297.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1532, allocations: 0 / 297.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002247/0.1535, allocations: 0 / 297.4 MB, free: 1.824 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.2266/0.3801, allocations: 3.587 MB / 301 MB, free: 25.87 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3802, allocations: 9.875 kB / 301 MB, free: 25.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.383, allocations: 0.4944 MB / 301.5 MB, free: 25.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/0.3904, allocations: 2.288 MB / 303.8 MB, free: 24.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.3909, allocations: 264.6 kB / 304.1 MB, free: 24.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.3922, allocations: 350.2 kB / 304.4 MB, free: 24.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.4084, allocations: 4.954 MB / 309.4 MB, free: 22.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/0.4086, allocations: 7.281 kB / 309.4 MB, free: 22.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006478/0.4092, allocations: 145.7 kB / 309.5 MB, free: 21.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002769/0.4095, allocations: 179.6 kB / 309.7 MB, free: 21.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.4231, allocations: 4.261 MB / 314 MB, free: 19.71 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.4597, allocations: 14.87 MB / 328.8 MB, free: 5.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006549/0.4663, allocations: 4.193 MB / 333 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/0.4668, allocations: 129.7 kB / 333.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.4669, allocations: 65.02 kB / 333.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=198): time 5.75e-06/0.4669, allocations: 0 / 333.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=218): time 0.03709/0.504, allocations: 10.32 MB / 343.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.5041, allocations: 81.41 kB / 343.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/0.5096, allocations: 2.154 MB / 345.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004874/0.5101, allocations: 61.7 kB / 345.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.512, allocations: 1.608 MB / 347.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.5131, allocations: 0.7268 MB / 348.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5134, allocations: 49.59 kB / 348.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.5137, allocations: 398.6 kB / 348.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.5175, allocations: 1.32 MB / 349.9 MB, free: 396 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.5221, allocations: 1.785 MB / 351.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.5268, allocations: 1.579 MB / 353.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.5269, allocations: 4 kB / 353.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.0131/0.54, allocations: 4.106 MB / 357.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.5401, allocations: 12.47 kB / 357.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/0.5401, allocations: 16 kB / 357.4 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/0.5451, allocations: 0.8755 MB / 358.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/0.5495, allocations: 0.5188 MB / 358.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/0.5666, allocations: 8.961 MB / 367.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.5698, allocations: 115.9 kB / 367.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005959/0.5704, allocations: 91.98 kB / 368 MB, free: 13.71 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.00413/0.5746, allocations: 1.212 MB / 369.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/0.576, allocations: 276.7 kB / 369.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.5878, allocations: 3.764 MB / 373.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/0.5879, allocations: 27.94 kB / 373.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.5879, allocations: 7.953 kB / 373.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-05/0.588, allocations: 11.95 kB / 373.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02771/0.6157, allocations: 8.076 MB / 381.4 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.6158, allocations: 0 / 381.4 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/0.6195, allocations: 387.8 kB / 381.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005367/0.6249, allocations: 0.9281 MB / 382.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004134/0.6254, allocations: 55.97 kB / 382.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02598/0.6514, allocations: 10.42 MB / 393.1 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.6515, allocations: 7.953 kB / 393.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/0.6725, allocations: 5.8 MB / 399 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004567/0.6771, allocations: 0.6459 MB / 399.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/0.6783, allocations: 44 kB / 399.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/0.6818, allocations: 139.9 kB / 399.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007819/0.6826, allocations: 169.7 kB / 399.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/0.683, allocations: 63.98 kB / 400 MB, free: 12.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.005552/0.6885, allocations: 1.66 MB / 401.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.6886, allocations: 0 / 401.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005594/0.6942, allocations: 0.7995 MB / 402.5 MB, free: 10.43 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.001111/0.6953, allocations: 206.1 kB / 402.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/0.7076, allocations: 3.925 MB / 406.6 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.7077, allocations: 9.875 kB / 406.6 MB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007254/0.715, allocations: 2.492 MB / 409.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005489/0.7205, allocations: 0.7189 MB / 409.8 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/0.7521, allocations: 9.066 MB / 418.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005942/0.7581, allocations: 2.839 MB / 421.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005142/0.7633, allocations: 0.6903 MB / 422.4 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.7647, allocations: 171.4 kB / 422.6 MB, free: 6.082 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7647, allocations: 0 / 422.6 MB, free: 6.082 MB / 346.7 MB Notification: Performance of Templates: time 0.3402/1.105, allocations: 41.9 MB / 464.5 MB, free: 87.15 MB / 346.7 MB