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.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.00127/0.00127, allocations: 173.4 kB / 372 MB, free: 10.28 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.644/1.644, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009387/0.0009386, allocations: 97.09 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004158, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006214/0.2993, allocations: 4.552 MB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.3041, allocations: 3.509 MB / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.3045, allocations: 11.94 kB / 0.9875 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.3053, allocations: 214.8 kB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000951/0.3063, allocations: 363.7 kB / 0.988 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.3068, allocations: 195.5 kB / 0.9882 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008973/0.3077, allocations: 0.7592 MB / 0.989 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.3088, allocations: 0.7382 MB / 0.9897 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.309, allocations: 199.2 kB / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.3094, allocations: 259 kB / 0.9901 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.3094, allocations: 20 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.3101, allocations: 323.6 kB / 0.9904 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3102, allocations: 143.5 kB / 0.9906 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.3103, allocations: 109.5 kB / 0.9907 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006866/0.311, allocations: 0.7637 MB / 0.9914 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.311, allocations: 4 kB / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.454e-06/0.311, allocations: 0 / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.311, allocations: 0 / 0.9914 GB, free: 15.47 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.001368/0.3124, allocations: 0.7557 MB / 0.9922 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3125, allocations: 20.02 kB / 0.9922 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.3152, allocations: 0.7053 MB / 0.9929 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3162, allocations: 0.5382 MB / 0.9934 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.3162, allocations: 20.66 kB / 0.9934 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.3163, allocations: 35.92 kB / 0.9935 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3179, allocations: 0.8434 MB / 0.9943 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.3179, allocations: 3.938 kB / 0.9943 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.3179, allocations: 12 kB / 0.9943 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.3182, allocations: 68.56 kB / 0.9944 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.3199, allocations: 0.9429 MB / 0.9953 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.3234, allocations: 2.953 MB / 0.9982 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.3249, allocations: 0.5689 MB / 0.9987 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.3256, allocations: 320.9 kB / 0.999 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/0.3257, allocations: 85.3 kB / 0.9991 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3257, allocations: 42.7 kB / 0.9992 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.3257, allocations: 3.938 kB / 0.9992 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01303/0.3387, allocations: 4.068 MB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3388, allocations: 89.11 kB / 1.003 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.3394, allocations: 461.4 kB / 1.004 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.3394, allocations: 29.7 kB / 1.004 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3396, allocations: 236.2 kB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.3397, allocations: 126.2 kB / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.3397, allocations: 8 kB / 1.004 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.3398, allocations: 358.7 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/0.3406, allocations: 440.5 kB / 1.005 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/0.3415, allocations: 0.5212 MB / 1.005 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.3424, allocations: 485.3 kB / 1.006 GB, free: 300 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3424, allocations: 3.938 kB / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006017/0.3485, allocations: 1.921 MB / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.3486, allocations: 148 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3487, allocations: 7.984 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/0.3536, allocations: 1.094 MB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.3543, allocations: 131.8 kB / 1.009 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.3652, allocations: 6.385 MB / 1.015 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/0.3662, allocations: 123.9 kB / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.3663, allocations: 15.94 kB / 1.015 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3664, allocations: 9.391 kB / 1.015 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005226/0.3716, allocations: 1.632 MB / 1.017 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3716, allocations: 0 / 1.017 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003543/0.3752, allocations: 0.8136 MB / 1.018 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.3758, allocations: 131.8 kB / 1.018 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.3848, allocations: 5.558 MB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/0.3858, allocations: 107.9 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.3859, allocations: 16 kB / 1.023 GB, free: 13.61 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.000747/0.3867, allocations: 348.8 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.3869, allocations: 39.53 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.3927, allocations: 1.829 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3928, allocations: 7.984 kB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3928, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3928, allocations: 3.984 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/0.3999, allocations: 2.565 MB / 1.028 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3999, allocations: 0 / 1.028 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.4003, allocations: 91.92 kB / 1.028 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004338/0.4046, allocations: 1.02 MB / 1.029 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.4047, allocations: 7.953 kB / 1.029 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009674/0.4144, allocations: 6.078 MB / 1.035 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4144, allocations: 4.031 kB / 1.035 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.42, allocations: 1.782 MB / 1.037 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.4205, allocations: 200.6 kB / 1.037 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4207, allocations: 4 kB / 1.037 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.4214, allocations: 95.84 kB / 1.037 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.4217, allocations: 47.78 kB / 1.037 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.4217, allocations: 12 kB / 1.037 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005637/0.4223, allocations: 335.1 kB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4223, allocations: 0 / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001689/0.424, allocations: 288 kB / 1.038 GB, free: 14.45 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.0004234/0.4244, allocations: 155.2 kB / 1.038 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007035/0.4315, allocations: 2.548 MB / 1.04 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.4315, allocations: 3.938 kB / 1.04 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.4342, allocations: 0.985 MB / 1.041 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/0.4352, allocations: 124.1 kB / 1.042 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.4381, allocations: 1.428 MB / 1.043 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/0.439, allocations: 0.9531 MB / 1.044 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006672/0.4397, allocations: 151.4 kB / 1.044 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.4398, allocations: 39.41 kB / 1.044 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of SimCode: time 1.222e-06/0.4398, allocations: 4 kB / 1.044 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of Templates: time 0.02901/0.4689, allocations: 16.44 MB / 1.06 GB, free: 7.613 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)