Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadModel(Buildings): time 3.938/3.938, allocations: 433.3 MB / 440.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.24e-05, allocations: 4 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5603, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2602/0.8206, allocations: 145.9 MB / 0.7714 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.8209, allocations: 99.86 kB / 0.7715 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6253/1.446, allocations: 36.35 MB / 0.807 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.188e-06/1.446, allocations: 1.344 kB / 0.807 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001017/1.446, allocations: 25.55 kB / 0.807 GB, free: 152.7 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003008/1.449, allocations: 0.954 MB / 0.8079 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.45, allocations: 8.5 kB / 0.8079 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/1.453, allocations: 233.6 kB / 0.8082 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/1.455, allocations: 0.5481 MB / 0.8087 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/1.455, allocations: 20.62 kB / 0.8087 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/1.455, allocations: 42.38 kB / 0.8088 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002074/1.457, allocations: 0.5945 MB / 0.8093 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/1.46, allocations: 1.021 MB / 0.8103 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/1.46, allocations: 8.391 kB / 0.8104 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.46, allocations: 5.031 kB / 0.8104 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/1.46, allocations: 53.64 kB / 0.8104 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/1.466, allocations: 5.754 MB / 0.816 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.467, allocations: 0.5265 MB / 0.8165 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/1.468, allocations: 312.4 kB / 0.8168 GB, free: 147 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/1.468, allocations: 5.188 kB / 0.8168 GB, free: 147 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.468, allocations: 43.59 kB / 0.8169 GB, free: 147 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.499e-06/1.468, allocations: 5.062 kB / 0.8169 GB, free: 147 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48): time 0.002663/1.47, allocations: 1.162 MB / 0.818 GB, free: 146.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/1.47, allocations: 55.78 kB / 0.8181 GB, free: 146.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/1.471, allocations: 400.2 kB / 0.8185 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/1.471, allocations: 25.7 kB / 0.8185 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/1.471, allocations: 410.4 kB / 0.8189 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.471, allocations: 163.5 kB / 0.819 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/1.471, allocations: 0 / 0.819 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/1.472, allocations: 365.2 kB / 0.8194 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/1.472, allocations: 251.9 kB / 0.8196 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/1.473, allocations: 440.8 kB / 0.82 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/1.473, allocations: 323.8 kB / 0.8204 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.542e-06/1.473, allocations: 0 / 0.8204 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002076/1.475, allocations: 0.9694 MB / 0.8213 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.475, allocations: 7.156 kB / 0.8213 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.475, allocations: 7.484 kB / 0.8213 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/1.476, allocations: 267 kB / 0.8216 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/1.477, allocations: 118.3 kB / 0.8217 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/1.483, allocations: 6.325 MB / 0.8279 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/1.484, allocations: 25.67 kB / 0.8279 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/1.484, allocations: 23.12 kB / 0.8279 GB, free: 139.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/1.484, allocations: 131.2 kB / 0.828 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.484, allocations: 66.81 kB / 0.8281 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/1.486, allocations: 0.8257 MB / 0.8289 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-06/1.486, allocations: 3.906 kB / 0.8289 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.999e-06/1.486, allocations: 3.906 kB / 0.8289 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.89e-06/1.486, allocations: 11.14 kB / 0.8289 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/1.489, allocations: 1.569 MB / 0.8304 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.959e-06/1.489, allocations: 0 / 0.8304 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/1.489, allocations: 55.12 kB / 0.8305 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/1.49, allocations: 266.7 kB / 0.8308 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/1.49, allocations: 0 / 0.8308 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/1.497, allocations: 6.3 MB / 0.8369 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.484e-06/1.497, allocations: 3.031 kB / 0.8369 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/1.499, allocations: 1.004 MB / 0.8379 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/1.499, allocations: 184.4 kB / 0.8381 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.499, allocations: 5.938 kB / 0.8381 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/1.5, allocations: 22.03 kB / 0.8381 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.5, allocations: 47.42 kB / 0.8381 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/1.5, allocations: 14.62 kB / 0.8382 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003876/1.5, allocations: 296.5 kB / 0.8384 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.52e-07/1.5, allocations: 0 / 0.8384 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001123/1.501, allocations: 202.9 kB / 0.8386 GB, free: 132.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/1.502, allocations: 121 kB / 0.8387 GB, free: 132 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001995/1.504, allocations: 1.169 MB / 0.8399 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.712e-06/1.504, allocations: 0 / 0.8399 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.505, allocations: 0.8409 MB / 0.8407 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.506, allocations: 165.1 kB / 0.8409 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/1.508, allocations: 0.9474 MB / 0.8418 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/1.509, allocations: 1.035 MB / 0.8428 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005864/1.509, allocations: 111.1 kB / 0.8429 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.51, allocations: 37.31 kB / 0.8429 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.766e-06/1.51, allocations: 0 / 0.8429 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.025/1.535, allocations: 9.294 MB / 0.852 GB, free: 124.3 MB / 0.6667 GB