Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 254.9 MB / 269.9 MB, free: 9.652 MB / 218.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.001309/0.001309, allocations: 188.5 kB / 329.5 MB, free: 1.18 MB / 250.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 2.448/2.448, allocations: 225.6 MB / 0.6001 GB, free: 2.172 MB / 426.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.001012/0.001012, allocations: 103.4 kB / 0.7074 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007507/0.000751, allocations: 11.22 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2387, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.07256/0.3113, allocations: 34.17 MB / 0.9641 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04075/0.3522, allocations: 12.43 MB / 0.9763 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005421/0.3576, allocations: 147.1 kB / 0.9764 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005248/0.363, allocations: 0.7441 MB / 0.9771 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.375, allocations: 2.06 MB / 0.9792 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.3861, allocations: 1.614 MB / 0.9807 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02641/0.4126, allocations: 10.7 MB / 0.9912 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0425/0.4551, allocations: 11.95 MB / 1.003 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4663, allocations: 2.949 MB / 1.006 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.4796, allocations: 3.761 MB / 1.009 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.4828, allocations: 320 kB / 1.01 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007123/0.49, allocations: 0.7766 MB / 1.01 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.007773/0.4978, allocations: 2.439 MB / 1.013 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005149/0.503, allocations: 1.171 MB / 1.014 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.7278/1.231, allocations: 9.728 MB / 1.024 GB, free: 27.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.231, allocations: 3.281 kB / 1.024 GB, free: 27.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.016e-06/1.231, allocations: 0 / 1.024 GB, free: 27.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004842/1.232, allocations: 0 / 1.024 GB, free: 27.21 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02463/1.256, allocations: 5.191 MB / 1.029 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.256, allocations: 9.094 kB / 1.029 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/1.272, allocations: 1.308 MB / 1.03 GB, free: 24.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/1.286, allocations: 3.475 MB / 1.033 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/1.286, allocations: 382.5 kB / 1.034 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003628/1.29, allocations: 0.4963 MB / 1.034 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04748/1.338, allocations: 8.842 MB / 1.043 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005793/1.338, allocations: 33.47 kB / 1.043 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004138/1.342, allocations: 220.1 kB / 1.043 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006651/1.349, allocations: 0.6302 MB / 1.044 GB, free: 22.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03652/1.386, allocations: 6.978 MB / 1.05 GB, free: 22.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09098/1.477, allocations: 40.4 MB / 1.09 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009734/1.486, allocations: 2.878 MB / 1.093 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009012/1.496, allocations: 2.659 MB / 1.095 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/1.496, allocations: 28.77 kB / 1.095 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/1.496, allocations: 68.44 kB / 1.095 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=265): time 9.808e-06/1.496, allocations: 0 / 1.095 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=424): time 0.6066/2.103, allocations: 77.42 MB / 1.171 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/2.103, allocations: 94.73 kB / 1.171 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/2.109, allocations: 2.339 MB / 1.173 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/2.11, allocations: 97.7 kB / 1.173 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/2.113, allocations: 2.334 MB / 1.176 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002903/2.115, allocations: 1.449 MB / 1.177 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000813/2.116, allocations: 84 kB / 1.177 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003903/2.117, allocations: 483.2 kB / 1.178 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009244/2.126, allocations: 2.98 MB / 1.181 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/2.137, allocations: 3.827 MB / 1.184 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.147, allocations: 3.554 MB / 1.188 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/2.147, allocations: 8 kB / 1.188 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05592/2.203, allocations: 12.51 MB / 1.2 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/2.203, allocations: 16 kB / 1.2 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.705e-05/2.203, allocations: 24.16 kB / 1.2 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04423/2.247, allocations: 6.014 MB / 1.206 GB, free: 88 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/2.252, allocations: 487.5 kB / 1.206 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1438/2.396, allocations: 67.22 MB / 1.272 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/2.403, allocations: 218.9 kB / 1.272 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/2.404, allocations: 156 kB / 1.272 GB, free: 9.133 MB / 0.8386 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007204/2.411, allocations: 1.99 MB / 1.274 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/2.413, allocations: 395.3 kB / 1.275 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05804/2.471, allocations: 12.2 MB / 1.287 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.906e-05/2.471, allocations: 44 kB / 1.287 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002152/2.472, allocations: 51.94 kB / 1.287 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001278/2.472, allocations: 19.92 kB / 1.287 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07818/2.55, allocations: 19.13 MB / 1.305 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.831e-05/2.55, allocations: 4.938 kB / 1.305 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/2.553, allocations: 285.9 kB / 1.306 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0418/2.595, allocations: 5.572 MB / 1.311 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001272/2.597, allocations: 83.98 kB / 1.311 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7805/3.377, allocations: 64.82 MB / 1.375 GB, free: 308.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/3.377, allocations: 13.75 kB / 1.375 GB, free: 308.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05976/3.437, allocations: 15.57 MB / 1.39 GB, free: 305.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004356/3.441, allocations: 1.047 MB / 1.391 GB, free: 304.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/3.444, allocations: 83.38 kB / 1.391 GB, free: 304.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/3.45, allocations: 222 kB / 1.391 GB, free: 304.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003518/3.453, allocations: 407.6 kB / 1.391 GB, free: 304.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001222/3.455, allocations: 110.3 kB / 1.392 GB, free: 304.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003758/3.458, allocations: 1.533 MB / 1.393 GB, free: 303.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.583e-06/3.458, allocations: 0 / 1.393 GB, free: 303.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01193/3.47, allocations: 1.843 MB / 1.395 GB, free: 303.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/3.472, allocations: 223.7 kB / 1.395 GB, free: 303.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03802/3.51, allocations: 12.19 MB / 1.407 GB, free: 297 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/3.51, allocations: 3.938 kB / 1.407 GB, free: 297 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0254/3.536, allocations: 8.369 MB / 1.415 GB, free: 292.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/3.546, allocations: 1.111 MB / 1.416 GB, free: 291.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/3.581, allocations: 14.26 MB / 1.43 GB, free: 284.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008255/3.589, allocations: 4.09 MB / 1.434 GB, free: 282.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004157/3.593, allocations: 0.671 MB / 1.435 GB, free: 281.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/3.594, allocations: 183 kB / 1.435 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.914e-06/3.594, allocations: 0 / 1.435 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.2399/3.834, allocations: 102.5 MB / 1.535 GB, free: 180.5 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)