Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001032/0.001031, allocations: 175.8 kB / 361.4 MB, free: 6.812 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.64/1.64, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 81.88 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.971e-05, allocations: 4 kB / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.7171, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.9515, allocations: 158.1 MB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.9519, allocations: 92.5 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04148/0.9934, allocations: 16.16 MB / 1.135 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9934, allocations: 0 / 1.135 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.659e-05/0.9935, allocations: 4 kB / 1.135 GB, free: 13.39 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001157/0.9947, allocations: 0.5176 MB / 1.135 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.9947, allocations: 8.031 kB / 1.135 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.9957, allocations: 100.6 kB / 1.135 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.9962, allocations: 262.5 kB / 1.135 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.9962, allocations: 4 kB / 1.136 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.9963, allocations: 12 kB / 1.136 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000459/0.9967, allocations: 220.7 kB / 1.136 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.9973, allocations: 331.4 kB / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.9974, allocations: 0 / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.9974, allocations: 0 / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.9975, allocations: 28.31 kB / 1.136 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.9996, allocations: 1.671 MB / 1.138 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/1, allocations: 301.2 kB / 1.138 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/1, allocations: 137.6 kB / 1.138 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/1.001, allocations: 93.09 kB / 1.138 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/1.001, allocations: 34.56 kB / 1.138 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.993e-06/1.001, allocations: 0 / 1.138 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0009985/1.002, allocations: 366.6 kB / 1.139 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.002, allocations: 85.02 kB / 1.139 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/1.002, allocations: 175.2 kB / 1.139 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/1.002, allocations: 25.7 kB / 1.139 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.002, allocations: 163.9 kB / 1.139 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/1.002, allocations: 63.02 kB / 1.139 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/1.002, allocations: 0 / 1.139 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.002, allocations: 330.8 kB / 1.139 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.003, allocations: 108 kB / 1.139 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/1.003, allocations: 198.3 kB / 1.14 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/1.003, allocations: 145.6 kB / 1.14 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.003, allocations: 1.781 kB / 1.14 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000689/1.004, allocations: 383.2 kB / 1.14 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004966/1.004, allocations: 1.051 MB / 1.141 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.004, allocations: 4 kB / 1.141 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/1.005, allocations: 36.83 kB / 1.141 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/1.005, allocations: 79.92 kB / 1.141 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/1.006, allocations: 1.428 MB / 1.143 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/1.007, allocations: 31.94 kB / 1.143 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/1.007, allocations: 12 kB / 1.143 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.007, allocations: 4.938 kB / 1.143 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006086/1.007, allocations: 311.3 kB / 1.143 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.007, allocations: 4 kB / 1.143 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/1.008, allocations: 48.75 kB / 1.143 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/1.008, allocations: 63.89 kB / 1.143 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/1.009, allocations: 1.434 MB / 1.145 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/1.009, allocations: 19.98 kB / 1.145 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/1.009, allocations: 12 kB / 1.145 GB, free: 2.461 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.009, allocations: 116.9 kB / 1.145 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/1.01, allocations: 29.48 kB / 1.145 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/1.01, allocations: 320.3 kB / 1.145 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/1.01, allocations: 0 / 1.145 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.01, allocations: 4 kB / 1.145 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.01, allocations: 3.984 kB / 1.145 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.012, allocations: 0.8745 MB / 1.146 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.012, allocations: 0 / 1.146 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/1.012, allocations: 60.17 kB / 1.146 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/1.012, allocations: 32.83 kB / 1.146 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/1.012, allocations: 4 kB / 1.146 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/1.013, allocations: 1.357 MB / 1.147 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.013, allocations: 7.984 kB / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/1.014, allocations: 0.5815 MB / 1.148 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/1.014, allocations: 128.8 kB / 1.148 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/1.014, allocations: 4 kB / 1.148 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/1.015, allocations: 19.97 kB / 1.148 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/1.015, allocations: 23.86 kB / 1.148 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/1.015, allocations: 8 kB / 1.148 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001449/1.015, allocations: 144.2 kB / 1.148 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.61e-07/1.015, allocations: 0 / 1.148 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006874/1.016, allocations: 111.9 kB / 1.148 GB, free: 14.36 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/1.016, allocations: 120.9 kB / 1.148 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.017, allocations: 0.6372 MB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.017, allocations: 0 / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/1.017, allocations: 241.6 kB / 1.149 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/1.018, allocations: 27.97 kB / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/1.018, allocations: 406.5 kB / 1.15 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/1.019, allocations: 0.7756 MB / 1.15 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002823/1.019, allocations: 89.98 kB / 1.151 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/1.019, allocations: 19.44 kB / 1.151 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/1.019, allocations: 0 / 1.151 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.007027/1.026, allocations: 3.005 MB / 1.154 GB, free: 9.016 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)