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_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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.757/1.757, allocations: 306.1 MB / 321.4 MB, free: 10.79 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.00101/0.00101, allocations: 183.5 kB / 393.1 MB, free: 4.102 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.481/1.481, allocations: 225.7 MB / 0.6743 GB, free: 12.64 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.0008108/0.0008108, allocations: 100.3 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 12 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6522, allocations: 121.3 MB / 1.041 GB, free: 58.53 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02613/0.6784, allocations: 32.38 MB / 1.073 GB, free: 36.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.6933, allocations: 12.92 MB / 1.085 GB, free: 26.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003697/0.6971, allocations: 123.9 kB / 1.085 GB, free: 26.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.6996, allocations: 0.7021 MB / 1.086 GB, free: 25.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.7048, allocations: 1.911 MB / 1.088 GB, free: 24.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.7089, allocations: 1.609 MB / 1.089 GB, free: 23.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.7199, allocations: 11.19 MB / 1.1 GB, free: 19.9 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01998/0.7399, allocations: 17.13 MB / 1.117 GB, free: 8.477 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005682/0.7456, allocations: 2.485 MB / 1.119 GB, free: 7.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006316/0.7519, allocations: 3.187 MB / 1.123 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.7532, allocations: 281.2 kB / 1.123 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.7573, allocations: 1.231 MB / 1.124 GB, free: 5.922 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003251/0.7606, allocations: 2.063 MB / 1.126 GB, free: 5.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005401/0.766, allocations: 2.531 MB / 1.129 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.781, allocations: 9.858 MB / 1.138 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.7811, allocations: 4 kB / 1.138 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7811, allocations: 0 / 1.138 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000429/0.7815, allocations: 0 / 1.138 GB, free: 15.8 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01267/0.7942, allocations: 4.36 MB / 1.142 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.7943, allocations: 15.97 kB / 1.142 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005927/0.8002, allocations: 0.9585 MB / 1.143 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006906/0.8071, allocations: 2.99 MB / 1.146 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.8076, allocations: 357.9 kB / 1.147 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/0.8092, allocations: 472.2 kB / 1.147 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.8294, allocations: 7.875 MB / 1.155 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.8296, allocations: 19.81 kB / 1.155 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009269/0.8306, allocations: 212 kB / 1.155 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005616/0.8311, allocations: 365.1 kB / 1.155 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.8456, allocations: 5.902 MB / 1.161 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04638/0.892, allocations: 36.26 MB / 1.197 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/0.8957, allocations: 2.135 MB / 1.199 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.8978, allocations: 1.474 MB / 1.2 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.8979, allocations: 25.23 kB / 1.2 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.898, allocations: 63.8 kB / 1.2 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 3.326e-06/0.898, allocations: 4 kB / 1.2 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=160): time 0.01463/0.9126, allocations: 7.54 MB / 1.207 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.9127, allocations: 68.72 kB / 1.208 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.9155, allocations: 1.845 MB / 1.209 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.9157, allocations: 53.7 kB / 1.209 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.9173, allocations: 2.119 MB / 1.211 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.9178, allocations: 0.5585 MB / 1.212 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.918, allocations: 44 kB / 1.212 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.9182, allocations: 394.3 kB / 1.212 GB, free: 396 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.9198, allocations: 1.047 MB / 1.213 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.9218, allocations: 1.764 MB / 1.215 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.9257, allocations: 3.037 MB / 1.218 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.9257, allocations: 8 kB / 1.218 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006653/0.9324, allocations: 3.905 MB / 1.222 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.9324, allocations: 23.84 kB / 1.222 GB, free: 5.914 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.9325, allocations: 24.12 kB / 1.222 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.935, allocations: 0.9194 MB / 1.223 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.9366, allocations: 431.3 kB / 1.223 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/0.9574, allocations: 21.06 MB / 1.244 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.9598, allocations: 123.8 kB / 1.244 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.96, allocations: 95.98 kB / 1.244 GB, free: 13.64 MB / 0.823 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003302/0.9633, allocations: 1.645 MB / 1.246 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/0.9639, allocations: 253.1 kB / 1.246 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00547/0.9693, allocations: 3.252 MB / 1.249 GB, free: 8.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.9694, allocations: 16 kB / 1.249 GB, free: 8.414 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.9694, allocations: 8 kB / 1.249 GB, free: 8.406 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.9694, allocations: 15.91 kB / 1.249 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.9827, allocations: 7.541 MB / 1.257 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.9828, allocations: 8.031 kB / 1.257 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/0.9838, allocations: 219.6 kB / 1.257 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/0.9863, allocations: 0.896 MB / 1.258 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.9864, allocations: 32 kB / 1.258 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.008, allocations: 21.01 MB / 1.278 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.008, allocations: 7.938 kB / 1.278 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006411/1.015, allocations: 3.371 MB / 1.281 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.016, allocations: 0.5369 MB / 1.282 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/1.016, allocations: 35.98 kB / 1.282 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.018, allocations: 87.89 kB / 1.282 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.018, allocations: 141 kB / 1.282 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.018, allocations: 48 kB / 1.282 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001824/1.02, allocations: 1.201 MB / 1.283 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.31e-07/1.02, allocations: 0 / 1.283 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003288/1.023, allocations: 0.9062 MB / 1.284 GB, free: 2.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0003328/1.024, allocations: 167 kB / 1.285 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007182/1.031, allocations: 4.409 MB / 1.289 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.031, allocations: 0 / 1.289 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005151/1.036, allocations: 2.996 MB / 1.292 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005608/1.042, allocations: 0.7652 MB / 1.292 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.057, allocations: 9.708 MB / 1.302 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003794/1.061, allocations: 3.213 MB / 1.305 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002296/1.064, allocations: 0.5254 MB / 1.306 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/1.064, allocations: 143.4 kB / 1.306 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of SimCode: time 2.916e-06/1.064, allocations: 0 / 1.306 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.5398/1.604, allocations: 40.91 MB / 1.346 GB, free: 224.9 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)