Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) 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 1.165/1.165, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002641, allocations: 4 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04562/0.04592, allocations: 25.17 MB / 183.5 MB, free: 5.965 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.2329, allocations: 44.38 MB / 227.9 MB, free: 2.141 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.2331, allocations: 73.33 kB / 227.9 MB, free: 2.102 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.405/0.6381, allocations: 72.23 MB / 300.2 MB, free: 37.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.267e-06/0.6381, allocations: 2.344 kB / 300.2 MB, free: 37.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002582/0.6384, allocations: 76.47 kB / 300.3 MB, free: 37.26 MB / 234.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.007639/0.6461, allocations: 2.864 MB / 303.1 MB, free: 36.24 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6461, allocations: 11.72 kB / 303.1 MB, free: 36.24 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.6474, allocations: 325.3 kB / 303.4 MB, free: 36.08 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.6519, allocations: 1.829 MB / 305.3 MB, free: 35.65 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.6521, allocations: 188.8 kB / 305.5 MB, free: 35.64 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006907/0.6529, allocations: 251.4 kB / 305.7 MB, free: 35.64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008303/0.6612, allocations: 3.663 MB / 309.4 MB, free: 35.2 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.6613, allocations: 0 / 309.4 MB, free: 35.2 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.6617, allocations: 108.9 kB / 309.5 MB, free: 35.2 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.6618, allocations: 126.2 kB / 309.6 MB, free: 35.19 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007257/0.6691, allocations: 2.885 MB / 312.5 MB, free: 35.16 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.6903, allocations: 9.253 MB / 321.7 MB, free: 33.95 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.6933, allocations: 2.519 MB / 324.3 MB, free: 32.79 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.6935, allocations: 18.47 kB / 324.3 MB, free: 32.79 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6935, allocations: 52.36 kB / 324.3 MB, free: 32.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=117): time 4.733e-06/0.6935, allocations: 0 / 324.3 MB, free: 32.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=121): time 0.01102/0.7046, allocations: 5.215 MB / 329.5 MB, free: 31.21 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.7046, allocations: 95.53 kB / 329.6 MB, free: 31.11 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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.002471/0.7071, allocations: 1.375 MB / 331 MB, free: 30.6 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.7074, allocations: 45.11 kB / 331.1 MB, free: 30.56 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.708, allocations: 1.125 MB / 332.2 MB, free: 29.65 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.7084, allocations: 415.7 kB / 332.6 MB, free: 29.34 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.7085, allocations: 23.97 kB / 332.6 MB, free: 29.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7086, allocations: 367.5 kB / 333 MB, free: 28.98 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.7101, allocations: 0.7504 MB / 333.7 MB, free: 28.72 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.7119, allocations: 1.052 MB / 334.8 MB, free: 28.12 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.7137, allocations: 0.9253 MB / 335.7 MB, free: 27.75 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.158e-06/0.7137, allocations: 6.938 kB / 335.7 MB, free: 27.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004867/0.7186, allocations: 2.24 MB / 337.9 MB, free: 26.96 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.7187, allocations: 11.12 kB / 338 MB, free: 26.96 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.7187, allocations: 7.562 kB / 338 MB, free: 26.96 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.72, allocations: 384 kB / 338.3 MB, free: 26.86 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.7217, allocations: 305.7 kB / 338.6 MB, free: 26.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006666/0.7283, allocations: 4.352 MB / 343 MB, free: 24.09 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.73, allocations: 87 kB / 343.1 MB, free: 24.07 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.7302, allocations: 55.22 kB / 343.1 MB, free: 24.06 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" fixed = true ) "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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002102/0.7323, allocations: 0.9552 MB / 344.1 MB, free: 23.59 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.7328, allocations: 166.2 kB / 344.2 MB, free: 23.51 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.737, allocations: 2.01 MB / 346.3 MB, free: 22.73 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.737, allocations: 10.94 kB / 346.3 MB, free: 22.73 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.737, allocations: 3.5 kB / 346.3 MB, free: 22.73 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.7371, allocations: 7.266 kB / 346.3 MB, free: 22.73 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009544/0.7466, allocations: 4.568 MB / 350.8 MB, free: 20.92 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.7467, allocations: 3.656 kB / 350.8 MB, free: 20.92 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.748, allocations: 209.3 kB / 351 MB, free: 20.91 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.7493, allocations: 366.1 kB / 351.4 MB, free: 20.8 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.7495, allocations: 27.56 kB / 351.4 MB, free: 20.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.7559, allocations: 4.329 MB / 355.8 MB, free: 18.03 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.94e-06/0.7559, allocations: 3.469 kB / 355.8 MB, free: 18.03 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005801/0.7617, allocations: 3.001 MB / 358.8 MB, free: 16.79 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.7629, allocations: 408.8 kB / 359.2 MB, free: 16.54 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.7632, allocations: 27.19 kB / 359.2 MB, free: 16.52 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.7643, allocations: 114.6 kB / 359.3 MB, free: 16.5 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.7645, allocations: 83.67 kB / 359.4 MB, free: 16.49 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.7647, allocations: 38.81 kB / 359.4 MB, free: 16.48 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001967/0.7666, allocations: 1.058 MB / 360.5 MB, free: 16.08 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.635e-06/0.7667, allocations: 3.75 kB / 360.5 MB, free: 16.08 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002273/0.769, allocations: 500 kB / 361 MB, free: 16.03 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004117/0.7694, allocations: 178.6 kB / 361.1 MB, free: 15.92 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.7735, allocations: 2.178 MB / 363.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.402e-06/0.7736, allocations: 4 kB / 363.3 MB, free: 14.67 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.776, allocations: 1.25 MB / 364.6 MB, free: 13.55 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.7786, allocations: 447.8 kB / 365 MB, free: 13.22 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.7887, allocations: 5.787 MB / 370.8 MB, free: 7.938 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/0.791, allocations: 2.232 MB / 373 MB, free: 6.152 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000627/0.7917, allocations: 102 kB / 373.1 MB, free: 6.062 MB / 234.7 MB Notification: Performance of SimCode: time 2.259e-06/0.7917, allocations: 0 / 373.1 MB, free: 6.062 MB / 234.7 MB Notification: Performance of Templates: time 0.2026/0.9943, allocations: 41.63 MB / 414.8 MB, free: 38.32 MB / 250.7 MB