Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.74e-05, allocations: 7.906 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01014/0.2955, allocations: 6.358 MB / 309.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.3018, allocations: 2.416 MB / 312.1 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.3031, allocations: 75.69 kB / 312.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.3044, allocations: 449.5 kB / 312.6 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.3065, allocations: 0.545 MB / 313.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3076, allocations: 275.7 kB / 313.4 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.3112, allocations: 1.63 MB / 315.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.3145, allocations: 1.853 MB / 316.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.3165, allocations: 0.9 MB / 317.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.319, allocations: 1.238 MB / 319.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.3203, allocations: 287.7 kB / 319.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000579/0.3209, allocations: 124 kB / 319.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3221, allocations: 0.7905 MB / 320.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.3231, allocations: 280 kB / 320.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.3301, allocations: 4.952 MB / 325.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3301, allocations: 0 / 325.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3301, allocations: 0 / 325.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001569/0.3303, allocations: 0 / 325.5 MB, free: 7.371 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009164/0.3395, allocations: 2.893 MB / 328.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3395, allocations: 8.031 kB / 328.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.3414, allocations: 391.7 kB / 328.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.3467, allocations: 1.905 MB / 330.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.347, allocations: 221.8 kB / 330.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007629/0.3477, allocations: 280 kB / 331.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.3594, allocations: 4.148 MB / 335.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/0.3596, allocations: 4 kB / 335.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/0.36, allocations: 120 kB / 335.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/0.3603, allocations: 141.9 kB / 335.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.3707, allocations: 3.478 MB / 339 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.4, allocations: 11 MB / 350 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.4047, allocations: 2.627 MB / 352.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/0.4051, allocations: 126.1 kB / 352.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.4052, allocations: 47.56 kB / 352.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 4.478e-06/0.4052, allocations: 0 / 352.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.01486/0.4201, allocations: 5.563 MB / 358.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.4202, allocations: 98.38 kB / 358.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.4242, allocations: 1.706 MB / 360.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.4246, allocations: 45.7 kB / 360.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.4259, allocations: 1.322 MB / 361.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000576/0.4265, allocations: 453.5 kB / 362 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.4266, allocations: 28 kB / 362 MB, free: 2.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4269, allocations: 365.9 kB / 362.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.429, allocations: 0.8353 MB / 363.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.4315, allocations: 1.182 MB / 364.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.4341, allocations: 1.029 MB / 365.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.4341, allocations: 4 kB / 365.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007014/0.4412, allocations: 2.557 MB / 368 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.4412, allocations: 12 kB / 368 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.4413, allocations: 8.188 kB / 368 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/0.4443, allocations: 492.3 kB / 368.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.447, allocations: 335.5 kB / 368.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/0.4557, allocations: 4.355 MB / 373.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.458, allocations: 91.98 kB / 373.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.4582, allocations: 63.97 kB / 373.3 MB, free: 6.406 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002428/0.4607, allocations: 1.044 MB / 374.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/0.4613, allocations: 189.7 kB / 374.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005876/0.4672, allocations: 2.176 MB / 376.7 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.4673, allocations: 19.98 kB / 376.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4673, allocations: 4 kB / 376.8 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.4674, allocations: 7.984 kB / 376.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.481, allocations: 5.173 MB / 381.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4811, allocations: 4.062 kB / 381.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.483, allocations: 227.6 kB / 382.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/0.486, allocations: 481 kB / 382.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.4862, allocations: 27.98 kB / 382.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008584/0.4948, allocations: 4.301 MB / 387 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4948, allocations: 4.031 kB / 387 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008543/0.5034, allocations: 3.305 MB / 390.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.505, allocations: 470.7 kB / 390.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/0.5055, allocations: 27.98 kB / 390.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/0.5074, allocations: 103.9 kB / 390.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.5077, allocations: 92.86 kB / 390.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.5078, allocations: 35.98 kB / 391 MB, free: 4.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003019/0.5109, allocations: 1.326 MB / 392.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5109, allocations: 4 kB / 392.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002616/0.5135, allocations: 0.5586 MB / 392.9 MB, free: 2.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 93 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006402/0.5142, allocations: 184.4 kB / 393.1 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005989/0.5202, allocations: 2.221 MB / 395.3 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.5203, allocations: 4.625 kB / 395.3 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003561/0.5238, allocations: 1.224 MB / 396.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/0.5276, allocations: 481.3 kB / 397 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.544, allocations: 6.745 MB / 403.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/0.5476, allocations: 2.474 MB / 406.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002566/0.5502, allocations: 487.4 kB / 406.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007543/0.551, allocations: 139.4 kB / 406.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.551, allocations: 0 / 406.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of Templates: time 0.3253/0.8764, allocations: 27.9 MB / 434.7 MB, free: 96.26 MB / 362.7 MB