Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 292.6 MB / 307.8 MB, free: 7.141 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 193 kB / 376.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 225.7 MB / 0.655 GB, free: 13.16 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.0008562, allocations: 99.88 kB / 0.7711 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 13.41 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7326, allocations: 118.2 MB / 1.012 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03549/0.7681, allocations: 37.45 MB / 1.049 GB, free: 40.87 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02311/0.7913, allocations: 14.39 MB / 1.063 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006053/0.7974, allocations: 162.5 kB / 1.063 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.8014, allocations: 0.8384 MB / 1.064 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008945/0.8104, allocations: 2.442 MB / 1.066 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008246/0.8187, allocations: 2.043 MB / 1.068 GB, free: 28.58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01718/0.8359, allocations: 12.76 MB / 1.081 GB, free: 23.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02205/0.858, allocations: 15.56 MB / 1.096 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008659/0.8667, allocations: 3.553 MB / 1.1 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00933/0.8761, allocations: 4.64 MB / 1.104 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002779/0.8789, allocations: 399.9 kB / 1.104 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008111/0.887, allocations: 1.74 MB / 1.106 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.006754/0.8938, allocations: 2.959 MB / 1.109 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.9048, allocations: 3.367 MB / 1.112 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.9261, allocations: 11.8 MB / 1.124 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.9262, allocations: 1.094 kB / 1.124 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.836e-06/0.9262, allocations: 0 / 1.124 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006208/0.9268, allocations: 0 / 1.124 GB, free: 9.312 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02492/0.9517, allocations: 6.157 MB / 1.13 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.9518, allocations: 15 kB / 1.13 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.9646, allocations: 1.521 MB / 1.131 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.9765, allocations: 4.201 MB / 1.135 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005157/0.9771, allocations: 451.8 kB / 1.136 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004051/0.9812, allocations: 0.5947 MB / 1.136 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03463/1.016, allocations: 10.64 MB / 1.147 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003805/1.016, allocations: 34.77 kB / 1.147 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/1.019, allocations: 267.1 kB / 1.147 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003086/1.023, allocations: 0.7723 MB / 1.148 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/1.047, allocations: 8.513 MB / 1.156 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0798/1.127, allocations: 47 MB / 1.202 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/1.135, allocations: 4.29 MB / 1.206 GB, free: 96 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006437/1.141, allocations: 3.675 MB / 1.21 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/1.142, allocations: 38.78 kB / 1.21 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/1.142, allocations: 77.34 kB / 1.21 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=353): time 5.41e-06/1.142, allocations: 0 / 1.21 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=578): time 0.5412/1.683, allocations: 128 MB / 1.335 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/1.683, allocations: 107.9 kB / 1.335 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/1.687, allocations: 2.657 MB / 1.338 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.688, allocations: 121.7 kB / 1.338 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001897/1.69, allocations: 2.68 MB / 1.34 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002614/1.692, allocations: 1.952 MB / 1.342 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/1.693, allocations: 112 kB / 1.342 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003412/1.693, allocations: 0.5217 MB / 1.343 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4582/2.151, allocations: 4.062 MB / 1.347 GB, free: 245.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007251/2.159, allocations: 4.986 MB / 1.352 GB, free: 244.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/2.172, allocations: 9.812 MB / 1.361 GB, free: 243.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/2.172, allocations: 9 kB / 1.361 GB, free: 243.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04011/2.213, allocations: 16.94 MB / 1.378 GB, free: 237.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/2.213, allocations: 18.48 kB / 1.378 GB, free: 237.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/2.213, allocations: 22.03 kB / 1.378 GB, free: 237.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03086/2.244, allocations: 9.052 MB / 1.387 GB, free: 235 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/2.246, allocations: 0.5279 MB / 1.387 GB, free: 234.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09253/2.339, allocations: 70.63 MB / 1.456 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007441/2.346, allocations: 278.3 kB / 1.457 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/2.348, allocations: 192.1 kB / 1.457 GB, free: 195.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007227/2.355, allocations: 2.427 MB / 1.459 GB, free: 194.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/2.357, allocations: 474.1 kB / 1.46 GB, free: 193.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0371/2.394, allocations: 16.77 MB / 1.476 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/2.394, allocations: 56.03 kB / 1.476 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001796/2.394, allocations: 69.31 kB / 1.476 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.822e-05/2.394, allocations: 25.97 kB / 1.476 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0529/2.447, allocations: 25.64 MB / 1.501 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-05/2.447, allocations: 10.31 kB / 1.501 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/2.449, allocations: 319.5 kB / 1.501 GB, free: 166.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02693/2.476, allocations: 8.261 MB / 1.51 GB, free: 158.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/2.477, allocations: 104 kB / 1.51 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07803/2.555, allocations: 67.46 MB / 1.575 GB, free: 89.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/2.556, allocations: 11.94 kB / 1.576 GB, free: 89.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03905/2.595, allocations: 21.5 MB / 1.597 GB, free: 67.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004064/2.599, allocations: 1.362 MB / 1.598 GB, free: 65.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/2.6, allocations: 104 kB / 1.598 GB, free: 65.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003978/2.604, allocations: 287.6 kB / 1.598 GB, free: 65.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/2.606, allocations: 0.526 MB / 1.599 GB, free: 65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003961/2.606, allocations: 147.9 kB / 1.599 GB, free: 64.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00217/2.609, allocations: 1.745 MB / 1.601 GB, free: 63.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/2.609, allocations: 0 / 1.601 GB, free: 63.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008018/2.617, allocations: 2.441 MB / 1.603 GB, free: 60.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008032/2.617, allocations: 252.5 kB / 1.603 GB, free: 60.42 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02285/2.64, allocations: 14.48 MB / 1.617 GB, free: 45.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/2.64, allocations: 5.016 kB / 1.617 GB, free: 45.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01671/2.657, allocations: 9.376 MB / 1.626 GB, free: 36.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/2.669, allocations: 1.264 MB / 1.628 GB, free: 35.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/2.696, allocations: 18.09 MB / 1.645 GB, free: 16.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006331/2.703, allocations: 4.896 MB / 1.65 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003109/2.706, allocations: 0.7424 MB / 1.651 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/2.706, allocations: 203.4 kB / 1.651 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/2.706, allocations: 0 / 1.651 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of Templates: time 0.6633/3.37, allocations: 136.1 MB / 1.784 GB, free: 239.4 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)