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.934/2.934, allocations: 287.5 MB / 302.5 MB, free: 8.312 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.001454/0.001454, allocations: 179.9 kB / 371 MB, free: 10.79 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.154/2.154, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001117, allocations: 90.86 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006552, allocations: 17.03 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2224, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.996/1.218, allocations: 181.8 MB / 1.156 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/1.219, allocations: 97.75 kB / 1.156 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1214/1.34, allocations: 28.8 MB / 1.184 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.34, allocations: 0 / 1.184 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.247e-05/1.34, allocations: 11.94 kB / 1.184 GB, free: 9.676 MB / 0.7136 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.002059/1.342, allocations: 0.7418 MB / 1.185 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.343, allocations: 12.03 kB / 1.185 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/1.347, allocations: 0.5719 MB / 1.185 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.349, allocations: 481 kB / 1.186 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/1.349, allocations: 22.03 kB / 1.186 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.349, allocations: 29.5 kB / 1.186 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/1.352, allocations: 0.7675 MB / 1.187 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/1.352, allocations: 0 / 1.187 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/1.352, allocations: 18.48 kB / 1.187 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/1.352, allocations: 20.66 kB / 1.187 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/1.356, allocations: 0.8531 MB / 1.188 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007036/1.363, allocations: 2.866 MB / 1.19 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/1.366, allocations: 0.5168 MB / 1.191 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/1.367, allocations: 85.09 kB / 1.191 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.367, allocations: 41.88 kB / 1.191 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.986e-06/1.367, allocations: 7.875 kB / 1.191 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0185/1.385, allocations: 2.943 MB / 1.194 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/1.385, allocations: 92.59 kB / 1.194 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/1.386, allocations: 378.1 kB / 1.194 GB, free: 232 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.386, allocations: 28.89 kB / 1.194 GB, free: 200 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.387, allocations: 229.5 kB / 1.195 GB, free: 20 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/1.387, allocations: 89.78 kB / 1.195 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/1.387, allocations: 3.312 kB / 1.195 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.387, allocations: 352.8 kB / 1.195 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.389, allocations: 361.9 kB / 1.195 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/1.39, allocations: 441.1 kB / 1.196 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.392, allocations: 394.5 kB / 1.196 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.392, allocations: 3.938 kB / 1.196 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01067/1.403, allocations: 1.409 MB / 1.197 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004217/1.404, allocations: 0.7796 MB / 1.198 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.404, allocations: 8 kB / 1.198 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005625/1.409, allocations: 0.6976 MB / 1.199 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.41, allocations: 135.5 kB / 1.199 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/1.418, allocations: 3.258 MB / 1.202 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.419, allocations: 109.1 kB / 1.202 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.419, allocations: 23.23 kB / 1.202 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.419, allocations: 5.719 kB / 1.202 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006749/1.426, allocations: 1.146 MB / 1.204 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.426, allocations: 4 kB / 1.204 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/1.43, allocations: 464.3 kB / 1.204 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.431, allocations: 151.7 kB / 1.204 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/1.437, allocations: 2.519 MB / 1.207 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.439, allocations: 107.2 kB / 1.207 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/1.439, allocations: 15.98 kB / 1.207 GB, free: 4.977 MB / 0.7292 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.0005986/1.439, allocations: 316.5 kB / 1.207 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/1.439, allocations: 39.48 kB / 1.207 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007356/1.447, allocations: 1.319 MB / 1.208 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.447, allocations: 4 kB / 1.208 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.447, allocations: 0 / 1.208 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.447, allocations: 7.922 kB / 1.208 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008741/1.456, allocations: 1.979 MB / 1.21 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.456, allocations: 288 / 1.21 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/1.456, allocations: 87.83 kB / 1.21 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005427/1.462, allocations: 0.6948 MB / 1.211 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/1.462, allocations: 4 kB / 1.211 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009864/1.472, allocations: 4.571 MB / 1.215 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.472, allocations: 7.938 kB / 1.215 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/1.479, allocations: 1.369 MB / 1.217 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/1.48, allocations: 173.5 kB / 1.217 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.48, allocations: 7.25 kB / 1.217 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.481, allocations: 91.48 kB / 1.217 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.481, allocations: 23.34 kB / 1.217 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/1.481, allocations: 7.984 kB / 1.217 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005981/1.482, allocations: 311.7 kB / 1.217 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.482, allocations: 4 kB / 1.217 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001306/1.483, allocations: 218.3 kB / 1.218 GB, free: 11.09 MB / 0.7448 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.0003923/1.483, allocations: 160.9 kB / 1.218 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006403/1.49, allocations: 1.506 MB / 1.219 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.49, allocations: 0 / 1.219 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.492, allocations: 0.6693 MB / 1.22 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.493, allocations: 121.8 kB / 1.22 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/1.497, allocations: 1.212 MB / 1.221 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/1.497, allocations: 0.9183 MB / 1.222 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001041/1.498, allocations: 147.2 kB / 1.222 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/1.499, allocations: 38.78 kB / 1.222 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/1.499, allocations: 0 / 1.222 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.03199/1.531, allocations: 11.78 MB / 1.234 GB, free: 11.09 MB / 0.7605 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)