Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.83/1.83, allocations: 288.4 MB / 303.4 MB, free: 8.098 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.000986/0.0009862, allocations: 182.9 kB / 372 MB, free: 10.27 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.755/1.755, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.001031/0.001031, allocations: 89.33 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000597/0.0005971, allocations: 10.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2691, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00412/0.2733, allocations: 3.831 MB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00403/0.2774, allocations: 3.022 MB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.2777, allocations: 7.938 kB / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.2783, allocations: 151.1 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.2791, allocations: 314.5 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.2796, allocations: 175.6 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.2803, allocations: 0.6541 MB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.2813, allocations: 0.7253 MB / 0.9883 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.2816, allocations: 191.2 kB / 0.9884 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.282, allocations: 235.1 kB / 0.9887 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.282, allocations: 16 kB / 0.9887 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.2826, allocations: 231.7 kB / 0.9889 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2827, allocations: 139.6 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.226e-05/0.2828, allocations: 105.5 kB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.2834, allocations: 0.6704 MB / 0.9898 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2834, allocations: 0 / 0.9898 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2835, allocations: 0 / 0.9898 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2835, allocations: 4 kB / 0.9898 GB, free: 17.14 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001081/0.2846, allocations: 0.7255 MB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2846, allocations: 8.031 kB / 0.9905 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.2871, allocations: 0.6859 MB / 0.9912 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.2878, allocations: 470.6 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2878, allocations: 36.64 kB / 0.9917 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.2879, allocations: 28 kB / 0.9917 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2892, allocations: 0.7864 MB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.2892, allocations: 4 kB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.2893, allocations: 15.95 kB / 0.9925 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.2894, allocations: 52.58 kB / 0.9925 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.2911, allocations: 0.8765 MB / 0.9934 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.2942, allocations: 2.858 MB / 0.9962 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.2956, allocations: 0.5214 MB / 0.9967 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.2962, allocations: 268.9 kB / 0.9969 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.2963, allocations: 89.03 kB / 0.997 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2964, allocations: 42.52 kB / 0.9971 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2964, allocations: 4 kB / 0.9971 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01051/0.3069, allocations: 3.205 MB / 1 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.307, allocations: 89.09 kB / 1 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.3074, allocations: 413.6 kB / 1.001 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.3074, allocations: 29.7 kB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3076, allocations: 235.8 kB / 1.001 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.3077, allocations: 90.67 kB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.3077, allocations: 4 kB / 1.001 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.3078, allocations: 354.8 kB / 1.001 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.3086, allocations: 363.5 kB / 1.002 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.3094, allocations: 441.3 kB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.3102, allocations: 394.8 kB / 1.002 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3102, allocations: 0 / 1.002 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004504/0.3147, allocations: 1.535 MB / 1.004 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.3148, allocations: 152.2 kB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3148, allocations: 4 kB / 1.004 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.3184, allocations: 0.8442 MB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.319, allocations: 135.8 kB / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/0.326, allocations: 4.67 MB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/0.3268, allocations: 119.8 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.3269, allocations: 20.05 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3269, allocations: 1.25 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00411/0.331, allocations: 1.261 MB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3311, allocations: 0 / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.3337, allocations: 0.5548 MB / 1.012 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.3344, allocations: 147.8 kB / 1.012 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.3383, allocations: 2.498 MB / 1.014 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.3391, allocations: 119.9 kB / 1.014 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.3391, allocations: 8 kB / 1.014 GB, free: 7.109 MB / 0.6355 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%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004966/0.3396, allocations: 321 kB / 1.015 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.3397, allocations: 31.62 kB / 1.015 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.3445, allocations: 1.432 MB / 1.016 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/0.3445, allocations: 4 kB / 1.016 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3445, allocations: 0 / 1.016 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3445, allocations: 0 / 1.016 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005561/0.3501, allocations: 2.102 MB / 1.018 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3501, allocations: 0 / 1.018 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.3505, allocations: 87.83 kB / 1.018 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.3539, allocations: 0.7819 MB / 1.019 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.354, allocations: 15.98 kB / 1.019 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006403/0.3604, allocations: 4.489 MB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3604, allocations: 0 / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.3649, allocations: 1.436 MB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.3652, allocations: 176.6 kB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.3653, allocations: 7.984 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.3659, allocations: 95.84 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.3661, allocations: 31.91 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.3661, allocations: 8 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004314/0.3666, allocations: 315.1 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3666, allocations: 0 / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009793/0.3676, allocations: 200 kB / 1.026 GB, free: 11.18 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 (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%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002645/0.3678, allocations: 112.4 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00386/0.3717, allocations: 1.628 MB / 1.027 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3717, allocations: 0 / 1.027 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.373, allocations: 0.6691 MB / 1.028 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.3738, allocations: 117.8 kB / 1.028 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.3761, allocations: 1.213 MB / 1.029 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.3768, allocations: 0.9132 MB / 1.03 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005984/0.3774, allocations: 159.1 kB / 1.03 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3775, allocations: 43.41 kB / 1.03 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.3775, allocations: 4 kB / 1.03 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of Templates: time 0.02082/0.3984, allocations: 11.93 MB / 1.042 GB, free: 10.32 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)