Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009042, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005552, allocations: 19.31 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2878, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01876/0.3066, allocations: 17.64 MB / 0.8044 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3174, allocations: 6.211 MB / 0.8104 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.3193, allocations: 71.56 kB / 0.8105 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3204, allocations: 401.5 kB / 0.8109 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3233, allocations: 0.8684 MB / 0.8117 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.3258, allocations: 0.7717 MB / 0.8125 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00411/0.33, allocations: 2.323 MB / 0.8147 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.34, allocations: 6.356 MB / 0.8209 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.3433, allocations: 1.32 MB / 0.8222 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.3461, allocations: 1.37 MB / 0.8236 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.3465, allocations: 176 kB / 0.8237 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3479, allocations: 415.5 kB / 0.8241 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.3493, allocations: 1.239 MB / 0.8253 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009057/0.3502, allocations: 0.6407 MB / 0.826 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/0.3554, allocations: 5.295 MB / 0.8311 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3554, allocations: 0 / 0.8311 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3554, allocations: 4 kB / 0.8311 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001636/0.3556, allocations: 0 / 0.8311 GB, free: 14.73 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006021/0.3616, allocations: 2.839 MB / 0.8339 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3617, allocations: 8.031 kB / 0.8339 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.3651, allocations: 0.6129 MB / 0.8345 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.3697, allocations: 1.908 MB / 0.8364 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3699, allocations: 218 kB / 0.8366 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/0.3704, allocations: 299.9 kB / 0.8369 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008015/0.3784, allocations: 4.832 MB / 0.8416 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.668e-05/0.3785, allocations: 23.78 kB / 0.8416 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.3788, allocations: 132 kB / 0.8417 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004227/0.3793, allocations: 225.7 kB / 0.842 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/0.3853, allocations: 3.727 MB / 0.8456 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.4086, allocations: 21.6 MB / 0.8667 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4104, allocations: 1.304 MB / 0.868 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.4105, allocations: 20.94 kB / 0.868 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.4105, allocations: 43.56 kB / 0.868 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 3.797e-06/0.4106, allocations: 0 / 0.868 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of matching and sorting (n=138): time 0.02289/0.4335, allocations: 8.661 MB / 0.8765 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.4336, allocations: 64.72 kB / 0.8766 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.4351, allocations: 1.118 MB / 0.8776 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.4352, allocations: 53.64 kB / 0.8777 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008695/0.4361, allocations: 1.292 MB / 0.879 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.4365, allocations: 489.1 kB / 0.8794 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.4366, allocations: 28 kB / 0.8794 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4368, allocations: 369.9 kB / 0.8798 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.438, allocations: 0.9096 MB / 0.8807 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.4395, allocations: 1.311 MB / 0.882 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.441, allocations: 1.138 MB / 0.8831 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.441, allocations: 4 kB / 0.8831 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005701/0.4467, allocations: 3.449 MB / 0.8865 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.4468, allocations: 8 kB / 0.8865 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.4468, allocations: 15.94 kB / 0.8865 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.45, allocations: 1.192 MB / 0.8876 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.4509, allocations: 255.6 kB / 0.8879 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.4667, allocations: 13.18 MB / 0.9008 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.4682, allocations: 91.97 kB / 0.9008 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4684, allocations: 68 kB / 0.9009 GB, free: 4.234 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002118/0.4705, allocations: 1.106 MB / 0.902 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.4708, allocations: 162.1 kB / 0.9021 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/0.476, allocations: 3.173 MB / 0.9052 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.476, allocations: 15.94 kB / 0.9053 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.476, allocations: 16.31 kB / 0.9053 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4761, allocations: 7.969 kB / 0.9053 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009698/0.4858, allocations: 6.226 MB / 0.9114 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4858, allocations: 4 kB / 0.9114 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.4864, allocations: 151.8 kB / 0.9115 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002681/0.4891, allocations: 1.066 MB / 0.9125 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.4892, allocations: 32 kB / 0.9126 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5339/1.023, allocations: 12.9 MB / 0.9252 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.023, allocations: 8.594 kB / 0.9252 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/1.028, allocations: 3.39 MB / 0.9285 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009213/1.029, allocations: 428.9 kB / 0.9289 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/1.029, allocations: 30.62 kB / 0.9289 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/1.03, allocations: 83.27 kB / 0.929 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/1.031, allocations: 124 kB / 0.9291 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.651e-05/1.031, allocations: 44.53 kB / 0.9292 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00103/1.032, allocations: 0.7545 MB / 0.9299 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.032, allocations: 0 / 0.9299 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002232/1.034, allocations: 0.6586 MB / 0.9306 GB, free: 120.4 MB / 0.7325 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/1.034, allocations: 149 kB / 0.9307 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004769/1.039, allocations: 3.122 MB / 0.9337 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.039, allocations: 0 / 0.9337 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/1.042, allocations: 1.965 MB / 0.9357 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/1.044, allocations: 442.7 kB / 0.9361 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.055, allocations: 6.465 MB / 0.9424 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.058, allocations: 2.388 MB / 0.9447 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001454/1.06, allocations: 348.8 kB / 0.9451 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/1.06, allocations: 91.08 kB / 0.9452 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/1.06, allocations: 0 / 0.9452 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.05075/1.111, allocations: 30.17 MB / 0.9746 GB, free: 98.57 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: