Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009463/0.0009464, allocations: 170.7 kB / 327.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.5785 GB, free: 20.42 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007244/0.0007244, allocations: 88.23 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 11.34 kB / 0.7974 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2017, allocations: 106.3 MB / 0.9012 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5695/0.7713, allocations: 173.7 MB / 1.071 GB, free: 154.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.7716, allocations: 104.1 kB / 1.071 GB, free: 154.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1685/0.9401, allocations: 77.93 MB / 1.147 GB, free: 85.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9401, allocations: 0 / 1.147 GB, free: 85.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001123/0.9402, allocations: 40 kB / 1.147 GB, free: 85.72 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003131/0.9434, allocations: 1.737 MB / 1.149 GB, free: 83.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.9434, allocations: 12.03 kB / 1.149 GB, free: 83.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008409/0.9518, allocations: 1.81 MB / 1.151 GB, free: 82.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.954, allocations: 1.191 MB / 1.152 GB, free: 80.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.9541, allocations: 86.33 kB / 1.152 GB, free: 80.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/0.9544, allocations: 119.8 kB / 1.152 GB, free: 80.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.9598, allocations: 2.563 MB / 1.154 GB, free: 77.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.091e-05/0.96, allocations: 7.938 kB / 1.154 GB, free: 77.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.9603, allocations: 56 kB / 1.154 GB, free: 77.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.9604, allocations: 74.2 kB / 1.155 GB, free: 77.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00636/0.9668, allocations: 2.584 MB / 1.157 GB, free: 75.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.9792, allocations: 10.21 MB / 1.167 GB, free: 64.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/0.9842, allocations: 2.003 MB / 1.169 GB, free: 62.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.9864, allocations: 0.998 MB / 1.17 GB, free: 61.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.9864, allocations: 8.438 kB / 1.17 GB, free: 61.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.9865, allocations: 46.94 kB / 1.17 GB, free: 61.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=53): time 2.746e-06/0.9865, allocations: 0 / 1.17 GB, free: 61.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.02605/1.013, allocations: 9.225 MB / 1.179 GB, free: 51.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.013, allocations: 218.2 kB / 1.179 GB, free: 51.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.014, allocations: 1.105 MB / 1.18 GB, free: 50.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/1.014, allocations: 41.7 kB / 1.18 GB, free: 50.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/1.015, allocations: 0.7304 MB / 1.181 GB, free: 49.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.015, allocations: 276 kB / 1.181 GB, free: 49.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/1.015, allocations: 23.94 kB / 1.181 GB, free: 49.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/1.015, allocations: 341.9 kB / 1.182 GB, free: 49.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/1.018, allocations: 1.098 MB / 1.183 GB, free: 48.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/1.02, allocations: 1.34 MB / 1.184 GB, free: 46.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/1.025, allocations: 2.41 MB / 1.186 GB, free: 44.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.025, allocations: 4 kB / 1.186 GB, free: 44.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007024/1.032, allocations: 3.323 MB / 1.19 GB, free: 40.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.032, allocations: 8 kB / 1.19 GB, free: 40.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.032, allocations: 8 kB / 1.19 GB, free: 40.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/1.035, allocations: 0.8656 MB / 1.191 GB, free: 39.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.036, allocations: 415.3 kB / 1.191 GB, free: 39.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.047, allocations: 14.9 MB / 1.205 GB, free: 23.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/1.05, allocations: 307.6 kB / 1.206 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/1.05, allocations: 51.89 kB / 1.206 GB, free: 23.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009948/1.051, allocations: 401.5 kB / 1.206 GB, free: 22.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/1.051, allocations: 146.3 kB / 1.206 GB, free: 22.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/1.058, allocations: 3.273 MB / 1.21 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.058, allocations: 8 kB / 1.21 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/1.058, allocations: 8 kB / 1.21 GB, free: 19.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.058, allocations: 3.984 kB / 1.21 GB, free: 19.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/1.068, allocations: 5.045 MB / 1.214 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.068, allocations: 4 kB / 1.214 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.069, allocations: 367.7 kB / 1.215 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/1.071, allocations: 0.7718 MB / 1.216 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/1.071, allocations: 31.95 kB / 1.216 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/1.082, allocations: 14.53 MB / 1.23 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.082, allocations: 3.938 kB / 1.23 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008086/1.091, allocations: 3.124 MB / 1.233 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008701/1.091, allocations: 395.1 kB / 1.233 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/1.092, allocations: 16 kB / 1.233 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.094, allocations: 307.5 kB / 1.234 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/1.094, allocations: 80.48 kB / 1.234 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-05/1.094, allocations: 39.91 kB / 1.234 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001224/1.095, allocations: 0.7405 MB / 1.234 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.095, allocations: 4 kB / 1.234 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001723/1.097, allocations: 456 kB / 1.235 GB, free: 7.984 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003329/1.097, allocations: 158.9 kB / 1.235 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007639/1.105, allocations: 3.675 MB / 1.239 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.105, allocations: 4.125 kB / 1.239 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004498/1.109, allocations: 2.399 MB / 1.241 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/1.112, allocations: 486.8 kB / 1.241 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008973/1.121, allocations: 4.269 MB / 1.246 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.123, allocations: 1.388 MB / 1.247 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001895/1.125, allocations: 371.9 kB / 1.247 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.125, allocations: 115.3 kB / 1.247 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/1.125, allocations: 0 / 1.247 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.04788/1.173, allocations: 29.54 MB / 1.276 GB, free: 13.62 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)