Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.869/2.869, allocations: 284.8 MB / 297.3 MB, free: 6.289 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.001492/0.001492, allocations: 188.7 kB / 365.7 MB, free: 2.57 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 1.941/1.941, allocations: 205.1 MB / 0.6241 GB, free: 8.191 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.002277/0.002277, allocations: 102.5 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.794e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.9198, allocations: 115.3 MB / 0.97 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/1.247, allocations: 181.7 MB / 1.147 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.248, allocations: 96.44 kB / 1.148 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1512/1.399, allocations: 28.67 MB / 1.176 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.655e-06/1.399, allocations: 0 / 1.176 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.006736/1.406, allocations: 8 kB / 1.176 GB, free: 5.773 MB / 0.7761 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.002463/1.408, allocations: 0.6904 MB / 1.176 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.408, allocations: 8.031 kB / 1.176 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/1.423, allocations: 0.5727 MB / 1.177 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.425, allocations: 470.7 kB / 1.177 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/1.425, allocations: 24.72 kB / 1.177 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/1.425, allocations: 31.98 kB / 1.177 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/1.427, allocations: 0.5903 MB / 1.178 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/1.427, allocations: 1.375 kB / 1.178 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.427, allocations: 15.98 kB / 1.178 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/1.427, allocations: 24.77 kB / 1.178 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.429, allocations: 0.5027 MB / 1.178 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/1.435, allocations: 2.87 MB / 1.181 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/1.437, allocations: 350.3 kB / 1.182 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/1.437, allocations: 173 kB / 1.182 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.437, allocations: 89.05 kB / 1.182 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.437, allocations: 35.31 kB / 1.182 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 2.825e-06/1.438, allocations: 0 / 1.182 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.01309/1.451, allocations: 2.032 MB / 1.184 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/1.451, allocations: 85.11 kB / 1.184 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/1.452, allocations: 371.5 kB / 1.184 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/1.452, allocations: 33.7 kB / 1.184 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/1.452, allocations: 239.7 kB / 1.184 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.452, allocations: 74.92 kB / 1.185 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/1.452, allocations: 4 kB / 1.185 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.452, allocations: 346.8 kB / 1.185 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006267/1.453, allocations: 247.8 kB / 1.185 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/1.454, allocations: 325.6 kB / 1.185 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/1.454, allocations: 267.1 kB / 1.186 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.454, allocations: 0 / 1.186 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006706/1.461, allocations: 1.152 MB / 1.187 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004642/1.462, allocations: 0.7831 MB / 1.188 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.462, allocations: 4 kB / 1.188 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/1.468, allocations: 0.6375 MB / 1.188 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.469, allocations: 131.8 kB / 1.188 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008835/1.478, allocations: 3.116 MB / 1.191 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.48, allocations: 111.9 kB / 1.191 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/1.48, allocations: 15.98 kB / 1.191 GB, free: 4.719 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.48, allocations: 7.938 kB / 1.191 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/1.493, allocations: 0.8867 MB / 1.192 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.493, allocations: 3.281 kB / 1.192 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008613/1.501, allocations: 404.6 kB / 1.193 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.503, allocations: 139.8 kB / 1.193 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.517, allocations: 2.402 MB / 1.195 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.519, allocations: 99.84 kB / 1.195 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/1.519, allocations: 15.98 kB / 1.195 GB, free: 0.6328 MB / 0.7917 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 () * 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.005354/1.524, allocations: 125 kB / 1.195 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.525, allocations: 39.52 kB / 1.195 GB, free: 476 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.536, allocations: 1.114 MB / 1.197 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/1.536, allocations: 4 kB / 1.197 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.536, allocations: 0 / 1.197 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.536, allocations: 3.984 kB / 1.197 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00888/1.545, allocations: 1.787 MB / 1.198 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.545, allocations: 0 / 1.198 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/1.546, allocations: 91.92 kB / 1.198 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005659/1.552, allocations: 0.6219 MB / 1.199 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/1.552, allocations: 8 kB / 1.199 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/1.563, allocations: 4.38 MB / 1.203 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.563, allocations: 9.188 kB / 1.203 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/1.57, allocations: 1.167 MB / 1.204 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/1.571, allocations: 168.7 kB / 1.205 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.571, allocations: 3.984 kB / 1.205 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.572, allocations: 95.86 kB / 1.205 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.572, allocations: 23.91 kB / 1.205 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/1.572, allocations: 12 kB / 1.205 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007711/1.573, allocations: 302.1 kB / 1.205 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.71e-07/1.573, allocations: 0 / 1.205 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001781/1.575, allocations: 223.9 kB / 1.205 GB, free: 6.051 MB / 0.8073 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 () * 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.0004658/1.575, allocations: 153.8 kB / 1.205 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004661/1.58, allocations: 1.206 MB / 1.207 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.58, allocations: 4.062 kB / 1.207 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/1.582, allocations: 0.57 MB / 1.207 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.584, allocations: 122.8 kB / 1.207 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/1.586, allocations: 0.7567 MB / 1.208 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/1.587, allocations: 0.9213 MB / 1.209 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001705/1.589, allocations: 218.5 kB / 1.209 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/1.589, allocations: 35.42 kB / 1.209 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of SimCode: time 1.432e-06/1.589, allocations: 0 / 1.209 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.03526/1.625, allocations: 12.19 MB / 1.221 GB, free: 5.91 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)