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 2.598/2.598, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001425/0.001425, allocations: 180.2 kB / 371 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 2.282/2.282, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008826/0.0008826, allocations: 95.52 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007428/0.0007435, allocations: 15.89 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2669, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.0108/0.2778, allocations: 4.552 MB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.288, allocations: 3.513 MB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.2885, allocations: 7.938 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2899, allocations: 220.2 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.2921, allocations: 360.8 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.2933, allocations: 187.6 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.2954, allocations: 0.7632 MB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.2978, allocations: 0.7404 MB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.2986, allocations: 199.2 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007464/0.2994, allocations: 259 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.2995, allocations: 23.98 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.3011, allocations: 319.6 kB / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.3015, allocations: 143.5 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3017, allocations: 109.5 kB / 0.9894 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.3034, allocations: 0.7637 MB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3035, allocations: 0 / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3035, allocations: 0 / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.3036, allocations: 0 / 0.9902 GB, free: 16.18 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.002636/0.3062, allocations: 0.7635 MB / 0.9909 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3063, allocations: 12.02 kB / 0.991 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00757/0.3139, allocations: 0.717 MB / 0.9917 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.3161, allocations: 0.5265 MB / 0.9922 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.3162, allocations: 24.64 kB / 0.9922 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.3164, allocations: 31.95 kB / 0.9922 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/0.3202, allocations: 0.8434 MB / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.3203, allocations: 3.938 kB / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3204, allocations: 12 kB / 0.9931 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004788/0.3209, allocations: 76.56 kB / 0.9931 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004856/0.3258, allocations: 0.939 MB / 0.994 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008957/0.3348, allocations: 2.945 MB / 0.9969 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.3391, allocations: 0.5611 MB / 0.9975 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.3411, allocations: 324.9 kB / 0.9978 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.3414, allocations: 89.19 kB / 0.9979 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3414, allocations: 34.75 kB / 0.9979 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 5.771e-06/0.3415, allocations: 0 / 0.9979 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.03718/0.3786, allocations: 4.088 MB / 1.002 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.3788, allocations: 81.11 kB / 1.002 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3799, allocations: 461.4 kB / 1.002 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.3801, allocations: 33.7 kB / 1.002 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.3804, allocations: 240.2 kB / 1.003 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.3806, allocations: 122.2 kB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/0.3807, allocations: 4 kB / 1.003 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3809, allocations: 350.8 kB / 1.003 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.3834, allocations: 448.4 kB / 1.004 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.386, allocations: 0.5251 MB / 1.004 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.3886, allocations: 481.3 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3887, allocations: 0 / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.01613/0.4048, allocations: 1.936 MB / 1.006 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.4051, allocations: 145.6 kB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4051, allocations: 3.984 kB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/0.4188, allocations: 1.098 MB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.4205, allocations: 127.8 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02675/0.4473, allocations: 6.383 MB / 1.014 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4496, allocations: 119.9 kB / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4498, allocations: 19.95 kB / 1.014 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4498, allocations: 4 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/0.464, allocations: 1.629 MB / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.464, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009656/0.4737, allocations: 0.8131 MB / 1.017 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.4756, allocations: 139.8 kB / 1.017 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.4961, allocations: 5.558 MB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.4983, allocations: 111.9 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4984, allocations: 12 kB / 1.022 GB, free: 14.33 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.0009469/0.4994, allocations: 350.1 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4997, allocations: 39.53 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/0.5149, allocations: 1.829 MB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.515, allocations: 4 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.515, allocations: 4 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.515, allocations: 7.984 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.5319, allocations: 2.565 MB / 1.027 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.532, allocations: 96 / 1.027 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.5331, allocations: 91.84 kB / 1.027 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/0.5451, allocations: 1.024 MB / 1.028 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/0.5453, allocations: 16 kB / 1.028 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/0.5686, allocations: 6.075 MB / 1.034 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.5686, allocations: 0 / 1.034 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.5831, allocations: 1.79 MB / 1.036 GB, free: 132 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008138/0.5839, allocations: 192.6 kB / 1.036 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.5842, allocations: 8 kB / 1.036 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/0.5861, allocations: 99.84 kB / 1.036 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000339/0.5865, allocations: 43.78 kB / 1.036 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.794e-05/0.5866, allocations: 8 kB / 1.036 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009658/0.5876, allocations: 339.1 kB / 1.036 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.91e-07/0.5877, allocations: 0 / 1.036 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002498/0.5902, allocations: 288 kB / 1.037 GB, free: 15.15 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.0005942/0.5908, allocations: 155.1 kB / 1.037 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01731/0.6082, allocations: 2.544 MB / 1.039 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.6082, allocations: 0 / 1.039 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00705/0.6153, allocations: 0.9888 MB / 1.04 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.6176, allocations: 120.7 kB / 1.04 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.6231, allocations: 1.422 MB / 1.042 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/0.624, allocations: 0.9569 MB / 1.043 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001028/0.625, allocations: 155.3 kB / 1.043 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.6253, allocations: 43.41 kB / 1.043 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/0.6253, allocations: 4 kB / 1.043 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of Templates: time 0.04207/0.6674, allocations: 16.43 MB / 1.059 GB, free: 8.281 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)