Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001597/0.001597, allocations: 184.4 kB / 376.9 MB, free: 1.773 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.864/1.864, allocations: 205.1 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.7 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3066, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01752/0.3242, allocations: 14.57 MB / 0.9965 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3408, allocations: 10.46 MB / 1.007 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.3434, allocations: 55.62 kB / 1.007 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004312/0.3478, allocations: 1.58 MB / 1.008 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.3539, allocations: 1.602 MB / 1.01 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.3559, allocations: 0.6863 MB / 1.01 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004547/0.3604, allocations: 3.421 MB / 1.014 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.3627, allocations: 1.368 MB / 1.015 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.3651, allocations: 1.406 MB / 1.017 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.3668, allocations: 1.156 MB / 1.018 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.367, allocations: 100 kB / 1.018 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.3688, allocations: 0.8851 MB / 1.019 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006372/0.3695, allocations: 0.5412 MB / 1.019 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.3707, allocations: 0.8936 MB / 1.02 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.3743, allocations: 2.733 MB / 1.023 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3743, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.72e-07/0.3743, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.514e-05/0.3744, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.5573/0.9317, allocations: 2.166 MB / 1.025 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.9317, allocations: 10.12 kB / 1.025 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.9431, allocations: 2.108 MB / 1.027 GB, free: 98.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.9466, allocations: 1.208 MB / 1.028 GB, free: 98.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.9467, allocations: 85.52 kB / 1.028 GB, free: 98.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000372/0.9471, allocations: 121.1 kB / 1.028 GB, free: 98.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005719/0.9529, allocations: 2.672 MB / 1.031 GB, free: 97.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.9529, allocations: 9.734 kB / 1.031 GB, free: 97.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.9531, allocations: 60.22 kB / 1.031 GB, free: 97.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006736/0.9538, allocations: 193 kB / 1.031 GB, free: 97.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.9644, allocations: 2.79 MB / 1.034 GB, free: 97.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.9819, allocations: 10.51 MB / 1.044 GB, free: 92.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/0.9885, allocations: 2.33 MB / 1.046 GB, free: 91.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.9916, allocations: 1.277 MB / 1.048 GB, free: 91.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.9917, allocations: 11.72 kB / 1.048 GB, free: 91.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.9918, allocations: 45.25 kB / 1.048 GB, free: 91.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=89): time 5.109e-06/0.9918, allocations: 5.406 kB / 1.048 GB, free: 91.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=153): time 0.05612/1.048, allocations: 16.49 MB / 1.064 GB, free: 87.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.048, allocations: 71.27 kB / 1.064 GB, free: 87.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.049, allocations: 1.168 MB / 1.065 GB, free: 86.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002795/1.05, allocations: 51.64 kB / 1.065 GB, free: 86.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/1.05, allocations: 0.743 MB / 1.066 GB, free: 86.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/1.051, allocations: 0.5143 MB / 1.066 GB, free: 85.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/1.051, allocations: 288 kB / 1.067 GB, free: 85.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/1.051, allocations: 301.1 kB / 1.067 GB, free: 85.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/1.055, allocations: 1.511 MB / 1.068 GB, free: 84.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/1.058, allocations: 1.784 MB / 1.07 GB, free: 84.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006744/1.065, allocations: 3.374 MB / 1.073 GB, free: 82.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.065, allocations: 0 / 1.073 GB, free: 82.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01253/1.077, allocations: 5.278 MB / 1.079 GB, free: 81.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.077, allocations: 6.25 kB / 1.079 GB, free: 81.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.077, allocations: 9.656 kB / 1.079 GB, free: 81.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/1.084, allocations: 1.88 MB / 1.08 GB, free: 80.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.086, allocations: 424.1 kB / 1.081 GB, free: 80.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/1.11, allocations: 22.17 MB / 1.102 GB, free: 65.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/1.114, allocations: 309.3 kB / 1.103 GB, free: 65.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/1.114, allocations: 71.05 kB / 1.103 GB, free: 65.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001281/1.115, allocations: 464.5 kB / 1.103 GB, free: 64.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.116, allocations: 177.8 kB / 1.103 GB, free: 64.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.129, allocations: 5.322 MB / 1.109 GB, free: 62.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.129, allocations: 12.75 kB / 1.109 GB, free: 62.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.331e-05/1.129, allocations: 22.69 kB / 1.109 GB, free: 62.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.129, allocations: 10.22 kB / 1.109 GB, free: 62.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.145, allocations: 7.418 MB / 1.116 GB, free: 60.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.145, allocations: 3.531 kB / 1.116 GB, free: 60.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.147, allocations: 350.5 kB / 1.116 GB, free: 60.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005733/1.152, allocations: 1.705 MB / 1.118 GB, free: 59.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/1.153, allocations: 46.58 kB / 1.118 GB, free: 59.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/1.176, allocations: 21.35 MB / 1.139 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.176, allocations: 9.172 kB / 1.139 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/1.195, allocations: 7.714 MB / 1.146 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.196, allocations: 491.7 kB / 1.147 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/1.196, allocations: 31.25 kB / 1.147 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.199, allocations: 319.8 kB / 1.147 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007096/1.2, allocations: 152.8 kB / 1.147 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.2, allocations: 58.97 kB / 1.147 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00115/1.201, allocations: 0.7932 MB / 1.148 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.201, allocations: 0 / 1.148 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002866/1.204, allocations: 0.6571 MB / 1.149 GB, free: 40.65 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/1.204, allocations: 142.8 kB / 1.149 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.216, allocations: 5.139 MB / 1.154 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.216, allocations: 1.188 kB / 1.154 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.007928/1.224, allocations: 3.35 MB / 1.157 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.228, allocations: 0.5169 MB / 1.158 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.24, allocations: 5.825 MB / 1.163 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.242, allocations: 1.62 MB / 1.165 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002037/1.244, allocations: 391.6 kB / 1.165 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/1.245, allocations: 106.1 kB / 1.165 GB, free: 31.41 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/1.245, allocations: 0 / 1.165 GB, free: 31.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.06757/1.312, allocations: 44.92 MB / 1.209 GB, free: 3.805 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)