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.009336/0.00934, allocations: 108.7 kB / 15.06 MB, free: 5.559 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.001146/0.001146, allocations: 180.3 kB / 15.95 MB, free: 5.52 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 1.842/1.842, allocations: 194.6 MB / 211.3 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.446/2.446, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 11.98 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5825, allocations: 98.72 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006278/0.5889, allocations: 4.624 MB / 0.6879 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00495/0.5939, allocations: 2.465 MB / 0.6903 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006102/0.5945, allocations: 21.94 kB / 0.6903 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.5949, allocations: 90.92 kB / 0.6904 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.5959, allocations: 323 kB / 0.6907 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.597, allocations: 287.5 kB / 0.691 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000945/0.598, allocations: 0.5792 MB / 0.6915 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.5996, allocations: 0.7495 MB / 0.6923 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.6002, allocations: 286.1 kB / 0.6925 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.6007, allocations: 292.4 kB / 0.6928 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.6008, allocations: 29.44 kB / 0.6928 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.6015, allocations: 154.1 kB / 0.693 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.6017, allocations: 203.8 kB / 0.6932 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.602, allocations: 147.7 kB / 0.6933 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.6031, allocations: 0.6832 MB / 0.694 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.443e-06/0.6032, allocations: 0 / 0.694 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.852e-06/0.6032, allocations: 1.688 kB / 0.694 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.6032, allocations: 0 / 0.694 GB, free: 10.15 MB / 0.5261 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.001778/0.605, allocations: 0.8512 MB / 0.6948 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.6051, allocations: 9.5 kB / 0.6948 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6068, allocations: 180.3 kB / 0.695 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.6079, allocations: 470.1 kB / 0.6955 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.608, allocations: 41.27 kB / 0.6955 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.6082, allocations: 54.78 kB / 0.6955 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6098, allocations: 0.8231 MB / 0.6963 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.6099, allocations: 11.64 kB / 0.6964 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.61, allocations: 27.25 kB / 0.6964 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.6103, allocations: 63.78 kB / 0.6964 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.6116, allocations: 0.5697 MB / 0.697 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.6168, allocations: 4.589 MB / 0.7015 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.6175, allocations: 289.9 kB / 0.7018 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.6175, allocations: 3.906 kB / 0.7018 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.6176, allocations: 37.06 kB / 0.7018 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.35e-06/0.6176, allocations: 0 / 0.7018 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.007096/0.6247, allocations: 2.639 MB / 0.7044 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.6247, allocations: 54.47 kB / 0.7044 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.6254, allocations: 453.5 kB / 0.7049 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.6255, allocations: 34.98 kB / 0.7049 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.6257, allocations: 340.9 kB / 0.7052 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.6258, allocations: 144.6 kB / 0.7054 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.6259, allocations: 9.938 kB / 0.7054 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.626, allocations: 368.6 kB / 0.7057 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.6264, allocations: 228.1 kB / 0.7059 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.627, allocations: 410.3 kB / 0.7063 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.6276, allocations: 295.1 kB / 0.7066 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-06/0.6276, allocations: 1.125 kB / 0.7066 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002197/0.6298, allocations: 0.9093 MB / 0.7075 GB, free: 36 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.6299, allocations: 8.469 kB / 0.7075 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6299, allocations: 9.938 kB / 0.7075 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.631, allocations: 221.7 kB / 0.7077 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.6317, allocations: 117.2 kB / 0.7078 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/0.639, allocations: 5.025 MB / 0.7127 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.6398, allocations: 29.97 kB / 0.7128 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.6399, allocations: 23.47 kB / 0.7128 GB, free: 11.18 MB / 0.5417 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.0004886/0.6404, allocations: 227.6 kB / 0.713 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6405, allocations: 55.19 kB / 0.7131 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.6427, allocations: 0.7768 MB / 0.7138 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.6427, allocations: 4.188 kB / 0.7138 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-06/0.6427, allocations: 3 kB / 0.7138 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.279e-06/0.6427, allocations: 0 / 0.7138 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.6464, allocations: 1.495 MB / 0.7153 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.13e-06/0.6464, allocations: 0.9688 kB / 0.7153 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.647, allocations: 73.78 kB / 0.7154 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009724/0.648, allocations: 205.7 kB / 0.7156 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.648, allocations: 12.59 kB / 0.7156 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006989/0.655, allocations: 4.949 MB / 0.7204 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.6551, allocations: 3.062 kB / 0.7204 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.6579, allocations: 1.216 MB / 0.7216 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.6583, allocations: 174.7 kB / 0.7218 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6584, allocations: 7.875 kB / 0.7218 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.6589, allocations: 31.3 kB / 0.7218 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.6591, allocations: 40.61 kB / 0.7218 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.6591, allocations: 17.69 kB / 0.7219 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005132/0.6597, allocations: 302.1 kB / 0.7221 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.33e-07/0.6597, allocations: 0 / 0.7221 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009394/0.6606, allocations: 170.8 kB / 0.7223 GB, free: 3.402 MB / 0.5417 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.0001998/0.6608, allocations: 113.9 kB / 0.7224 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.6631, allocations: 1 MB / 0.7234 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.245e-06/0.6631, allocations: 1.156 kB / 0.7234 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.6645, allocations: 0.6853 MB / 0.7241 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6656, allocations: 162.1 kB / 0.7242 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.6687, allocations: 1.491 MB / 0.7257 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008388/0.6696, allocations: 0.9583 MB / 0.7266 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0005999/0.6702, allocations: 120.9 kB / 0.7267 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6704, allocations: 39.42 kB / 0.7268 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of SimCode: time 1.489e-06/0.6704, allocations: 0 / 0.7268 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of Templates: time 0.02241/0.6928, allocations: 8.124 MB / 0.7347 GB, free: 7.754 MB / 0.5574 GB