Running command: translateModel(Modelica.Electrical.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 0.9626/0.9626, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.666e-05, allocations: 4 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 25.15 MB / 176.5 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06701/0.2068, allocations: 44.29 MB / 220.8 MB, free: 5.156 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.2071, allocations: 67.97 kB / 220.9 MB, free: 5.09 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3901/0.5973, allocations: 72.53 MB / 293.4 MB, free: 41.15 MB / 218.7 MB Notification: Performance of FrontEnd: time 3.131e-06/0.5973, allocations: 4 kB / 293.4 MB, free: 41.14 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0002078/0.5975, allocations: 71.88 kB / 293.5 MB, free: 41.07 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.006528/0.6041, allocations: 2.604 MB / 296.1 MB, free: 38.42 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6041, allocations: 8.031 kB / 296.1 MB, free: 38.41 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.6053, allocations: 324.2 kB / 296.4 MB, free: 38.09 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.6095, allocations: 1.832 MB / 298.3 MB, free: 36.23 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.6098, allocations: 200.6 kB / 298.5 MB, free: 36.04 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006596/0.6104, allocations: 240 kB / 298.7 MB, free: 35.8 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007591/0.618, allocations: 3.555 MB / 302.2 MB, free: 32.09 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/0.6181, allocations: 4 kB / 302.3 MB, free: 32.09 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.6185, allocations: 108 kB / 302.4 MB, free: 31.98 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.6187, allocations: 125.1 kB / 302.5 MB, free: 31.86 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.625, allocations: 2.763 MB / 305.2 MB, free: 29.09 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.6443, allocations: 9.247 MB / 314.5 MB, free: 19.79 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.6472, allocations: 2.476 MB / 317 MB, free: 17.1 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.6498, allocations: 1.31 MB / 318.3 MB, free: 15.79 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/0.65, allocations: 20.73 kB / 318.3 MB, free: 15.78 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.65, allocations: 43.56 kB / 318.3 MB, free: 15.72 MB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 4.914e-06/0.65, allocations: 0 / 318.3 MB, free: 15.72 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.008425/0.6585, allocations: 3.995 MB / 322.3 MB, free: 11.67 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.6585, allocations: 90.11 kB / 322.4 MB, free: 11.57 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7955:5-7956:40:writable] Warning: Parameter transformerData.P_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=300.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7953:5-7954:36:writable] Warning: Parameter transformerData.v_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7951:5-7952:33:writable] Warning: Parameter transformerData.SNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=30000.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7945:5-7946:86:writable] Warning: Parameter transformerData.V2 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7940:5-7941:53:writable] Warning: Parameter transformerData.V1 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7939:5-7939:73:writable] Warning: Parameter transformerData.f has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.661, allocations: 1.357 MB / 323.8 MB, free: 10.2 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.6612, allocations: 45.7 kB / 323.8 MB, free: 10.15 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/0.6618, allocations: 1.119 MB / 324.9 MB, free: 9.02 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.6621, allocations: 412.9 kB / 325.3 MB, free: 8.621 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.6622, allocations: 28 kB / 325.4 MB, free: 8.594 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6623, allocations: 374.7 kB / 325.7 MB, free: 8.219 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.6636, allocations: 0.7177 MB / 326.5 MB, free: 7.5 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.6651, allocations: 1.021 MB / 327.5 MB, free: 6.352 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.6666, allocations: 0.9047 MB / 328.4 MB, free: 5.453 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-06/0.6666, allocations: 0 / 328.4 MB, free: 5.453 MB / 218.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004013/0.6706, allocations: 2.114 MB / 330.5 MB, free: 3.328 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.6707, allocations: 16.05 kB / 330.5 MB, free: 3.312 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/0.6708, allocations: 20 kB / 330.5 MB, free: 3.293 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.672, allocations: 344.5 kB / 330.9 MB, free: 2.953 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.6736, allocations: 307.5 kB / 331.2 MB, free: 2.652 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/0.6795, allocations: 3.799 MB / 335 MB, free: 14.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.6811, allocations: 91.95 kB / 335.1 MB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.6814, allocations: 51.98 kB / 335.1 MB, free: 14.59 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,88.9%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004401/0.6818, allocations: 200.5 kB / 335.3 MB, free: 14.38 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.6823, allocations: 158.1 kB / 335.5 MB, free: 14.23 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.6868, allocations: 1.919 MB / 337.4 MB, free: 12.29 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.6869, allocations: 15.95 kB / 337.4 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.917e-06/0.6869, allocations: 0 / 337.4 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.687, allocations: 7.984 kB / 337.4 MB, free: 12.27 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.6977, allocations: 4.542 MB / 341.9 MB, free: 7.676 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.6978, allocations: 3.984 kB / 341.9 MB, free: 7.672 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.6992, allocations: 219.7 kB / 342.2 MB, free: 7.457 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.7005, allocations: 324.6 kB / 342.5 MB, free: 7.137 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.7007, allocations: 27.98 kB / 342.5 MB, free: 7.109 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006787/0.7075, allocations: 3.728 MB / 346.2 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.659e-06/0.7075, allocations: 0 / 346.2 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/0.7138, allocations: 2.964 MB / 349.2 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1364/0.8503, allocations: 411.9 kB / 349.6 MB, free: 51.99 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/0.8508, allocations: 28.05 kB / 349.6 MB, free: 51.99 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.852, allocations: 118.6 kB / 349.7 MB, free: 51.99 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.8524, allocations: 90.89 kB / 349.8 MB, free: 51.99 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.8525, allocations: 36.92 kB / 349.9 MB, free: 51.99 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002239/0.8548, allocations: 1.045 MB / 350.9 MB, free: 51.88 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.167e-06/0.8548, allocations: 2.656 kB / 350.9 MB, free: 51.88 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002557/0.8574, allocations: 489.1 kB / 351.4 MB, free: 51.88 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000482/0.8579, allocations: 177.1 kB / 351.6 MB, free: 51.79 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.8619, allocations: 2.03 MB / 353.6 MB, free: 51.54 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.04e-06/0.862, allocations: 0 / 353.6 MB, free: 51.54 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.8643, allocations: 1.162 MB / 354.8 MB, free: 51.3 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.8674, allocations: 459.2 kB / 355.2 MB, free: 51.29 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008501/0.8759, allocations: 3.921 MB / 359.1 MB, free: 50.43 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.8782, allocations: 2.237 MB / 361.4 MB, free: 49.69 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/0.8789, allocations: 106 kB / 361.5 MB, free: 49.69 MB / 234.7 MB Notification: Performance of SimCode: time 1.619e-06/0.8789, allocations: 0 / 361.5 MB, free: 49.69 MB / 234.7 MB Notification: Performance of Templates: time 0.05476/0.9337, allocations: 41.56 MB / 403 MB, free: 28.15 MB / 234.7 MB