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 0.9395/0.9395, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.183e-05, allocations: 7.984 kB / 154.3 MB, free: 13.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 25.15 MB / 179.4 MB, free: 0.6445 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06435/0.2022, allocations: 44.29 MB / 223.7 MB, free: 4.652 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.2025, allocations: 63.97 kB / 223.8 MB, free: 4.59 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3665/0.569, allocations: 72.51 MB / 296.3 MB, free: 10.32 MB / 202.7 MB Notification: Performance of FrontEnd: time 2e-06/0.5691, allocations: 0 / 296.3 MB, free: 10.32 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001928/0.5693, allocations: 79.88 kB / 296.4 MB, free: 10.24 MB / 202.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.005597/0.5749, allocations: 2.618 MB / 299 MB, free: 7.57 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5749, allocations: 12.02 kB / 299 MB, free: 7.559 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.5758, allocations: 324.5 kB / 299.3 MB, free: 7.238 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.5795, allocations: 1.821 MB / 301.1 MB, free: 5.359 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5796, allocations: 193 kB / 301.3 MB, free: 5.168 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.5801, allocations: 247.9 kB / 301.6 MB, free: 4.926 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006532/0.5867, allocations: 3.586 MB / 305.2 MB, free: 1.176 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.5867, allocations: 0 / 305.2 MB, free: 1.176 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.5871, allocations: 112 kB / 305.3 MB, free: 1.066 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.5872, allocations: 121.1 kB / 305.4 MB, free: 0.9453 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006299/0.5936, allocations: 2.789 MB / 308.2 MB, free: 14.14 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/0.615, allocations: 9.264 MB / 317.4 MB, free: 4.73 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.6188, allocations: 2.483 MB / 319.9 MB, free: 2.039 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/0.6218, allocations: 1.313 MB / 321.2 MB, free: 0.7227 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.665e-05/0.6219, allocations: 21 kB / 321.3 MB, free: 0.6992 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.622, allocations: 43.56 kB / 321.3 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 4.917e-06/0.622, allocations: 0 / 321.3 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.009797/0.6318, allocations: 3.987 MB / 325.3 MB, free: 12.6 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.6319, allocations: 90.11 kB / 325.4 MB, free: 12.49 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.00285/0.6348, allocations: 1.358 MB / 326.7 MB, free: 11.12 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.635, allocations: 45.7 kB / 326.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.636, allocations: 1.131 MB / 327.9 MB, free: 9.934 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/0.6366, allocations: 417.9 kB / 328.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.6367, allocations: 24 kB / 328.3 MB, free: 9.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.6369, allocations: 362.8 kB / 328.7 MB, free: 9.133 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.6385, allocations: 0.7255 MB / 329.4 MB, free: 8.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.6403, allocations: 1.02 MB / 330.4 MB, free: 7.266 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.6422, allocations: 0.9008 MB / 331.3 MB, free: 6.367 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.6422, allocations: 8 kB / 331.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004812/0.647, allocations: 2.141 MB / 333.5 MB, free: 4.207 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.6471, allocations: 8 kB / 333.5 MB, free: 4.199 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/0.6471, allocations: 16 kB / 333.5 MB, free: 4.184 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.6485, allocations: 344.8 kB / 333.8 MB, free: 3.844 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.6502, allocations: 307.5 kB / 334.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1424/0.7926, allocations: 3.786 MB / 337.9 MB, free: 45.68 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.7942, allocations: 94.22 kB / 338 MB, free: 45.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.7944, allocations: 52.81 kB / 338.1 MB, free: 45.68 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.000359/0.7948, allocations: 184.3 kB / 338.3 MB, free: 45.57 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.7952, allocations: 165 kB / 338.4 MB, free: 45.57 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.7991, allocations: 1.912 MB / 340.3 MB, free: 45.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.7992, allocations: 10.75 kB / 340.3 MB, free: 45.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.244e-06/0.7992, allocations: 7 kB / 340.3 MB, free: 45.5 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.7992, allocations: 9.797 kB / 340.4 MB, free: 45.5 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008984/0.8082, allocations: 4.56 MB / 344.9 MB, free: 45.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.8083, allocations: 7.453 kB / 344.9 MB, free: 45.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.8096, allocations: 219.5 kB / 345.1 MB, free: 45.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.8109, allocations: 316.2 kB / 345.4 MB, free: 45.08 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.811, allocations: 31.08 kB / 345.5 MB, free: 45.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.8163, allocations: 3.732 MB / 349.2 MB, free: 43.75 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8163, allocations: 3.953 kB / 349.2 MB, free: 43.75 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/0.8215, allocations: 2.958 MB / 352.2 MB, free: 43.45 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/0.8225, allocations: 415 kB / 352.6 MB, free: 43.36 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.8228, allocations: 25.61 kB / 352.6 MB, free: 43.36 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.8241, allocations: 118.7 kB / 352.7 MB, free: 43.36 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.8243, allocations: 92.42 kB / 352.8 MB, free: 43.35 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.8244, allocations: 39.09 kB / 352.8 MB, free: 43.35 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001827/0.8263, allocations: 1.045 MB / 353.9 MB, free: 43.23 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.8263, allocations: 3.75 kB / 353.9 MB, free: 43.23 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001906/0.8282, allocations: 494.4 kB / 354.4 MB, free: 43.23 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.0003602/0.8286, allocations: 181 kB / 354.6 MB, free: 43.15 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.8322, allocations: 2.06 MB / 356.6 MB, free: 42.88 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.244e-06/0.8322, allocations: 0 / 356.6 MB, free: 42.88 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.8344, allocations: 1.191 MB / 357.8 MB, free: 42.62 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.8371, allocations: 446.5 kB / 358.2 MB, free: 42.61 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/0.8448, allocations: 3.937 MB / 362.2 MB, free: 41.75 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.847, allocations: 2.23 MB / 364.4 MB, free: 40.77 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.8476, allocations: 107.9 kB / 364.5 MB, free: 40.76 MB / 234.7 MB Notification: Performance of SimCode: time 1.705e-06/0.8476, allocations: 2.875 kB / 364.5 MB, free: 40.76 MB / 234.7 MB Notification: Performance of Templates: time 0.06126/0.9089, allocations: 41.8 MB / 406.3 MB, free: 14.9 MB / 234.7 MB