Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001265/0.001265, allocations: 182 kB / 382.3 MB, free: 14.82 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.498/1.498, allocations: 225.7 MB / 0.6617 GB, free: 7.137 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.0007704/0.0007702, allocations: 93.94 kB / 0.7789 GB, free: 46.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 15.98 kB / 0.9059 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5686, allocations: 119.2 MB / 1.022 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02572/0.5944, allocations: 28.24 MB / 1.05 GB, free: 39.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.6135, allocations: 19.14 MB / 1.069 GB, free: 22.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.6166, allocations: 125.6 kB / 1.069 GB, free: 22.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.6183, allocations: 0.658 MB / 1.069 GB, free: 22.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.6242, allocations: 2.47 MB / 1.072 GB, free: 21.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.628, allocations: 1.701 MB / 1.073 GB, free: 20.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009204/0.6372, allocations: 10.4 MB / 1.084 GB, free: 16.49 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0148/0.652, allocations: 14.19 MB / 1.097 GB, free: 7.141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.6568, allocations: 2.622 MB / 1.1 GB, free: 6.156 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005037/0.6618, allocations: 2.912 MB / 1.103 GB, free: 5.047 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.6634, allocations: 244.1 kB / 1.103 GB, free: 5.047 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.6682, allocations: 1.334 MB / 1.104 GB, free: 4.641 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00386/0.6721, allocations: 1.886 MB / 1.106 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00609/0.6782, allocations: 2.374 MB / 1.108 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.6895, allocations: 9.006 MB / 1.117 GB, free: 480 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.6895, allocations: 0 / 1.117 GB, free: 480 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6896, allocations: 5.25 kB / 1.117 GB, free: 476 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002709/0.6898, allocations: 0 / 1.117 GB, free: 476 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01163/0.7015, allocations: 4.15 MB / 1.121 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7015, allocations: 12.97 kB / 1.121 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/0.7089, allocations: 0.9989 MB / 1.122 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008945/0.7179, allocations: 2.896 MB / 1.125 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/0.7183, allocations: 315.5 kB / 1.125 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.7206, allocations: 422.9 kB / 1.126 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/0.7396, allocations: 6.755 MB / 1.132 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.7398, allocations: 20.19 kB / 1.132 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.741, allocations: 186.3 kB / 1.133 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009965/0.742, allocations: 369.3 kB / 1.133 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.7549, allocations: 5.078 MB / 1.138 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/0.8068, allocations: 30.78 MB / 1.168 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.8102, allocations: 1.376 MB / 1.169 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.813, allocations: 1.337 MB / 1.171 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.8131, allocations: 13.31 kB / 1.171 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.8132, allocations: 43.88 kB / 1.171 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=130): time 5.14e-06/0.8132, allocations: 4 kB / 1.171 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=199): time 0.1313/0.9445, allocations: 22.79 MB / 1.193 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.9447, allocations: 73.41 kB / 1.193 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/0.9491, allocations: 2.039 MB / 1.195 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005026/0.9497, allocations: 61.7 kB / 1.195 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.9516, allocations: 2.01 MB / 1.197 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.9527, allocations: 0.67 MB / 1.198 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.953, allocations: 48 kB / 1.198 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002699/0.9532, allocations: 406.4 kB / 1.198 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/0.9567, allocations: 1.426 MB / 1.2 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00402/0.9608, allocations: 1.998 MB / 1.202 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008078/0.9689, allocations: 3.681 MB / 1.205 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/0.969, allocations: 8 kB / 1.205 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01795/0.9869, allocations: 5.645 MB / 1.211 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.987, allocations: 15.91 kB / 1.211 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.9871, allocations: 16 kB / 1.211 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/0.9975, allocations: 2.084 MB / 1.213 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1, allocations: 375.4 kB / 1.213 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05352/1.054, allocations: 35.51 MB / 1.248 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/1.058, allocations: 127.8 kB / 1.248 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006194/1.059, allocations: 88 kB / 1.248 GB, free: 2.406 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.004779/1.064, allocations: 1.51 MB / 1.249 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009492/1.064, allocations: 292.6 kB / 1.25 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.08, allocations: 5.188 MB / 1.255 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/1.08, allocations: 20 kB / 1.255 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.171e-05/1.08, allocations: 19.94 kB / 1.255 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-05/1.08, allocations: 19.89 kB / 1.255 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.108, allocations: 9.654 MB / 1.264 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/1.108, allocations: 11.94 kB / 1.264 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.109, allocations: 219.6 kB / 1.264 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007861/1.117, allocations: 1.83 MB / 1.266 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/1.117, allocations: 44 kB / 1.266 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03925/1.156, allocations: 34.53 MB / 1.3 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.157, allocations: 4 kB / 1.3 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009281/1.166, allocations: 4.901 MB / 1.305 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.167, allocations: 0.6264 MB / 1.305 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/1.168, allocations: 36 kB / 1.305 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.169, allocations: 131.8 kB / 1.306 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/1.17, allocations: 193.5 kB / 1.306 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.17, allocations: 56 kB / 1.306 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001864/1.172, allocations: 1.363 MB / 1.307 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.172, allocations: 0 / 1.307 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00355/1.176, allocations: 1.031 MB / 1.308 GB, free: 1.801 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003268/1.176, allocations: 179 kB / 1.308 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009179/1.185, allocations: 6.253 MB / 1.314 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.185, allocations: 4 kB / 1.314 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006314/1.192, allocations: 4.394 MB / 1.319 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006221/1.198, allocations: 0.925 MB / 1.32 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4559/1.654, allocations: 10.03 MB / 1.329 GB, free: 233.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004579/1.658, allocations: 3.124 MB / 1.332 GB, free: 232.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002947/1.661, allocations: 0.5221 MB / 1.333 GB, free: 232.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/1.662, allocations: 152.7 kB / 1.333 GB, free: 232.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.643e-06/1.662, allocations: 0 / 1.333 GB, free: 232.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.1066/1.768, allocations: 56.97 MB / 1.389 GB, free: 223.7 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)