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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.102/1.102, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.575e-05, allocations: 0 / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04526/0.0453, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.2307, allocations: 43.63 MB / 216.9 MB, free: 5.949 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.231, allocations: 68.53 kB / 217 MB, free: 5.941 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2636/0.4946, allocations: 71.64 MB / 288.6 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4946, allocations: 4 kB / 288.6 MB, free: 9.473 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002567/0.4949, allocations: 75.88 kB / 288.7 MB, free: 9.398 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.0078/0.5027, allocations: 2.607 MB / 291.3 MB, free: 6.738 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5028, allocations: 11.97 kB / 291.3 MB, free: 6.727 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.5042, allocations: 328.2 kB / 291.6 MB, free: 6.402 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.5093, allocations: 1.825 MB / 293.5 MB, free: 4.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5095, allocations: 84 kB / 293.5 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007817/0.5103, allocations: 144 kB / 293.7 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007204/0.5176, allocations: 2.65 MB / 296.3 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1373/0.6549, allocations: 3.215 MB / 299.6 MB, free: 37.43 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.655, allocations: 0 / 299.6 MB, free: 37.43 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/0.6553, allocations: 3.312 kB / 299.6 MB, free: 37.43 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.6555, allocations: 121.2 kB / 299.7 MB, free: 37.42 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/0.675, allocations: 8.758 MB / 308.4 MB, free: 36.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.6779, allocations: 2.433 MB / 310.9 MB, free: 35.27 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.6803, allocations: 1.202 MB / 312.1 MB, free: 35.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.6804, allocations: 19.44 kB / 312.1 MB, free: 35.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6804, allocations: 51.28 kB / 312.1 MB, free: 35.21 MB / 234.7 MB Notification: Performance of pre-optimization done (n=117): time 4.926e-06/0.6804, allocations: 3 kB / 312.1 MB, free: 35.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=121): time 0.0091/0.6895, allocations: 3.848 MB / 316 MB, free: 34.49 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.6896, allocations: 90.64 kB / 316.1 MB, free: 34.39 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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.00274/0.6924, allocations: 1.258 MB / 317.3 MB, free: 34.24 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.6927, allocations: 25.7 kB / 317.4 MB, free: 34.21 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006484/0.6933, allocations: 1.131 MB / 318.5 MB, free: 33.73 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.6938, allocations: 400.7 kB / 318.9 MB, free: 33.46 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6939, allocations: 0 / 318.9 MB, free: 33.46 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.694, allocations: 367.4 kB / 319.2 MB, free: 33.15 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.6953, allocations: 0.6989 MB / 319.9 MB, free: 33.15 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6966, allocations: 0.9991 MB / 320.9 MB, free: 32.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.6982, allocations: 0.8843 MB / 321.8 MB, free: 32.81 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.202e-06/0.6982, allocations: 0 / 321.8 MB, free: 32.81 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004021/0.7022, allocations: 2.032 MB / 323.9 MB, free: 32.7 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.7023, allocations: 13.39 kB / 323.9 MB, free: 32.7 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/0.7024, allocations: 10.19 kB / 323.9 MB, free: 32.7 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.7037, allocations: 342.1 kB / 324.2 MB, free: 32.69 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.7055, allocations: 309.2 kB / 324.5 MB, free: 32.69 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/0.7111, allocations: 3.659 MB / 328.2 MB, free: 31.35 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.7128, allocations: 61.91 kB / 328.2 MB, free: 31.35 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.7131, allocations: 57.86 kB / 328.3 MB, free: 31.35 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.0003816/0.7135, allocations: 136 kB / 328.4 MB, free: 31.24 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.714, allocations: 155 kB / 328.6 MB, free: 31.16 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.7178, allocations: 1.828 MB / 330.4 MB, free: 30.8 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.7179, allocations: 14.97 kB / 330.4 MB, free: 30.8 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.591e-06/0.7179, allocations: 7.328 kB / 330.4 MB, free: 30.8 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.7179, allocations: 7.453 kB / 330.4 MB, free: 30.8 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009091/0.727, allocations: 4.11 MB / 334.5 MB, free: 29.17 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.7271, allocations: 4.312 kB / 334.5 MB, free: 29.17 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.7285, allocations: 218.2 kB / 334.8 MB, free: 29.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.7298, allocations: 305.8 kB / 335.1 MB, free: 29.09 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.73, allocations: 18.44 kB / 335.1 MB, free: 29.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.7351, allocations: 3.608 MB / 338.7 MB, free: 26.75 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.207e-06/0.7351, allocations: 0 / 338.7 MB, free: 26.75 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/0.7403, allocations: 2.849 MB / 341.5 MB, free: 25.52 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.7414, allocations: 413.4 kB / 341.9 MB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.7418, allocations: 7.266 kB / 341.9 MB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.743, allocations: 94.05 kB / 342 MB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.7433, allocations: 86.17 kB / 342.1 MB, free: 25.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.7434, allocations: 36.64 kB / 342.2 MB, free: 25.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.7451, allocations: 0.9489 MB / 343.1 MB, free: 24.86 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.136e-06/0.7451, allocations: 2.906 kB / 343.1 MB, free: 24.86 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00227/0.7474, allocations: 429.3 kB / 343.5 MB, free: 24.86 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (94): * Single equations (assignments): 89 * 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.0004222/0.7478, allocations: 168 kB / 343.7 MB, free: 24.76 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0035/0.7514, allocations: 1.989 MB / 345.7 MB, free: 23.9 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.696e-06/0.7514, allocations: 3.375 kB / 345.7 MB, free: 23.9 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.7536, allocations: 1.131 MB / 346.8 MB, free: 23.34 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.7561, allocations: 377.4 kB / 347.2 MB, free: 23.27 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008528/0.7647, allocations: 3.867 MB / 351 MB, free: 21.79 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/0.7671, allocations: 2.232 MB / 353.3 MB, free: 20.76 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.7678, allocations: 102.5 kB / 353.4 MB, free: 20.75 MB / 234.7 MB Notification: Performance of SimCode: time 1.952e-06/0.7679, allocations: 0 / 353.4 MB, free: 20.75 MB / 234.7 MB Notification: Performance of Templates: time 0.1886/0.9565, allocations: 41.1 MB / 394.5 MB, free: 36.09 MB / 234.7 MB