Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01062/0.01062, allocations: 222.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001118/0.001118, allocations: 176 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.513/3.513, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.414/4.414, allocations: 472.3 MB / 0.9018 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 12 kB / 1.008 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6257, allocations: 98.73 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009876/0.6356, allocations: 4.799 MB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004401/0.6401, allocations: 2.478 MB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.6405, allocations: 19.81 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.6408, allocations: 83.33 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008165/0.6416, allocations: 344.7 kB / 1.112 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.6424, allocations: 286.4 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008776/0.6433, allocations: 1.041 MB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.6446, allocations: 0.7452 MB / 1.114 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.645, allocations: 302.7 kB / 1.114 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.6455, allocations: 371.9 kB / 1.114 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.6456, allocations: 24 kB / 1.114 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.6461, allocations: 191.8 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.6463, allocations: 223.3 kB / 1.115 GB, free: 173 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.6464, allocations: 145.3 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.6471, allocations: 0.722 MB / 1.116 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.017e-06/0.6471, allocations: 0 / 1.116 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.279e-06/0.6471, allocations: 0 / 1.116 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.6472, allocations: 0 / 1.116 GB, free: 172.1 MB / 0.6823 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.001305/0.6485, allocations: 0.8553 MB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6485, allocations: 8.031 kB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.6502, allocations: 202.2 kB / 1.117 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.651, allocations: 473.4 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.651, allocations: 42.05 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.6512, allocations: 55.91 kB / 1.117 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6524, allocations: 0.8239 MB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.6525, allocations: 7.938 kB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.6525, allocations: 22.91 kB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.6528, allocations: 68.95 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6538, allocations: 0.5676 MB / 1.119 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004261/0.6581, allocations: 4.577 MB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.6586, allocations: 299.7 kB / 1.123 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.659, allocations: 222.2 kB / 1.124 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.659, allocations: 4.281 kB / 1.124 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.6591, allocations: 42.83 kB / 1.124 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.168e-06/0.6591, allocations: 0 / 1.124 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.006198/0.6653, allocations: 2.64 MB / 1.126 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.6653, allocations: 55.97 kB / 1.126 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/0.6659, allocations: 446 kB / 1.127 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.6659, allocations: 37.7 kB / 1.127 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.6661, allocations: 343.6 kB / 1.127 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.6662, allocations: 138 kB / 1.127 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.6663, allocations: 15.53 kB / 1.127 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.6664, allocations: 363.3 kB / 1.127 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.6668, allocations: 233 kB / 1.128 GB, free: 159 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.6673, allocations: 413.8 kB / 1.128 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.6678, allocations: 291.1 kB / 1.128 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-06/0.6678, allocations: 0 / 1.128 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002038/0.6699, allocations: 0.9141 MB / 1.129 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.67, allocations: 9.125 kB / 1.129 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.67, allocations: 7.5 kB / 1.129 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/0.6709, allocations: 232 kB / 1.129 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/0.6717, allocations: 115.9 kB / 1.13 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/0.6772, allocations: 4.931 MB / 1.134 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.6779, allocations: 38.69 kB / 1.134 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.6779, allocations: 29.56 kB / 1.134 GB, free: 151.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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.0003511/0.6783, allocations: 216.8 kB / 1.135 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6784, allocations: 61.44 kB / 1.135 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.6803, allocations: 0.7745 MB / 1.135 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-06/0.6803, allocations: 4 kB / 1.136 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.732e-06/0.6803, allocations: 4 kB / 1.136 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-06/0.6804, allocations: 4.641 kB / 1.136 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.6832, allocations: 1.499 MB / 1.137 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.506e-06/0.6832, allocations: 0 / 1.137 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.6837, allocations: 67.88 kB / 1.137 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.6846, allocations: 202.8 kB / 1.137 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.6846, allocations: 12 kB / 1.137 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004558/0.6892, allocations: 4.868 MB / 1.142 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.6893, allocations: 3.906 kB / 1.142 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.6913, allocations: 1.139 MB / 1.143 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.6916, allocations: 165.8 kB / 1.143 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.6917, allocations: 16 kB / 1.143 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.6921, allocations: 19.97 kB / 1.143 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6922, allocations: 35.91 kB / 1.143 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.6923, allocations: 23.19 kB / 1.143 GB, free: 142 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003854/0.6927, allocations: 311.7 kB / 1.144 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6927, allocations: 0 / 1.144 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008268/0.6935, allocations: 164 kB / 1.144 GB, free: 141.5 MB / 0.6823 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 () * Number of clocked 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.0001553/0.6937, allocations: 117.9 kB / 1.144 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.6954, allocations: 1 MB / 1.145 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6954, allocations: 3.938 kB / 1.145 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6964, allocations: 0.6784 MB / 1.146 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6976, allocations: 167.4 kB / 1.146 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.6997, allocations: 1.488 MB / 1.147 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.7002, allocations: 0.9579 MB / 1.148 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005081/0.7007, allocations: 115.7 kB / 1.148 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.7009, allocations: 35.44 kB / 1.148 GB, free: 137 MB / 0.6823 GB Notification: Performance of SimCode: time 2.084e-06/0.7009, allocations: 3.531 kB / 1.148 GB, free: 137 MB / 0.6823 GB Notification: Performance of Templates: time 0.01847/0.7194, allocations: 8.15 MB / 1.156 GB, free: 129.3 MB / 0.6823 GB