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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.907/1.907, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001151/0.001151, allocations: 171.1 kB / 371.8 MB, free: 10.26 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.893/1.893, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0009286/0.0009286, allocations: 97.14 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004296, allocations: 12.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02509/0.27, allocations: 30.6 MB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.2869, allocations: 9.653 MB / 1.019 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003855/0.2908, allocations: 119.2 kB / 1.019 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.2942, allocations: 0.6793 MB / 1.02 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00923/0.3035, allocations: 1.566 MB / 1.021 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004914/0.3084, allocations: 1.171 MB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007501/0.3159, allocations: 3.897 MB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/0.3352, allocations: 10.4 MB / 1.036 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.3405, allocations: 2.125 MB / 1.038 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004868/0.3454, allocations: 2.207 MB / 1.04 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.347, allocations: 280 kB / 1.041 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.3499, allocations: 0.5231 MB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003099/0.353, allocations: 1.929 MB / 1.043 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.3553, allocations: 1.03 MB / 1.044 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3664, allocations: 8.408 MB / 1.052 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3665, allocations: 0 / 1.052 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3665, allocations: 0 / 1.052 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003798/0.3669, allocations: 0 / 1.052 GB, free: 0.8711 MB / 0.6667 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.01182/0.3787, allocations: 4.367 MB / 1.057 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3788, allocations: 12.02 kB / 1.057 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.3837, allocations: 0.9149 MB / 1.057 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/0.3907, allocations: 2.917 MB / 1.06 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.3909, allocations: 361.5 kB / 1.061 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009774/0.3919, allocations: 467.9 kB / 1.061 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5084/0.9003, allocations: 7.823 MB / 1.069 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.9005, allocations: 17 kB / 1.069 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009184/0.9015, allocations: 211.3 kB / 1.069 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007852/0.9023, allocations: 366.7 kB / 1.069 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.9174, allocations: 5.9 MB / 1.075 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/0.9662, allocations: 36.26 MB / 1.11 GB, free: 46.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.9703, allocations: 2.135 MB / 1.113 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.9704, allocations: 18.22 kB / 1.113 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.9705, allocations: 55.69 kB / 1.113 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 3.356e-06/0.9705, allocations: 1.969 kB / 1.113 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01452/0.985, allocations: 7.531 MB / 1.12 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.9851, allocations: 72.39 kB / 1.12 GB, free: 40.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.9878, allocations: 1.842 MB / 1.122 GB, free: 39.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.988, allocations: 57.53 kB / 1.122 GB, free: 39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.9891, allocations: 2.124 MB / 1.124 GB, free: 37.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000535/0.9896, allocations: 0.558 MB / 1.124 GB, free: 36.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.9898, allocations: 47.88 kB / 1.125 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9899, allocations: 394.1 kB / 1.125 GB, free: 36.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.9916, allocations: 1.049 MB / 1.126 GB, free: 35.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.9935, allocations: 1.747 MB / 1.128 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.9954, allocations: 1.341 MB / 1.129 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.9954, allocations: 9.547 kB / 1.129 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006655/1.002, allocations: 3.897 MB / 1.133 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/1.002, allocations: 14.59 kB / 1.133 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/1.002, allocations: 26.44 kB / 1.133 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/1.005, allocations: 0.9319 MB / 1.134 GB, free: 30.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.006, allocations: 425.2 kB / 1.134 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/1.024, allocations: 21.43 MB / 1.155 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.026, allocations: 122.7 kB / 1.155 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/1.027, allocations: 98.58 kB / 1.155 GB, free: 11.06 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 (227): * Single equations (assignments): 215 * 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,(2,100.0%) 6,(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.003019/1.03, allocations: 1.645 MB / 1.157 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/1.03, allocations: 255.8 kB / 1.157 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/1.036, allocations: 3.25 MB / 1.16 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.036, allocations: 17.95 kB / 1.16 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.036, allocations: 14.44 kB / 1.16 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.036, allocations: 7.969 kB / 1.16 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.048, allocations: 7.535 MB / 1.168 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.048, allocations: 8.094 kB / 1.168 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/1.049, allocations: 219.6 kB / 1.168 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/1.051, allocations: 0.9 MB / 1.169 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.051, allocations: 32 kB / 1.169 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/1.072, allocations: 21.38 MB / 1.19 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.072, allocations: 4 kB / 1.19 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/1.078, allocations: 3.702 MB / 1.193 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.08, allocations: 0.5369 MB / 1.194 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/1.08, allocations: 32 kB / 1.194 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.082, allocations: 91.89 kB / 1.194 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/1.082, allocations: 141 kB / 1.194 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.082, allocations: 44 kB / 1.194 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001832/1.084, allocations: 1.205 MB / 1.195 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.084, allocations: 0 / 1.195 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003649/1.088, allocations: 0.9062 MB / 1.196 GB, free: 3.34 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 (109): * Single equations (assignments): 97 * 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%) 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%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/1.088, allocations: 151.1 kB / 1.196 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007267/1.095, allocations: 4.413 MB / 1.201 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/1.095, allocations: 8.656 kB / 1.201 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/1.1, allocations: 2.993 MB / 1.204 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.104, allocations: 0.744 MB / 1.204 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.121, allocations: 9.242 MB / 1.213 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004162/1.126, allocations: 3.294 MB / 1.217 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002219/1.128, allocations: 0.5254 MB / 1.217 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/1.128, allocations: 139.4 kB / 1.217 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/1.128, allocations: 0 / 1.217 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.07436/1.203, allocations: 39.73 MB / 1.256 GB, free: 6.215 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)