Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.941/1.941, allocations: 288.4 MB / 303.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 178.3 kB / 372 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009634/0.0009635, allocations: 88.59 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006922/0.0006923, allocations: 12.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2286, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02519/0.2539, allocations: 29.63 MB / 1.009 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.2696, allocations: 9.847 MB / 1.018 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.2727, allocations: 131.2 kB / 1.018 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.2752, allocations: 0.6162 MB / 1.019 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.2807, allocations: 1.469 MB / 1.02 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.2855, allocations: 1.264 MB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01037/0.2959, allocations: 8.262 MB / 1.03 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02069/0.3167, allocations: 10.34 MB / 1.04 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005133/0.3219, allocations: 2.264 MB / 1.042 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00535/0.3272, allocations: 2.9 MB / 1.045 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.3288, allocations: 268 kB / 1.045 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.3323, allocations: 0.835 MB / 1.046 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003699/0.3361, allocations: 2.038 MB / 1.048 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.3385, allocations: 0.9563 MB / 1.049 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.35, allocations: 8.349 MB / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3501, allocations: 0 / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3501, allocations: 0 / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003675/0.3505, allocations: 0 / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01071/0.3612, allocations: 4.07 MB / 1.061 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3613, allocations: 15.95 kB / 1.061 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/0.3674, allocations: 0.9581 MB / 1.062 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00689/0.3743, allocations: 2.792 MB / 1.065 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.3747, allocations: 353.3 kB / 1.065 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.3767, allocations: 463.9 kB / 1.065 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5223/0.899, allocations: 7.616 MB / 1.073 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.8992, allocations: 33.05 kB / 1.073 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005337/0.8997, allocations: 202.4 kB / 1.073 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000463/0.9002, allocations: 309.1 kB / 1.073 GB, free: 78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.9167, allocations: 5.674 MB / 1.079 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04466/0.9614, allocations: 35.13 MB / 1.113 GB, free: 46.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/0.9652, allocations: 2.15 MB / 1.115 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.9676, allocations: 1.265 MB / 1.116 GB, free: 44.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.9677, allocations: 14.72 kB / 1.116 GB, free: 44.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.9678, allocations: 48.52 kB / 1.117 GB, free: 44.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 5.059e-06/0.9678, allocations: 3.938 kB / 1.117 GB, free: 44.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.01463/0.9825, allocations: 7.088 MB / 1.123 GB, free: 39.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.9826, allocations: 67.06 kB / 1.124 GB, free: 39.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.9856, allocations: 1.468 MB / 1.125 GB, free: 39.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.9858, allocations: 46.73 kB / 1.125 GB, free: 38.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.9869, allocations: 2.005 MB / 1.127 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.9873, allocations: 489.3 kB / 1.127 GB, free: 36.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.9875, allocations: 39.69 kB / 1.127 GB, free: 36.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9876, allocations: 381.6 kB / 1.128 GB, free: 36.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.9891, allocations: 0.9021 MB / 1.129 GB, free: 35.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.9909, allocations: 1.589 MB / 1.13 GB, free: 34.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.9928, allocations: 1.175 MB / 1.131 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/0.9928, allocations: 6.625 kB / 1.131 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006467/0.9993, allocations: 3.519 MB / 1.135 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.9993, allocations: 15.03 kB / 1.135 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/0.9994, allocations: 22.5 kB / 1.135 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/1.002, allocations: 0.8995 MB / 1.136 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.003, allocations: 354.5 kB / 1.136 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/1.021, allocations: 21.19 MB / 1.157 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.023, allocations: 107 kB / 1.157 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004096/1.023, allocations: 87.34 kB / 1.157 GB, free: 11.74 MB / 0.6823 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003646/1.027, allocations: 1.61 MB / 1.159 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/1.028, allocations: 207.2 kB / 1.159 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/1.033, allocations: 2.973 MB / 1.162 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.033, allocations: 14.88 kB / 1.162 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-05/1.033, allocations: 11.5 kB / 1.162 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.033, allocations: 7.969 kB / 1.162 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.046, allocations: 7.328 MB / 1.169 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.046, allocations: 7.938 kB / 1.169 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/1.047, allocations: 172.3 kB / 1.169 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/1.049, allocations: 0.8217 MB / 1.17 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.049, allocations: 32 kB / 1.17 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/1.068, allocations: 20.3 MB / 1.19 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.068, allocations: 4 kB / 1.19 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/1.074, allocations: 3.012 MB / 1.193 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.075, allocations: 466.5 kB / 1.193 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/1.076, allocations: 28 kB / 1.193 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.077, allocations: 71.91 kB / 1.193 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004025/1.078, allocations: 124.7 kB / 1.193 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-05/1.078, allocations: 40 kB / 1.193 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001912/1.08, allocations: 0.96 MB / 1.194 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.08, allocations: 0 / 1.194 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004099/1.084, allocations: 0.7851 MB / 1.195 GB, free: 5.926 MB / 0.7136 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003896/1.084, allocations: 150.6 kB / 1.195 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006698/1.091, allocations: 3.997 MB / 1.199 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.091, allocations: 0 / 1.199 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.095, allocations: 2.739 MB / 1.202 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/1.1, allocations: 0.6633 MB / 1.202 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.118, allocations: 8.728 MB / 1.211 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00504/1.123, allocations: 3.113 MB / 1.214 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001868/1.125, allocations: 454 kB / 1.214 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/1.125, allocations: 115.4 kB / 1.214 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of SimCode: time 1.243e-06/1.125, allocations: 0 / 1.214 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of Templates: time 0.06422/1.19, allocations: 33.16 MB / 1.247 GB, free: 0.7734 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)