Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.781/1.781, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001272/0.001272, allocations: 175.5 kB / 393.1 MB, free: 4.086 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.475/1.475, allocations: 225.7 MB / 0.6743 GB, free: 12.52 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.000979/0.0009789, allocations: 92.83 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 8.844 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6329/0.6332, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03245/0.6658, allocations: 37.94 MB / 1.078 GB, free: 32.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.6863, allocations: 19.72 MB / 1.097 GB, free: 16.65 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/0.6906, allocations: 157.9 kB / 1.097 GB, free: 16.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.6931, allocations: 0.859 MB / 1.098 GB, free: 16.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.6995, allocations: 2.641 MB / 1.101 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00589/0.7054, allocations: 2.696 MB / 1.103 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01649/0.7219, allocations: 15.94 MB / 1.119 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0293/0.7512, allocations: 21.8 MB / 1.14 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008347/0.7596, allocations: 3.611 MB / 1.144 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009084/0.7687, allocations: 4.718 MB / 1.148 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.7712, allocations: 403.9 kB / 1.149 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/0.7774, allocations: 1.763 MB / 1.151 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.006503/0.7839, allocations: 2.929 MB / 1.153 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.009605/0.7935, allocations: 3.514 MB / 1.157 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.02264/0.8162, allocations: 13.58 MB / 1.17 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8162, allocations: 3.938 kB / 1.17 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8163, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004568/0.8167, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.7448 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.01677/0.8335, allocations: 6.154 MB / 1.176 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.8336, allocations: 12.03 kB / 1.176 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.8439, allocations: 1.514 MB / 1.178 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008843/0.8528, allocations: 4.209 MB / 1.182 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000441/0.8533, allocations: 452.5 kB / 1.182 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/0.8556, allocations: 0.6017 MB / 1.183 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.8799, allocations: 10.63 MB / 1.193 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002119/0.8802, allocations: 27.77 kB / 1.193 GB, free: 6.949 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/0.8813, allocations: 267.9 kB / 1.193 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/0.8838, allocations: 0.7729 MB / 1.194 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.9044, allocations: 8.51 MB / 1.202 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06802/0.9725, allocations: 46.99 MB / 1.248 GB, free: 10.63 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006527/0.9791, allocations: 4.302 MB / 1.253 GB, free: 6.316 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005361/0.9845, allocations: 3.67 MB / 1.256 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.9848, allocations: 42.72 kB / 1.256 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.9848, allocations: 77.34 kB / 1.256 GB, free: 2.508 MB / 0.823 GB Notification: Performance of pre-optimization done (n=353): time 5.62e-06/0.9848, allocations: 0 / 1.256 GB, free: 2.508 MB / 0.823 GB Notification: Performance of matching and sorting (n=578): time 0.9554/1.94, allocations: 128 MB / 1.381 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.94, allocations: 111.4 kB / 1.381 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004899/1.945, allocations: 2.657 MB / 1.384 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.946, allocations: 124.5 kB / 1.384 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001669/1.948, allocations: 2.668 MB / 1.387 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002738/1.951, allocations: 1.956 MB / 1.389 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/1.951, allocations: 112.4 kB / 1.389 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003667/1.952, allocations: 0.5272 MB / 1.389 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005758/1.957, allocations: 4.06 MB / 1.393 GB, free: 203 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006183/1.964, allocations: 4.988 MB / 1.398 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.977, allocations: 9.814 MB / 1.408 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/1.977, allocations: 7.938 kB / 1.408 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03513/2.012, allocations: 16.94 MB / 1.424 GB, free: 176 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/2.012, allocations: 14.53 kB / 1.424 GB, free: 176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/2.012, allocations: 24 kB / 1.424 GB, free: 176 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02854/2.041, allocations: 9.062 MB / 1.433 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/2.043, allocations: 0.5187 MB / 1.434 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08154/2.125, allocations: 70.62 MB / 1.503 GB, free: 94.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/2.13, allocations: 283.8 kB / 1.503 GB, free: 94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008559/2.131, allocations: 188 kB / 1.503 GB, free: 93.82 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (14,72,51.0%), (6,40,77.8%), (7,71,71.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004555/2.135, allocations: 2.421 MB / 1.505 GB, free: 91.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/2.136, allocations: 474.5 kB / 1.506 GB, free: 90.92 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03253/2.169, allocations: 16.77 MB / 1.522 GB, free: 74.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-05/2.169, allocations: 56 kB / 1.522 GB, free: 73.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003239/2.169, allocations: 75.94 kB / 1.522 GB, free: 73.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001661/2.17, allocations: 27.89 kB / 1.522 GB, free: 73.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05136/2.221, allocations: 25.63 MB / 1.547 GB, free: 47.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.549e-05/2.221, allocations: 8 kB / 1.547 GB, free: 47.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/2.223, allocations: 323.5 kB / 1.548 GB, free: 47.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02661/2.249, allocations: 8.257 MB / 1.556 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/2.25, allocations: 104 kB / 1.556 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08874/2.339, allocations: 67.47 MB / 1.622 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/2.339, allocations: 11.94 kB / 1.622 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04576/2.385, allocations: 21.5 MB / 1.643 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004302/2.389, allocations: 1.371 MB / 1.644 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/2.391, allocations: 104 kB / 1.644 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/2.395, allocations: 291.6 kB / 1.644 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002276/2.398, allocations: 0.5221 MB / 1.645 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004848/2.398, allocations: 143.9 kB / 1.645 GB, free: 10.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003202/2.401, allocations: 1.745 MB / 1.647 GB, free: 8.301 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.401, allocations: 7.375 kB / 1.647 GB, free: 8.297 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01012/2.411, allocations: 2.438 MB / 1.649 GB, free: 5.859 MB / 0.948 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/2.413, allocations: 253.7 kB / 1.649 GB, free: 5.605 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02733/2.44, allocations: 14.49 MB / 1.664 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-05/2.44, allocations: 4.188 kB / 1.664 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01974/2.46, allocations: 9.365 MB / 1.673 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/2.47, allocations: 1.285 MB / 1.674 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.452/2.922, allocations: 18.78 MB / 1.692 GB, free: 279.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008235/2.931, allocations: 4.894 MB / 1.697 GB, free: 278.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00341/2.934, allocations: 0.7359 MB / 1.698 GB, free: 278.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/2.935, allocations: 199.8 kB / 1.698 GB, free: 278.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.153e-06/2.935, allocations: 0 / 1.698 GB, free: 278.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.2186/3.153, allocations: 138.5 MB / 1.833 GB, free: 204.8 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)