Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.988/1.988, allocations: 287.5 MB / 302.6 MB, free: 8.23 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.0009758/0.0009758, allocations: 176.9 kB / 371.2 MB, free: 10.74 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.708/1.708, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.00103/0.00103, allocations: 98.34 kB / 0.7432 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007037/0.0007038, allocations: 11.03 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2381, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005072/0.2432, allocations: 4.482 MB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2475, allocations: 3.12 MB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.248, allocations: 7.938 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.2489, allocations: 151.1 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.2501, allocations: 316.6 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.2509, allocations: 189.7 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.2521, allocations: 0.7126 MB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.2534, allocations: 0.8061 MB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.2538, allocations: 199.2 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.2543, allocations: 259 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.2543, allocations: 20 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.255, allocations: 243.7 kB / 0.9889 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.2552, allocations: 139.6 kB / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2553, allocations: 101.5 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.2562, allocations: 0.7091 MB / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2562, allocations: 0 / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2562, allocations: 0 / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.2562, allocations: 3.938 kB / 0.9898 GB, free: 16.67 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.001553/0.2578, allocations: 0.7463 MB / 0.9906 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2578, allocations: 8.031 kB / 0.9906 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.2606, allocations: 0.6946 MB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.2614, allocations: 495.6 kB / 0.9917 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2615, allocations: 25.03 kB / 0.9917 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2616, allocations: 36.11 kB / 0.9918 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.2631, allocations: 0.8395 MB / 0.9926 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2631, allocations: 7.938 kB / 0.9926 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.2632, allocations: 12 kB / 0.9926 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.2634, allocations: 72.56 kB / 0.9927 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.2653, allocations: 0.9351 MB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.2687, allocations: 2.922 MB / 0.9965 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2702, allocations: 0.5644 MB / 0.997 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.2708, allocations: 320.5 kB / 0.9973 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.249e-05/0.2709, allocations: 89.09 kB / 0.9974 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.271, allocations: 34.56 kB / 0.9974 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.271, allocations: 0 / 0.9974 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.01149/0.2825, allocations: 3.656 MB / 1.001 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2826, allocations: 81.11 kB / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.283, allocations: 408.4 kB / 1.001 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2831, allocations: 37.64 kB / 1.002 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2832, allocations: 235.9 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.2833, allocations: 110.4 kB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.2833, allocations: 8 kB / 1.002 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.2834, allocations: 346.8 kB / 1.002 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.2843, allocations: 399.7 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008689/0.2851, allocations: 481.1 kB / 1.003 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.2868, allocations: 0.8738 MB / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2868, allocations: 0 / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005099/0.2919, allocations: 1.728 MB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.2922, allocations: 151.9 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.2922, allocations: 0 / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004752/0.2969, allocations: 0.9738 MB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.2976, allocations: 139.8 kB / 1.007 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009525/0.3072, allocations: 6.412 MB / 1.013 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.3081, allocations: 115.8 kB / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.3082, allocations: 12 kB / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.3082, allocations: 4 kB / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00498/0.3132, allocations: 1.663 MB / 1.015 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3132, allocations: 7.984 kB / 1.015 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.3162, allocations: 0.7253 MB / 1.016 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.3169, allocations: 135.8 kB / 1.016 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/0.3235, allocations: 5.437 MB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.3243, allocations: 107.9 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.3244, allocations: 15.98 kB / 1.021 GB, free: 15.23 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.0005341/0.3249, allocations: 321 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3251, allocations: 47.41 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.3302, allocations: 1.618 MB / 1.023 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3303, allocations: 7.984 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.3303, allocations: 4 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3303, allocations: 0 / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006249/0.3366, allocations: 2.334 MB / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3366, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.3371, allocations: 91.89 kB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004163/0.3413, allocations: 0.927 MB / 1.026 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.3414, allocations: 4 kB / 1.026 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00804/0.3494, allocations: 6.223 MB / 1.032 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3494, allocations: 4 kB / 1.032 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.3544, allocations: 1.635 MB / 1.034 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3547, allocations: 180.6 kB / 1.034 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3548, allocations: 11.94 kB / 1.034 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.3555, allocations: 95.84 kB / 1.034 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3556, allocations: 31.97 kB / 1.034 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.3557, allocations: 11.98 kB / 1.034 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000446/0.3561, allocations: 307.1 kB / 1.035 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3561, allocations: 0 / 1.035 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00117/0.3573, allocations: 244 kB / 1.035 GB, free: 0.582 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.0002995/0.3576, allocations: 123.2 kB / 1.035 GB, free: 464 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005057/0.3627, allocations: 2.252 MB / 1.037 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.526e-05/0.3627, allocations: 4.125 kB / 1.037 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.3643, allocations: 0.82 MB / 1.038 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.3651, allocations: 125.5 kB / 1.038 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3676, allocations: 1.315 MB / 1.039 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.3683, allocations: 0.9258 MB / 1.04 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.3689, allocations: 171.2 kB / 1.04 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3691, allocations: 39.36 kB / 1.04 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of SimCode: time 8.62e-07/0.3691, allocations: 0 / 1.04 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of Templates: time 0.02323/0.3923, allocations: 13.92 MB / 1.054 GB, free: 12.75 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)