Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 288.4 MB / 303.4 MB, free: 8.113 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.00133/0.00133, allocations: 188.5 kB / 372 MB, free: 10.2 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.557/1.557, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008214/0.0008218, allocations: 86.38 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 11.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004941/0.2558, allocations: 4.486 MB / 0.984 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.2604, allocations: 3.112 MB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.2607, allocations: 4 kB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.2613, allocations: 159.1 kB / 0.9872 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007174/0.262, allocations: 306.5 kB / 0.9875 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.2625, allocations: 187.6 kB / 0.9876 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.2632, allocations: 0.7086 MB / 0.9883 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009341/0.2641, allocations: 0.7324 MB / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.2643, allocations: 195.2 kB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.2646, allocations: 259 kB / 0.9895 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.2647, allocations: 20 kB / 0.9895 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.2651, allocations: 239.7 kB / 0.9897 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2653, allocations: 139.6 kB / 0.9899 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.2653, allocations: 105.5 kB / 0.99 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.2659, allocations: 0.7171 MB / 0.9907 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2659, allocations: 0 / 0.9907 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2659, allocations: 0 / 0.9907 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2659, allocations: 0 / 0.9907 GB, free: 16.23 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001158/0.2671, allocations: 0.7363 MB / 0.9914 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2671, allocations: 16.02 kB / 0.9914 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.2697, allocations: 0.7014 MB / 0.9921 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.2703, allocations: 482.6 kB / 0.9925 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.2704, allocations: 20.66 kB / 0.9926 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.2704, allocations: 31.98 kB / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2718, allocations: 0.8356 MB / 0.9934 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.2718, allocations: 7.984 kB / 0.9934 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.2719, allocations: 15.98 kB / 0.9934 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.2721, allocations: 64.58 kB / 0.9935 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.2738, allocations: 0.939 MB / 0.9944 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.2771, allocations: 2.941 MB / 0.9973 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2785, allocations: 0.5657 MB / 0.9978 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.2792, allocations: 317 kB / 0.9981 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.2792, allocations: 89.27 kB / 0.9982 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2793, allocations: 42.7 kB / 0.9983 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.2793, allocations: 0 / 0.9983 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.01134/0.2906, allocations: 3.647 MB / 1.002 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2907, allocations: 81.11 kB / 1.002 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.2911, allocations: 416.4 kB / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.2912, allocations: 33.7 kB / 1.002 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.2913, allocations: 231.9 kB / 1.003 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.743e-05/0.2914, allocations: 110.4 kB / 1.003 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.2914, allocations: 8 kB / 1.003 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.2915, allocations: 346.8 kB / 1.003 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008009/0.2923, allocations: 395.7 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/0.2932, allocations: 492.8 kB / 1.004 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.294, allocations: 431.7 kB / 1.004 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.294, allocations: 3.953 kB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004895/0.2989, allocations: 1.728 MB / 1.006 GB, free: 56 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.2991, allocations: 153.2 kB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2991, allocations: 4 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/0.3034, allocations: 0.9854 MB / 1.007 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.304, allocations: 135.8 kB / 1.007 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008327/0.3124, allocations: 6.384 MB / 1.013 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.3132, allocations: 115.8 kB / 1.014 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.3133, allocations: 12 kB / 1.014 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3133, allocations: 5.25 kB / 1.014 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004949/0.3183, allocations: 1.671 MB / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3183, allocations: 4 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/0.3214, allocations: 0.7251 MB / 1.016 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.3219, allocations: 136 kB / 1.016 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.3276, allocations: 5.426 MB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.3283, allocations: 119.9 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.3284, allocations: 15.98 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000488/0.3289, allocations: 328.9 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.329, allocations: 35.62 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/0.334, allocations: 1.625 MB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3341, allocations: 4 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3341, allocations: 0 / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3341, allocations: 7.984 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.3398, allocations: 2.338 MB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3399, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.3403, allocations: 87.83 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003873/0.3441, allocations: 0.9154 MB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.3442, allocations: 11.98 kB / 1.027 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007784/0.352, allocations: 6.227 MB / 1.033 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.352, allocations: 0 / 1.033 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/0.357, allocations: 1.643 MB / 1.034 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.3573, allocations: 176.7 kB / 1.035 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.3574, allocations: 11.94 kB / 1.035 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.358, allocations: 91.86 kB / 1.035 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3581, allocations: 27.95 kB / 1.035 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.3582, allocations: 15.98 kB / 1.035 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004129/0.3586, allocations: 307.1 kB / 1.035 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3586, allocations: 0 / 1.035 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001028/0.3596, allocations: 240 kB / 1.035 GB, free: 0.6328 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000244/0.3599, allocations: 127.4 kB / 1.035 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004697/0.3646, allocations: 2.252 MB / 1.037 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.3646, allocations: 128 / 1.037 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.3661, allocations: 0.824 MB / 1.038 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.3669, allocations: 121.2 kB / 1.038 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3692, allocations: 1.331 MB / 1.04 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.3698, allocations: 0.9258 MB / 1.041 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006043/0.3705, allocations: 171.3 kB / 1.041 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3706, allocations: 35.42 kB / 1.041 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of SimCode: time 6.31e-07/0.3706, allocations: 0 / 1.041 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.02339/0.394, allocations: 13.91 MB / 1.054 GB, free: 12.8 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)