Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.842/1.842, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001012/0.001012, allocations: 187.2 kB / 393.1 MB, free: 4.07 MB / 314.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.443/1.443, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 95.81 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.000497, allocations: 8.75 kB / 0.9224 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7507, allocations: 121.3 MB / 1.041 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006132/0.7569, allocations: 6.095 MB / 1.047 GB, free: 54.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.7617, allocations: 4.337 MB / 1.051 GB, free: 50.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.7624, allocations: 24.44 kB / 1.051 GB, free: 50.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.7628, allocations: 138.6 kB / 1.051 GB, free: 50.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.764, allocations: 473 kB / 1.052 GB, free: 50.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.7651, allocations: 416.4 kB / 1.052 GB, free: 50.26 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.7667, allocations: 1.596 MB / 1.054 GB, free: 49.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.7685, allocations: 1.528 MB / 1.055 GB, free: 48.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006536/0.7691, allocations: 402.5 kB / 1.056 GB, free: 48.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.7697, allocations: 0.4901 MB / 1.056 GB, free: 48.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.7698, allocations: 34.31 kB / 1.056 GB, free: 48.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008278/0.7707, allocations: 426.4 kB / 1.056 GB, free: 48.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.7709, allocations: 263.6 kB / 1.057 GB, free: 47.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.7713, allocations: 433.7 kB / 1.057 GB, free: 47.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.7731, allocations: 1.188 MB / 1.058 GB, free: 47.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.7731, allocations: 0 / 1.058 GB, free: 47.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.105e-06/0.7731, allocations: 3.938 kB / 1.058 GB, free: 47.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.7731, allocations: 0 / 1.058 GB, free: 47.35 MB / 0.698 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.001982/0.7751, allocations: 1.006 MB / 1.059 GB, free: 46.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.7752, allocations: 9.875 kB / 1.059 GB, free: 46.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.7768, allocations: 242 kB / 1.059 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.7777, allocations: 0.554 MB / 1.06 GB, free: 46.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.7778, allocations: 52.33 kB / 1.06 GB, free: 46.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.7779, allocations: 69.61 kB / 1.06 GB, free: 46.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.7797, allocations: 1.073 MB / 1.061 GB, free: 45.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.7797, allocations: 11.09 kB / 1.061 GB, free: 45.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.7798, allocations: 35.11 kB / 1.061 GB, free: 45.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.78, allocations: 83.28 kB / 1.061 GB, free: 45.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.7813, allocations: 0.7477 MB / 1.062 GB, free: 45.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.786, allocations: 5.904 MB / 1.068 GB, free: 40.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.787, allocations: 0.5553 MB / 1.068 GB, free: 39.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.7874, allocations: 323.5 kB / 1.069 GB, free: 39.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.7875, allocations: 3.688 kB / 1.069 GB, free: 39.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.7875, allocations: 42.12 kB / 1.069 GB, free: 39.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 1.983e-06/0.7875, allocations: 3.094 kB / 1.069 GB, free: 39.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00353/0.7911, allocations: 1.994 MB / 1.071 GB, free: 38.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.7911, allocations: 55.19 kB / 1.071 GB, free: 38.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/0.7917, allocations: 0.5583 MB / 1.071 GB, free: 38.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.7918, allocations: 33.02 kB / 1.071 GB, free: 38.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.792, allocations: 418.3 kB / 1.072 GB, free: 38.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.7922, allocations: 173.7 kB / 1.072 GB, free: 37.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.7922, allocations: 15.03 kB / 1.072 GB, free: 37.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7924, allocations: 380.2 kB / 1.072 GB, free: 37.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.7928, allocations: 271.6 kB / 1.072 GB, free: 37.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.7932, allocations: 495 kB / 1.073 GB, free: 37.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008893/0.7941, allocations: 0.8064 MB / 1.074 GB, free: 36.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7941, allocations: 0 / 1.074 GB, free: 36.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001674/0.7958, allocations: 1.092 MB / 1.075 GB, free: 36.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.7959, allocations: 10.12 kB / 1.075 GB, free: 36.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.7959, allocations: 9.188 kB / 1.075 GB, free: 36.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/0.7967, allocations: 278.5 kB / 1.075 GB, free: 36.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.7971, allocations: 119.7 kB / 1.075 GB, free: 36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/0.802, allocations: 6.596 MB / 1.082 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.8026, allocations: 40.16 kB / 1.082 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.8027, allocations: 28.16 kB / 1.082 GB, free: 30.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003743/0.8031, allocations: 255.1 kB / 1.082 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.8032, allocations: 72 kB / 1.082 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.8046, allocations: 0.8883 MB / 1.083 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8046, allocations: 6.531 kB / 1.083 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8046, allocations: 2.969 kB / 1.083 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.8046, allocations: 3.469 kB / 1.083 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.807, allocations: 1.723 MB / 1.085 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.807, allocations: 7.094 kB / 1.085 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.8072, allocations: 61.64 kB / 1.085 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007387/0.808, allocations: 273.9 kB / 1.085 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.808, allocations: 11.28 kB / 1.085 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.8131, allocations: 6.576 MB / 1.091 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.8132, allocations: 6.344 kB / 1.091 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.8148, allocations: 0.9925 MB / 1.092 GB, free: 22.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.8151, allocations: 194 kB / 1.093 GB, free: 22.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.849e-05/0.8152, allocations: 16.06 kB / 1.093 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.8156, allocations: 26.92 kB / 1.093 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.8157, allocations: 44.39 kB / 1.093 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.8157, allocations: 15.53 kB / 1.093 GB, free: 22.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004096/0.8162, allocations: 389.4 kB / 1.093 GB, free: 21.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8162, allocations: 0 / 1.093 GB, free: 21.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008866/0.8171, allocations: 225 kB / 1.093 GB, free: 21.93 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.8172, allocations: 115.9 kB / 1.093 GB, free: 21.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.8191, allocations: 1.27 MB / 1.095 GB, free: 21.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.8191, allocations: 0 / 1.095 GB, free: 21.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.8202, allocations: 0.8965 MB / 1.095 GB, free: 20.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.8213, allocations: 204.1 kB / 1.096 GB, free: 20.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.8236, allocations: 1.67 MB / 1.097 GB, free: 19.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.8242, allocations: 1.016 MB / 1.098 GB, free: 18.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004712/0.8246, allocations: 122.6 kB / 1.098 GB, free: 18.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.8248, allocations: 41.72 kB / 1.098 GB, free: 18.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.954e-06/0.8248, allocations: 0 / 1.098 GB, free: 18.62 MB / 0.698 GB Notification: Performance of Templates: time 0.01961/0.8444, allocations: 10.63 MB / 1.109 GB, free: 17.95 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)