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.ACSimpleGrid_N.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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") 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.656/1.656, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001123/0.001124, allocations: 185.4 kB / 382.3 MB, free: 14.81 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.406/1.406, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0007713/0.0007713, allocations: 95.55 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004034, allocations: 11.98 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6347, allocations: 119.2 MB / 1.022 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01188/0.6466, allocations: 10.92 MB / 1.033 GB, free: 51.28 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009017/0.6557, allocations: 8.451 MB / 1.041 GB, free: 43.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.657, allocations: 30.31 kB / 1.041 GB, free: 43.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.6582, allocations: 307.5 kB / 1.042 GB, free: 43.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.6599, allocations: 0.6082 MB / 1.042 GB, free: 43.33 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.662, allocations: 0.6766 MB / 1.043 GB, free: 42.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004269/0.6663, allocations: 3.761 MB / 1.046 GB, free: 41.74 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006754/0.6731, allocations: 5.623 MB / 1.052 GB, free: 38.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.6748, allocations: 0.7901 MB / 1.053 GB, free: 38.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.6763, allocations: 1.108 MB / 1.054 GB, free: 37.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.6765, allocations: 102.4 kB / 1.054 GB, free: 37.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.6776, allocations: 0.4993 MB / 1.054 GB, free: 37.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006719/0.6783, allocations: 0.7252 MB / 1.055 GB, free: 37.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000795/0.6791, allocations: 0.8604 MB / 1.056 GB, free: 36.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.6821, allocations: 3.711 MB / 1.06 GB, free: 35.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.6821, allocations: 0 / 1.06 GB, free: 35.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.564e-06/0.6821, allocations: 0 / 1.06 GB, free: 35.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.984e-05/0.6822, allocations: 4 kB / 1.06 GB, free: 35.95 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003199/0.6854, allocations: 1.752 MB / 1.061 GB, free: 34.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6854, allocations: 6.312 kB / 1.061 GB, free: 34.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.6882, allocations: 0.7562 MB / 1.062 GB, free: 34.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.6901, allocations: 1.242 MB / 1.063 GB, free: 34.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.6902, allocations: 120.8 kB / 1.063 GB, free: 34.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.6905, allocations: 167.9 kB / 1.064 GB, free: 34.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/0.6945, allocations: 2.942 MB / 1.066 GB, free: 33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.6946, allocations: 11.66 kB / 1.066 GB, free: 32.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.6948, allocations: 63.47 kB / 1.066 GB, free: 32.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.6951, allocations: 201.7 kB / 1.067 GB, free: 32.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.6985, allocations: 2.506 MB / 1.069 GB, free: 32.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009892/0.7084, allocations: 10.9 MB / 1.08 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.7095, allocations: 0.9249 MB / 1.081 GB, free: 23.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.7101, allocations: 0.5076 MB / 1.081 GB, free: 23.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.841e-05/0.7102, allocations: 94.84 kB / 1.081 GB, free: 23.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7102, allocations: 38.12 kB / 1.081 GB, free: 23.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.555e-06/0.7102, allocations: 0 / 1.081 GB, free: 23.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.02475/0.735, allocations: 8.978 MB / 1.09 GB, free: 21.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.7351, allocations: 84.61 kB / 1.09 GB, free: 21.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.7366, allocations: 0.9372 MB / 1.091 GB, free: 21.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.7367, allocations: 36.36 kB / 1.091 GB, free: 21.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/0.7372, allocations: 0.7756 MB / 1.092 GB, free: 20.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.7374, allocations: 245.4 kB / 1.092 GB, free: 20.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.7375, allocations: 24.66 kB / 1.092 GB, free: 20.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7376, allocations: 403.8 kB / 1.092 GB, free: 19.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.7389, allocations: 0.7932 MB / 1.093 GB, free: 19.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.7401, allocations: 1.169 MB / 1.094 GB, free: 18.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.7426, allocations: 1.994 MB / 1.096 GB, free: 17.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.7427, allocations: 4.188 kB / 1.096 GB, free: 17.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009138/0.7518, allocations: 3.785 MB / 1.1 GB, free: 16.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.7521, allocations: 418.6 kB / 1.1 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.7521, allocations: 15.45 kB / 1.1 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.7624, allocations: 2.16 MB / 1.103 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7638, allocations: 225.8 kB / 1.103 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/0.7863, allocations: 10.26 MB / 1.113 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.7885, allocations: 195.3 kB / 1.113 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.7888, allocations: 51.8 kB / 1.113 GB, free: 10.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7889, allocations: 11.53 kB / 1.113 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/0.7999, allocations: 3.068 MB / 1.116 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-05/0.8, allocations: 11 kB / 1.116 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007353/0.8074, allocations: 1.359 MB / 1.117 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.809, allocations: 285.7 kB / 1.118 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.8235, allocations: 6.164 MB / 1.124 GB, free: 6.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.8254, allocations: 173.8 kB / 1.124 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.8256, allocations: 50.67 kB / 1.124 GB, free: 6.375 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00193/0.8276, allocations: 0.8931 MB / 1.125 GB, free: 5.793 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.8279, allocations: 86.38 kB / 1.125 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.8391, allocations: 3.324 MB / 1.128 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.8391, allocations: 8 kB / 1.128 GB, free: 2.977 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8392, allocations: 4 kB / 1.128 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8392, allocations: 3.984 kB / 1.128 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.8549, allocations: 5.487 MB / 1.133 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.8549, allocations: 0 / 1.133 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.8555, allocations: 107.8 kB / 1.134 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/0.8656, allocations: 1.976 MB / 1.135 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.8658, allocations: 16 kB / 1.135 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.8855, allocations: 9.657 MB / 1.145 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.8856, allocations: 7.984 kB / 1.145 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.8972, allocations: 3.198 MB / 1.148 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.8983, allocations: 332 kB / 1.148 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.8987, allocations: 16 kB / 1.148 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.9001, allocations: 155.7 kB / 1.149 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.9006, allocations: 72.34 kB / 1.149 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9007, allocations: 20 kB / 1.149 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001591/0.9023, allocations: 0.6707 MB / 1.149 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9023, allocations: 0 / 1.149 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004339/0.9067, allocations: 0.6797 MB / 1.15 GB, free: 12.13 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005425/0.9072, allocations: 132.8 kB / 1.15 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01129/0.9185, allocations: 3.906 MB / 1.154 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.9186, allocations: 8 kB / 1.154 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/0.9217, allocations: 1.309 MB / 1.155 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.9241, allocations: 255.5 kB / 1.155 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/0.9333, allocations: 4.217 MB / 1.16 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.9358, allocations: 1.719 MB / 1.161 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002309/0.9382, allocations: 0.5276 MB / 1.162 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.9385, allocations: 55.44 kB / 1.162 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of SimCode: time 2.454e-06/0.9385, allocations: 0 / 1.162 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.06589/1.004, allocations: 29.94 MB / 1.191 GB, free: 2.105 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)