Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.745/1.745, allocations: 287.5 MB / 302.6 MB, free: 8.332 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.001131/0.001131, allocations: 176.5 kB / 371.2 MB, free: 10.87 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.836/1.836, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0008196/0.0008196, allocations: 85.45 kB / 0.7432 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004087, allocations: 11.52 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004742/0.2245, allocations: 4.55 MB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004353/0.2289, allocations: 3.513 MB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.2293, allocations: 11.94 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009353/0.2303, allocations: 210.9 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.2318, allocations: 362.6 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.2325, allocations: 187.6 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.2338, allocations: 0.7749 MB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.235, allocations: 0.8189 MB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.2354, allocations: 199.2 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.2358, allocations: 255.1 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.2359, allocations: 24 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.2366, allocations: 327.6 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2367, allocations: 143.5 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.2368, allocations: 105.5 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.2374, allocations: 0.7598 MB / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2374, allocations: 0 / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2375, allocations: 0 / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2375, allocations: 0 / 0.9906 GB, free: 15.93 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.001186/0.2387, allocations: 0.7637 MB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2387, allocations: 8.031 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.2414, allocations: 0.7179 MB / 0.9921 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/0.2422, allocations: 0.5354 MB / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.2423, allocations: 25.02 kB / 0.9926 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.2424, allocations: 40.12 kB / 0.9926 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.2437, allocations: 0.8356 MB / 0.9935 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2438, allocations: 7.922 kB / 0.9935 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.2438, allocations: 19.98 kB / 0.9935 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.244, allocations: 68.56 kB / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2457, allocations: 0.939 MB / 0.9945 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.249, allocations: 2.953 MB / 0.9973 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.2504, allocations: 0.5683 MB / 0.9979 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.2511, allocations: 316.6 kB / 0.9982 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.2512, allocations: 85.09 kB / 0.9983 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2512, allocations: 42.56 kB / 0.9983 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.775e-06/0.2512, allocations: 0 / 0.9983 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01248/0.2637, allocations: 4.08 MB / 1.002 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.2638, allocations: 84.97 kB / 1.002 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.2643, allocations: 453.5 kB / 1.003 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.2644, allocations: 41.64 kB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2645, allocations: 244.2 kB / 1.003 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.2646, allocations: 114.3 kB / 1.003 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.2647, allocations: 8 kB / 1.003 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.2648, allocations: 350.8 kB / 1.004 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/0.2656, allocations: 448.4 kB / 1.004 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.2665, allocations: 0.5213 MB / 1.004 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.2682, allocations: 0.9546 MB / 1.005 GB, free: 244 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2682, allocations: 0 / 1.005 GB, free: 244 kB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005809/0.274, allocations: 1.935 MB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.2741, allocations: 144 kB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2741, allocations: 4 kB / 1.007 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004722/0.2789, allocations: 1.09 MB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.2795, allocations: 135.8 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.2897, allocations: 6.393 MB / 1.015 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.2906, allocations: 119.9 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.2907, allocations: 16 kB / 1.015 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.2907, allocations: 4 kB / 1.015 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005016/0.2957, allocations: 1.64 MB / 1.017 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2958, allocations: 4 kB / 1.017 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/0.2991, allocations: 0.8019 MB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.2997, allocations: 139.7 kB / 1.018 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.3075, allocations: 5.558 MB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/0.3084, allocations: 115.9 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.3085, allocations: 19.98 kB / 1.023 GB, free: 13.53 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004308/0.3089, allocations: 350.1 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3091, allocations: 43.52 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/0.3146, allocations: 1.828 MB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3146, allocations: 4 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3146, allocations: 0 / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3146, allocations: 3.984 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/0.3209, allocations: 2.569 MB / 1.028 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.321, allocations: 0 / 1.028 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.3214, allocations: 83.94 kB / 1.028 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004109/0.3255, allocations: 1.024 MB / 1.029 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.3255, allocations: 11.98 kB / 1.029 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008633/0.3342, allocations: 6.059 MB / 1.035 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3342, allocations: 4.031 kB / 1.035 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/0.3395, allocations: 1.79 MB / 1.037 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.3399, allocations: 204.3 kB / 1.037 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.34, allocations: 15.94 kB / 1.037 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.3406, allocations: 91.86 kB / 1.037 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3408, allocations: 43.88 kB / 1.037 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.3408, allocations: 12 kB / 1.037 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004321/0.3413, allocations: 335.1 kB / 1.037 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3413, allocations: 0 / 1.037 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00114/0.3424, allocations: 288 kB / 1.037 GB, free: 14.36 MB / 0.6667 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003117/0.3427, allocations: 159.1 kB / 1.038 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006369/0.3491, allocations: 2.536 MB / 1.04 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.3491, allocations: 4.125 kB / 1.04 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002458/0.3516, allocations: 0.9852 MB / 1.041 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.3525, allocations: 118 kB / 1.041 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.3549, allocations: 1.431 MB / 1.043 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.3555, allocations: 0.9608 MB / 1.044 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005832/0.3561, allocations: 155.3 kB / 1.044 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3563, allocations: 35.42 kB / 1.044 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of SimCode: time 7.62e-07/0.3563, allocations: 0 / 1.044 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.02596/0.3822, allocations: 16.44 MB / 1.06 GB, free: 7.5 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)