Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.822/2.822, allocations: 284.8 MB / 297.3 MB, free: 6.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 176.8 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.6241 GB, free: 8.164 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001004, allocations: 89.41 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.869e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8136, allocations: 115.2 MB / 0.97 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/1.107, allocations: 158.6 MB / 1.125 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/1.108, allocations: 87.94 kB / 1.125 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06816/1.176, allocations: 16.22 MB / 1.141 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/1.176, allocations: 0 / 1.141 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.277e-05/1.176, allocations: 4 kB / 1.141 GB, free: 9.41 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.001077/1.177, allocations: 0.5254 MB / 1.141 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.177, allocations: 12.03 kB / 1.141 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.178, allocations: 92.81 kB / 1.141 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/1.179, allocations: 254.6 kB / 1.142 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/1.179, allocations: 16.36 kB / 1.142 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/1.179, allocations: 20 kB / 1.142 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/1.18, allocations: 357.5 kB / 1.142 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.18, allocations: 0 / 1.142 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/1.18, allocations: 12 kB / 1.142 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.534e-05/1.18, allocations: 28.09 kB / 1.142 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/1.181, allocations: 292.8 kB / 1.142 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/1.183, allocations: 1.727 MB / 1.144 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.185, allocations: 321.1 kB / 1.144 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/1.185, allocations: 133.7 kB / 1.144 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/1.185, allocations: 89.09 kB / 1.145 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.185, allocations: 38.52 kB / 1.145 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 3.286e-06/1.185, allocations: 0 / 1.145 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.001337/1.187, allocations: 378.4 kB / 1.145 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/1.187, allocations: 89.11 kB / 1.145 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/1.187, allocations: 179.8 kB / 1.145 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/1.187, allocations: 25.7 kB / 1.145 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.187, allocations: 167.9 kB / 1.145 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/1.187, allocations: 67.02 kB / 1.145 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/1.187, allocations: 4 kB / 1.145 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.188, allocations: 330.8 kB / 1.146 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/1.188, allocations: 116 kB / 1.146 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/1.188, allocations: 198.3 kB / 1.146 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/1.189, allocations: 148.2 kB / 1.146 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.189, allocations: 3.953 kB / 1.146 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001166/1.19, allocations: 400.7 kB / 1.147 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00044/1.19, allocations: 1.043 MB / 1.148 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.19, allocations: 8 kB / 1.148 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/1.191, allocations: 44.8 kB / 1.148 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/1.191, allocations: 71.89 kB / 1.148 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/1.193, allocations: 1.503 MB / 1.149 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/1.194, allocations: 27.97 kB / 1.149 GB, free: 156 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/1.194, allocations: 12 kB / 1.149 GB, free: 144 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.194, allocations: 4.781 kB / 1.149 GB, free: 140 kB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/1.195, allocations: 338.8 kB / 1.15 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.195, allocations: 4 kB / 1.15 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/1.195, allocations: 36.83 kB / 1.15 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/1.196, allocations: 72.23 kB / 1.15 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/1.198, allocations: 1.477 MB / 1.151 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.198, allocations: 31.98 kB / 1.151 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/1.198, allocations: 12 kB / 1.151 GB, free: 14.03 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.0001809/1.198, allocations: 128.8 kB / 1.151 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/1.198, allocations: 23.72 kB / 1.151 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/1.199, allocations: 325.5 kB / 1.152 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.199, allocations: 4.141 kB / 1.152 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.199, allocations: 0 / 1.152 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/1.2, allocations: 15.25 kB / 1.152 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/1.202, allocations: 0.934 MB / 1.153 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/1.202, allocations: 0 / 1.153 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/1.202, allocations: 59.89 kB / 1.153 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/1.202, allocations: 32.83 kB / 1.153 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/1.203, allocations: 8 kB / 1.153 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/1.204, allocations: 1.404 MB / 1.154 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.204, allocations: 0 / 1.154 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.205, allocations: 0.5895 MB / 1.155 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/1.205, allocations: 128.7 kB / 1.155 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/1.205, allocations: 8 kB / 1.155 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/1.206, allocations: 31.92 kB / 1.155 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.206, allocations: 23.84 kB / 1.155 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/1.206, allocations: 14.69 kB / 1.155 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002169/1.206, allocations: 152.8 kB / 1.155 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.81e-07/1.206, allocations: 0 / 1.155 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008877/1.207, allocations: 119.9 kB / 1.155 GB, free: 9.73 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.000223/1.207, allocations: 123.2 kB / 1.155 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001736/1.209, allocations: 0.6822 MB / 1.156 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.209, allocations: 256 / 1.156 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005794/1.21, allocations: 258.5 kB / 1.156 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/1.21, allocations: 26.91 kB / 1.156 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.212, allocations: 424.5 kB / 1.157 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/1.212, allocations: 0.7755 MB / 1.157 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005161/1.213, allocations: 98.11 kB / 1.157 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.213, allocations: 23.42 kB / 1.157 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/1.213, allocations: 0 / 1.157 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of Templates: time 0.01107/1.224, allocations: 3.173 MB / 1.16 GB, free: 4.125 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)