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.715/1.715, allocations: 285.4 MB / 298 MB, free: 6.008 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.001984/0.001984, allocations: 172.8 kB / 366.4 MB, free: 2.09 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.787/1.787, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008679/0.0008673, allocations: 97.03 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.357e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7344, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.958, allocations: 158.8 MB / 1.126 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.9584, allocations: 87.94 kB / 1.126 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04186/1, allocations: 16.23 MB / 1.142 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/1, allocations: 0 / 1.142 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.666e-05/1, allocations: 4 kB / 1.142 GB, free: 8.613 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.00105/1.001, allocations: 0.5215 MB / 1.142 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.001, allocations: 8.031 kB / 1.142 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/1.002, allocations: 103.6 kB / 1.142 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/1.003, allocations: 250.6 kB / 1.143 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.003, allocations: 12.38 kB / 1.143 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/1.003, allocations: 19.98 kB / 1.143 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/1.004, allocations: 353.7 kB / 1.143 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.004, allocations: 4 kB / 1.143 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/1.004, allocations: 8 kB / 1.143 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/1.004, allocations: 24.25 kB / 1.143 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/1.004, allocations: 292.8 kB / 1.143 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/1.006, allocations: 1.725 MB / 1.145 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/1.007, allocations: 319 kB / 1.145 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/1.007, allocations: 137.6 kB / 1.146 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.008, allocations: 85.09 kB / 1.146 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.008, allocations: 42.56 kB / 1.146 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.265e-06/1.008, allocations: 0 / 1.146 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0009551/1.009, allocations: 377.2 kB / 1.146 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.009, allocations: 85.09 kB / 1.146 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/1.009, allocations: 179.8 kB / 1.146 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/1.009, allocations: 29.7 kB / 1.146 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/1.009, allocations: 167.9 kB / 1.146 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/1.009, allocations: 71.09 kB / 1.147 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/1.009, allocations: 4 kB / 1.147 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.009, allocations: 336.5 kB / 1.147 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/1.01, allocations: 108 kB / 1.147 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/1.01, allocations: 206.3 kB / 1.147 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/1.01, allocations: 146.7 kB / 1.147 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.01, allocations: 0 / 1.147 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007142/1.011, allocations: 396.6 kB / 1.148 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005124/1.011, allocations: 1.051 MB / 1.149 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.011, allocations: 0 / 1.149 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/1.012, allocations: 44.81 kB / 1.149 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.012, allocations: 71.89 kB / 1.149 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/1.013, allocations: 1.493 MB / 1.15 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/1.014, allocations: 36.02 kB / 1.15 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.014, allocations: 16 kB / 1.15 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/1.014, allocations: 4 kB / 1.15 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006254/1.014, allocations: 330.4 kB / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.014, allocations: 352 / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/1.015, allocations: 44.83 kB / 1.151 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/1.015, allocations: 71.52 kB / 1.151 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/1.016, allocations: 1.487 MB / 1.152 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/1.016, allocations: 27.88 kB / 1.152 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/1.016, allocations: 16 kB / 1.152 GB, free: 13.23 MB / 0.7605 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.000117/1.016, allocations: 124.8 kB / 1.152 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/1.017, allocations: 19.72 kB / 1.152 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/1.017, allocations: 333.5 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/1.017, allocations: 4 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.017, allocations: 0 / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.017, allocations: 3.984 kB / 1.153 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.019, allocations: 0.9325 MB / 1.154 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.019, allocations: 4 kB / 1.154 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/1.019, allocations: 51.89 kB / 1.154 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/1.019, allocations: 45.05 kB / 1.154 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/1.019, allocations: 4 kB / 1.154 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/1.02, allocations: 1.408 MB / 1.155 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.02, allocations: 4.031 kB / 1.155 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/1.021, allocations: 0.585 MB / 1.156 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.021, allocations: 128.7 kB / 1.156 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.021, allocations: 14.47 kB / 1.156 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/1.021, allocations: 23.97 kB / 1.156 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/1.022, allocations: 27.86 kB / 1.156 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/1.022, allocations: 8 kB / 1.156 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001423/1.022, allocations: 151.7 kB / 1.156 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.31e-07/1.022, allocations: 4 kB / 1.156 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00064/1.022, allocations: 123.9 kB / 1.156 GB, free: 8.934 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.0001845/1.023, allocations: 111.2 kB / 1.156 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.024, allocations: 0.6876 MB / 1.157 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.024, allocations: 0 / 1.157 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/1.024, allocations: 252.3 kB / 1.157 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.024, allocations: 34.66 kB / 1.157 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/1.025, allocations: 419.3 kB / 1.158 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.026, allocations: 0.7832 MB / 1.158 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002778/1.026, allocations: 89.98 kB / 1.158 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/1.026, allocations: 23.42 kB / 1.158 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of SimCode: time 2.4e-07/1.026, allocations: 3.938 kB / 1.158 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of Templates: time 0.006977/1.033, allocations: 3.177 MB / 1.162 GB, free: 3.336 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)