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 2.714/2.714, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.001415/0.001415, allocations: 170.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.498/2.498, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001021/0.001021, allocations: 84.88 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 15.8 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2165, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006647/0.2232, allocations: 4.49 MB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005833/0.2291, allocations: 3.108 MB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.2295, allocations: 8 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00072/0.2302, allocations: 155.1 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.2314, allocations: 312.9 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.2323, allocations: 184.6 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.2334, allocations: 0.7048 MB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.235, allocations: 0.7287 MB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.2354, allocations: 195.2 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.2358, allocations: 259 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-05/0.2359, allocations: 20 kB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008854/0.2368, allocations: 235.7 kB / 0.9885 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.237, allocations: 143.6 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2372, allocations: 109.5 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.2381, allocations: 0.7171 MB / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2381, allocations: 0 / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2382, allocations: 0 / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2382, allocations: 0 / 0.9894 GB, free: 16.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.001731/0.2399, allocations: 0.7363 MB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.24, allocations: 8.031 kB / 0.9902 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/0.2448, allocations: 0.6975 MB / 0.9908 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.246, allocations: 486.7 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2461, allocations: 24.59 kB / 0.9913 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.2462, allocations: 35.95 kB / 0.9914 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.2487, allocations: 0.8396 MB / 0.9922 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.2488, allocations: 7.922 kB / 0.9922 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.2488, allocations: 19.98 kB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003313/0.2492, allocations: 60.58 kB / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.2526, allocations: 0.939 MB / 0.9932 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/0.2585, allocations: 2.926 MB / 0.996 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.2617, allocations: 0.5622 MB / 0.9966 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.263, allocations: 313 kB / 0.9969 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.2632, allocations: 97.23 kB / 0.997 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.2632, allocations: 34.75 kB / 0.997 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.176e-06/0.2633, allocations: 4 kB / 0.997 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.02237/0.2856, allocations: 3.649 MB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2858, allocations: 81.11 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.2864, allocations: 412.4 kB / 1.001 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.2866, allocations: 33.7 kB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.2867, allocations: 231.9 kB / 1.001 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2869, allocations: 114.4 kB / 1.001 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.287, allocations: 4 kB / 1.001 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.2871, allocations: 354.8 kB / 1.002 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.2887, allocations: 395.7 kB / 1.002 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.2904, allocations: 492.9 kB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.2921, allocations: 435.6 kB / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2921, allocations: 0 / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.009768/0.3019, allocations: 1.728 MB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.3021, allocations: 144.4 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3021, allocations: 4 kB / 1.005 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008142/0.3102, allocations: 0.9854 MB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3115, allocations: 131.8 kB / 1.006 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.3267, allocations: 6.396 MB / 1.012 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.3282, allocations: 119.8 kB / 1.012 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.3283, allocations: 16 kB / 1.012 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3284, allocations: 7.953 kB / 1.012 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009343/0.3377, allocations: 1.659 MB / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3378, allocations: 0 / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/0.3438, allocations: 0.7368 MB / 1.015 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3451, allocations: 131.8 kB / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.3553, allocations: 5.43 MB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3568, allocations: 112.2 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.3569, allocations: 27.88 kB / 1.02 GB, free: 15.96 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.00059/0.3575, allocations: 321 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3577, allocations: 31.62 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009609/0.3673, allocations: 1.633 MB / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.3674, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3674, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.3674, allocations: 7.969 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.3785, allocations: 2.334 MB / 1.024 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.3785, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.3793, allocations: 87.84 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007479/0.3868, allocations: 0.9193 MB / 1.025 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.626e-05/0.387, allocations: 11.98 kB / 1.025 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.3999, allocations: 6.231 MB / 1.032 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.3999, allocations: 3.953 kB / 1.032 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009932/0.4099, allocations: 1.635 MB / 1.033 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.4105, allocations: 176.7 kB / 1.033 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4106, allocations: 4 kB / 1.033 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.4117, allocations: 95.86 kB / 1.033 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.4119, allocations: 31.89 kB / 1.033 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.412, allocations: 15.98 kB / 1.033 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006409/0.4127, allocations: 307.1 kB / 1.034 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4127, allocations: 3.938 kB / 1.034 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001436/0.4142, allocations: 244 kB / 1.034 GB, free: 1.328 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.0002974/0.4145, allocations: 127.7 kB / 1.034 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008127/0.4226, allocations: 2.251 MB / 1.036 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.4227, allocations: 4.125 kB / 1.036 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.4254, allocations: 0.8201 MB / 1.037 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.4267, allocations: 113.3 kB / 1.037 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.4302, allocations: 1.318 MB / 1.038 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/0.431, allocations: 0.9258 MB / 1.039 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001083/0.4321, allocations: 179.3 kB / 1.04 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.4324, allocations: 39.41 kB / 1.04 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.072e-06/0.4324, allocations: 0 / 1.04 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.03629/0.4687, allocations: 13.92 MB / 1.053 GB, free: 13.48 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)