Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.00102/0.00102, allocations: 181.2 kB / 371.6 MB, free: 3.434 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.433/1.433, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008613/0.0008613, allocations: 93.64 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.637e-05, allocations: 0 / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.244, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.767/1.011, allocations: 171.8 MB / 1.148 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.011, allocations: 85.59 kB / 1.148 GB, free: 21.07 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04058/1.052, allocations: 17.8 MB / 1.165 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/1.052, allocations: 0 / 1.165 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.052, allocations: 15.94 kB / 1.165 GB, free: 11.81 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.000849/1.053, allocations: 0.6217 MB / 1.166 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.053, allocations: 8.031 kB / 1.166 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.054, allocations: 155.8 kB / 1.166 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/1.054, allocations: 340.8 kB / 1.166 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.054, allocations: 22.03 kB / 1.166 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/1.055, allocations: 38.73 kB / 1.166 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/1.055, allocations: 0.5155 MB / 1.167 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.055, allocations: 0 / 1.167 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/1.055, allocations: 15.38 kB / 1.167 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/1.055, allocations: 28.62 kB / 1.167 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/1.056, allocations: 374.8 kB / 1.167 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/1.058, allocations: 2.419 MB / 1.169 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/1.058, allocations: 256.8 kB / 1.17 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.058, allocations: 107 kB / 1.17 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/1.059, allocations: 4.344 kB / 1.17 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/1.059, allocations: 43.53 kB / 1.17 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/1.059, allocations: 4 kB / 1.17 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001551/1.06, allocations: 0.8482 MB / 1.171 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.06, allocations: 55.41 kB / 1.171 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/1.06, allocations: 269.8 kB / 1.171 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/1.06, allocations: 32.83 kB / 1.171 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/1.061, allocations: 222.3 kB / 1.171 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/1.061, allocations: 87.52 kB / 1.171 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/1.061, allocations: 3.812 kB / 1.171 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/1.061, allocations: 337.2 kB / 1.172 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/1.061, allocations: 99.19 kB / 1.172 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/1.061, allocations: 190 kB / 1.172 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/1.061, allocations: 130.3 kB / 1.172 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.061, allocations: 0 / 1.172 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006224/1.062, allocations: 433.2 kB / 1.172 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.062, allocations: 8 kB / 1.172 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.062, allocations: 4 kB / 1.172 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/1.062, allocations: 98.66 kB / 1.173 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/1.062, allocations: 67.09 kB / 1.173 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/1.064, allocations: 4.057 MB / 1.177 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.065, allocations: 15.03 kB / 1.177 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/1.065, allocations: 12.94 kB / 1.177 GB, free: 1.035 MB / 0.7448 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/1.065, allocations: 123.7 kB / 1.177 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/1.065, allocations: 35.56 kB / 1.177 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/1.065, allocations: 38.97 kB / 1.177 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.065, allocations: 4 kB / 1.177 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.065, allocations: 3.953 kB / 1.177 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.065, allocations: 11.92 kB / 1.177 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/1.066, allocations: 401.4 kB / 1.177 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.066, allocations: 0 / 1.177 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/1.066, allocations: 31.98 kB / 1.177 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/1.066, allocations: 92.39 kB / 1.177 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.066, allocations: 7.062 kB / 1.177 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/1.069, allocations: 4.063 MB / 1.181 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.069, allocations: 0 / 1.181 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/1.07, allocations: 0.5429 MB / 1.182 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/1.07, allocations: 123.3 kB / 1.182 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/1.07, allocations: 8 kB / 1.182 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/1.07, allocations: 15.55 kB / 1.182 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/1.07, allocations: 15.61 kB / 1.182 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/1.07, allocations: 19.23 kB / 1.182 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000202/1.07, allocations: 206.3 kB / 1.182 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.21e-07/1.07, allocations: 0 / 1.182 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004877/1.071, allocations: 102.9 kB / 1.182 GB, free: 11.23 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/1.071, allocations: 110.7 kB / 1.182 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007825/1.072, allocations: 0.5932 MB / 1.183 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.072, allocations: 0 / 1.183 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004479/1.072, allocations: 470.3 kB / 1.183 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/1.073, allocations: 65.52 kB / 1.184 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/1.074, allocations: 0.4956 MB / 1.184 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/1.074, allocations: 0.8456 MB / 1.185 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002242/1.074, allocations: 64.25 kB / 1.185 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/1.074, allocations: 27.38 kB / 1.185 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of SimCode: time 3.41e-07/1.074, allocations: 0 / 1.185 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of Templates: time 0.008073/1.082, allocations: 4.126 MB / 1.189 GB, free: 4.609 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)