Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 210.6 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.702e-05, allocations: 4 kB / 258.8 MB, free: 9.02 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 44.51 MB / 303.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.017/0.3209, allocations: 10.25 MB / 313.6 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3309, allocations: 3.774 MB / 317.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.3334, allocations: 87.69 kB / 317.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.3366, allocations: 0.7147 MB / 318.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.3412, allocations: 0.911 MB / 319.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.3431, allocations: 315.6 kB / 319.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006016/0.3491, allocations: 2.234 MB / 321.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004083/0.3533, allocations: 1.908 MB / 323.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.3561, allocations: 1.18 MB / 324.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.3598, allocations: 1.585 MB / 326.3 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.3617, allocations: 235.9 kB / 326.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009084/0.3626, allocations: 156 kB / 326.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.3643, allocations: 0.9813 MB / 327.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.366, allocations: 376 kB / 328 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009444/0.3755, allocations: 5.956 MB / 334 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3756, allocations: 4 kB / 334 MB, free: 14.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3756, allocations: 0 / 334 MB, free: 14.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002423/0.3758, allocations: 0 / 334 MB, free: 14.98 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0121/0.3879, allocations: 3.608 MB / 337.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.388, allocations: 8.031 kB / 337.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.3908, allocations: 0.4985 MB / 338.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006962/0.3978, allocations: 2.314 MB / 340.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.3982, allocations: 263.1 kB / 340.6 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.3995, allocations: 351.9 kB / 341 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.4154, allocations: 4.978 MB / 346 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.4155, allocations: 4 kB / 346 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006321/0.4162, allocations: 148 kB / 346.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002891/0.4165, allocations: 183 kB / 346.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.4306, allocations: 4.287 MB / 350.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04083/0.4714, allocations: 14.96 MB / 365.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/0.4792, allocations: 4.197 MB / 369.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/0.4798, allocations: 135.1 kB / 369.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.4799, allocations: 52.56 kB / 369.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.579e-06/0.4799, allocations: 0 / 369.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.03499/0.5149, allocations: 10.32 MB / 380.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.515, allocations: 73.41 kB / 380.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/0.52, allocations: 2.174 MB / 382.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004586/0.5205, allocations: 61.7 kB / 382.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.5223, allocations: 1.626 MB / 384.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.5233, allocations: 0.7278 MB / 384.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.5236, allocations: 44 kB / 384.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.5238, allocations: 398.6 kB / 385.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/0.5275, allocations: 1.32 MB / 386.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/0.532, allocations: 1.786 MB / 388.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/0.5369, allocations: 1.579 MB / 390 MB, free: 5.664 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/0.537, allocations: 4 kB / 390 MB, free: 5.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01265/0.5497, allocations: 4.107 MB / 394.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.5498, allocations: 13.23 kB / 394.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.5498, allocations: 16 kB / 394.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004719/0.5545, allocations: 0.871 MB / 395 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.5589, allocations: 0.5304 MB / 395.6 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.5755, allocations: 8.94 MB / 404.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.5787, allocations: 119.8 kB / 404.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/0.5792, allocations: 87.98 kB / 404.7 MB, free: 6.543 MB / 346.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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.003559/0.5828, allocations: 1.224 MB / 405.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009595/0.5838, allocations: 276.8 kB / 406.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.5954, allocations: 3.762 MB / 410 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.5955, allocations: 20 kB / 410 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.5955, allocations: 8 kB / 410 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/0.5956, allocations: 11.95 kB / 410 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/0.6194, allocations: 8.095 MB / 418.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.6194, allocations: 3.938 kB / 418.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/0.6232, allocations: 391.8 kB / 418.5 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005373/0.6286, allocations: 0.9174 MB / 419.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004377/0.6291, allocations: 55.92 kB / 419.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2697/0.8989, allocations: 10.42 MB / 429.9 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8989, allocations: 3.5 kB / 429.9 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.9123, allocations: 5.805 MB / 435.7 MB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/0.9142, allocations: 0.6347 MB / 436.3 MB, free: 99.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007293/0.915, allocations: 51.14 kB / 436.4 MB, free: 99.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/0.9173, allocations: 130.4 kB / 436.5 MB, free: 99.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005546/0.9179, allocations: 177.9 kB / 436.7 MB, free: 99.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.9181, allocations: 66.5 kB / 436.7 MB, free: 99.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003308/0.9215, allocations: 1.674 MB / 438.4 MB, free: 99.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9215, allocations: 0 / 438.4 MB, free: 99.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003285/0.9248, allocations: 0.8029 MB / 439.2 MB, free: 99 MB / 362.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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.0006428/0.9255, allocations: 201.7 kB / 439.4 MB, free: 98.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008703/0.9342, allocations: 3.93 MB / 443.3 MB, free: 97.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.9342, allocations: 0 / 443.3 MB, free: 97.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00573/0.94, allocations: 2.502 MB / 445.8 MB, free: 94.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/0.945, allocations: 0.7216 MB / 446.6 MB, free: 94.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.9622, allocations: 9.095 MB / 455.7 MB, free: 85.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/0.9654, allocations: 2.845 MB / 458.5 MB, free: 82.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003395/0.9688, allocations: 0.6827 MB / 459.2 MB, free: 81.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/0.9697, allocations: 175.4 kB / 459.4 MB, free: 81.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.9697, allocations: 0 / 459.4 MB, free: 81.59 MB / 362.7 MB Notification: Performance of Templates: time 0.1015/1.071, allocations: 42.25 MB / 0.4898 GB, free: 39.33 MB / 362.7 MB