Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_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.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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.0/package.mo): time 1.706/1.706, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.001133/0.001133, allocations: 184 kB / 375.4 MB, free: 5.121 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.576/1.576, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0008771/0.0008777, allocations: 104.4 kB / 0.7699 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004744, allocations: 13.22 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7513, allocations: 118.1 MB / 1.011 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03506/0.7864, allocations: 37.45 MB / 1.047 GB, free: 40.11 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02496/0.8114, allocations: 14.39 MB / 1.062 GB, free: 30.67 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006504/0.818, allocations: 159.9 kB / 1.062 GB, free: 30.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.8225, allocations: 0.8379 MB / 1.063 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.8328, allocations: 2.314 MB / 1.065 GB, free: 28.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008317/0.8412, allocations: 1.917 MB / 1.067 GB, free: 27.91 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02063/0.8618, allocations: 12.76 MB / 1.079 GB, free: 23.1 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02542/0.8873, allocations: 15.57 MB / 1.094 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008785/0.8962, allocations: 3.553 MB / 1.098 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009505/0.9057, allocations: 4.636 MB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002876/0.9086, allocations: 398.9 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/0.9148, allocations: 0.8917 MB / 1.104 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.006156/0.921, allocations: 2.96 MB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004679/0.9257, allocations: 1.385 MB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02082/0.9465, allocations: 11.75 MB / 1.119 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.9466, allocations: 0 / 1.119 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.279e-06/0.9466, allocations: 1.25 kB / 1.119 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006669/0.9473, allocations: 0 / 1.119 GB, free: 10.16 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.02481/0.9721, allocations: 6.152 MB / 1.125 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.9722, allocations: 14.09 kB / 1.125 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.9851, allocations: 1.518 MB / 1.127 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.9986, allocations: 4.21 MB / 1.131 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007578/0.9994, allocations: 452.5 kB / 1.131 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/1.004, allocations: 0.5908 MB / 1.132 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0387/1.043, allocations: 10.64 MB / 1.142 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004088/1.044, allocations: 38.61 kB / 1.142 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003802/1.047, allocations: 266.3 kB / 1.143 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003486/1.051, allocations: 0.7762 MB / 1.143 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02991/1.081, allocations: 8.512 MB / 1.152 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07828/1.159, allocations: 46.98 MB / 1.198 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007371/1.167, allocations: 4.295 MB / 1.202 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00648/1.173, allocations: 3.673 MB / 1.205 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/1.174, allocations: 34.78 kB / 1.205 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.112e-05/1.174, allocations: 77.34 kB / 1.205 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=353): time 7.685e-06/1.174, allocations: 1.219 kB / 1.205 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of matching and sorting (n=578): time 0.5369/1.711, allocations: 128 MB / 1.33 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.711, allocations: 111.9 kB / 1.331 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/1.717, allocations: 2.658 MB / 1.333 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001499/1.718, allocations: 117.7 kB / 1.333 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.72, allocations: 2.68 MB / 1.336 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003407/1.724, allocations: 1.956 MB / 1.338 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/1.725, allocations: 112 kB / 1.338 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0005359/1.726, allocations: 0.5217 MB / 1.338 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007751/1.733, allocations: 4.06 MB / 1.342 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4769/2.21, allocations: 4.991 MB / 1.347 GB, free: 244 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/2.224, allocations: 9.815 MB / 1.357 GB, free: 242.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/2.224, allocations: 10.06 kB / 1.357 GB, free: 242.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03784/2.262, allocations: 16.93 MB / 1.373 GB, free: 238.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/2.262, allocations: 18.75 kB / 1.373 GB, free: 238.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.444e-05/2.262, allocations: 23.5 kB / 1.373 GB, free: 238.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03019/2.292, allocations: 9.051 MB / 1.382 GB, free: 235.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/2.295, allocations: 0.5228 MB / 1.383 GB, free: 235.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1078/2.403, allocations: 70.63 MB / 1.452 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007867/2.411, allocations: 279.4 kB / 1.452 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/2.412, allocations: 193 kB / 1.452 GB, free: 196.2 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.01014/2.422, allocations: 2.423 MB / 1.455 GB, free: 195.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/2.425, allocations: 475.3 kB / 1.455 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04815/2.473, allocations: 16.77 MB / 1.471 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-05/2.473, allocations: 55 kB / 1.471 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001688/2.474, allocations: 72.66 kB / 1.472 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.689e-05/2.474, allocations: 33.7 kB / 1.472 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04906/2.523, allocations: 25.64 MB / 1.497 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.354e-05/2.523, allocations: 4 kB / 1.497 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/2.525, allocations: 319.5 kB / 1.497 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02646/2.551, allocations: 8.259 MB / 1.505 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/2.553, allocations: 108 kB / 1.505 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07919/2.632, allocations: 67.45 MB / 1.571 GB, free: 92.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/2.632, allocations: 11.94 kB / 1.571 GB, free: 92.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03875/2.671, allocations: 21.5 MB / 1.592 GB, free: 71.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003639/2.674, allocations: 1.363 MB / 1.593 GB, free: 69.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/2.676, allocations: 108 kB / 1.593 GB, free: 69.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003659/2.679, allocations: 287.6 kB / 1.594 GB, free: 69.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001684/2.681, allocations: 0.5221 MB / 1.594 GB, free: 68.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004317/2.681, allocations: 142 kB / 1.594 GB, free: 68.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00219/2.684, allocations: 1.76 MB / 1.596 GB, free: 66.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3e-07/2.684, allocations: 1.312 kB / 1.596 GB, free: 66.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00796/2.692, allocations: 2.438 MB / 1.598 GB, free: 64.43 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.0008486/2.692, allocations: 252.4 kB / 1.599 GB, free: 64.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02218/2.715, allocations: 14.47 MB / 1.613 GB, free: 49.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/2.715, allocations: 5.016 kB / 1.613 GB, free: 49.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/2.732, allocations: 9.384 MB / 1.622 GB, free: 40 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009612/2.741, allocations: 1.255 MB / 1.623 GB, free: 38.81 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/2.764, allocations: 18.1 MB / 1.641 GB, free: 20.71 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005048/2.769, allocations: 4.893 MB / 1.646 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0029/2.772, allocations: 0.7441 MB / 1.646 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005475/2.772, allocations: 199.4 kB / 1.647 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/2.772, allocations: 0.8438 kB / 1.647 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.6026/3.375, allocations: 135.3 MB / 1.779 GB, free: 236.3 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)