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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadModel(Buildings): time 4.013/4.013, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.956e-05, allocations: 4 kB / 0.5325 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.571, allocations: 98.72 MB / 0.6289 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.9093, allocations: 167.1 MB / 0.7922 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.9096, allocations: 91.94 kB / 0.7922 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5614/1.471, allocations: 31.09 MB / 0.8226 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.01e-06/1.471, allocations: 3.938 kB / 0.8226 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.54e-05/1.471, allocations: 15.81 kB / 0.8226 GB, free: 158.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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00134/1.473, allocations: 0.7953 MB / 0.8234 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.473, allocations: 8.031 kB / 0.8234 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/1.474, allocations: 202.8 kB / 0.8236 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.476, allocations: 498.8 kB / 0.8241 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/1.476, allocations: 16 kB / 0.8241 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.476, allocations: 32 kB / 0.8241 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009414/1.477, allocations: 462.5 kB / 0.8246 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.478, allocations: 0.7884 MB / 0.8253 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/1.478, allocations: 3.906 kB / 0.8253 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/1.478, allocations: 4 kB / 0.8253 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.848e-05/1.478, allocations: 45.3 kB / 0.8254 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/1.482, allocations: 4.479 MB / 0.8298 GB, free: 150.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/1.483, allocations: 298.4 kB / 0.83 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/1.483, allocations: 209.9 kB / 0.8302 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/1.483, allocations: 4 kB / 0.8302 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.483, allocations: 38.56 kB / 0.8303 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.941e-06/1.483, allocations: 0 / 0.8303 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.004597/1.488, allocations: 1.974 MB / 0.8322 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/1.488, allocations: 59.41 kB / 0.8323 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/1.489, allocations: 325.2 kB / 0.8326 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/1.489, allocations: 25.7 kB / 0.8326 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/1.489, allocations: 347.5 kB / 0.8329 GB, free: 147.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.489, allocations: 142 kB / 0.8331 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/1.489, allocations: 0 / 0.8331 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/1.489, allocations: 362.7 kB / 0.8334 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/1.489, allocations: 217 kB / 0.8336 GB, free: 146.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/1.49, allocations: 363.3 kB / 0.834 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/1.49, allocations: 281.4 kB / 0.8342 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-06/1.49, allocations: 3.938 kB / 0.8342 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001802/1.492, allocations: 0.8162 MB / 0.835 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.492, allocations: 8.562 kB / 0.835 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.492, allocations: 4 kB / 0.8351 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009334/1.493, allocations: 222.4 kB / 0.8353 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/1.494, allocations: 111.8 kB / 0.8354 GB, free: 145 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/1.498, allocations: 4.735 MB / 0.84 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/1.499, allocations: 19.97 kB / 0.84 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/1.499, allocations: 20 kB / 0.84 GB, free: 139.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.499, allocations: 120.9 kB / 0.8401 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.499, allocations: 55.39 kB / 0.8402 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.501, allocations: 0.719 MB / 0.8409 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.08e-06/1.501, allocations: 8 kB / 0.8409 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.501, allocations: 3.953 kB / 0.8409 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.712e-06/1.501, allocations: 3.984 kB / 0.8409 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/1.504, allocations: 1.351 MB / 0.8422 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.73e-06/1.504, allocations: 0 / 0.8422 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/1.504, allocations: 67.88 kB / 0.8423 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/1.505, allocations: 202.5 kB / 0.8425 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/1.505, allocations: 4.188 kB / 0.8425 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/1.509, allocations: 4.661 MB / 0.8471 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.166e-06/1.509, allocations: 8.016 kB / 0.8471 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.511, allocations: 1.166 MB / 0.8482 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/1.512, allocations: 160.5 kB / 0.8484 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/1.512, allocations: 11.94 kB / 0.8484 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/1.512, allocations: 15.97 kB / 0.8484 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.512, allocations: 39.98 kB / 0.8484 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/1.512, allocations: 19.98 kB / 0.8484 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003168/1.513, allocations: 251 kB / 0.8487 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.25e-07/1.513, allocations: 4.062 kB / 0.8487 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008846/1.514, allocations: 152 kB / 0.8488 GB, free: 130.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/1.514, allocations: 119.1 kB / 0.8489 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001539/1.515, allocations: 0.9272 MB / 0.8498 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.515, allocations: 4.125 kB / 0.8498 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000943/1.516, allocations: 0.6353 MB / 0.8505 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/1.517, allocations: 133.9 kB / 0.8506 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.519, allocations: 0.9427 MB / 0.8515 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/1.52, allocations: 0.9569 MB / 0.8524 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000484/1.52, allocations: 104.6 kB / 0.8525 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.52, allocations: 39.44 kB / 0.8526 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.597e-06/1.52, allocations: 0 / 0.8526 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.01735/1.538, allocations: 7.47 MB / 0.8599 GB, free: 118.9 MB / 0.6667 GB