Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001103/0.001103, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.552/1.552, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008766/0.0008766, allocations: 92.03 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.705e-05, allocations: 0 / 0.8517 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6937, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.9004, allocations: 170.2 MB / 1.131 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.9007, allocations: 92.69 kB / 1.131 GB, free: 1.5 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.041/0.9417, allocations: 17.71 MB / 1.148 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9417, allocations: 0 / 1.148 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.9417, allocations: 16 kB / 1.148 GB, free: 15.67 MB / 0.7605 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.001065/0.9428, allocations: 0.623 MB / 1.149 GB, free: 15 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.9429, allocations: 8.031 kB / 1.149 GB, free: 15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.944, allocations: 159.4 kB / 1.149 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.9445, allocations: 342 kB / 1.149 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.9446, allocations: 12 kB / 1.149 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.9446, allocations: 20 kB / 1.149 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005602/0.9452, allocations: 341.4 kB / 1.149 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.9459, allocations: 468.1 kB / 1.15 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9459, allocations: 0 / 1.15 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.946, allocations: 0 / 1.15 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.946, allocations: 28.77 kB / 1.15 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.9484, allocations: 2.341 MB / 1.152 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.9489, allocations: 254.9 kB / 1.152 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.9491, allocations: 100.8 kB / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.9491, allocations: 4 kB / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.9491, allocations: 30.91 kB / 1.153 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.9491, allocations: 4 kB / 1.153 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001475/0.9506, allocations: 0.7866 MB / 1.153 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.9507, allocations: 59.41 kB / 1.153 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.9509, allocations: 234.1 kB / 1.154 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.9509, allocations: 25.7 kB / 1.154 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.9511, allocations: 231.9 kB / 1.154 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.9511, allocations: 74.84 kB / 1.154 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.9512, allocations: 0 / 1.154 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9513, allocations: 338.8 kB / 1.154 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.9514, allocations: 92.62 kB / 1.154 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.9516, allocations: 175.5 kB / 1.154 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.9518, allocations: 123.2 kB / 1.155 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9518, allocations: 0 / 1.155 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006332/0.9525, allocations: 397.8 kB / 1.155 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9525, allocations: 8 kB / 1.155 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9525, allocations: 3.25 kB / 1.155 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/0.9529, allocations: 94.72 kB / 1.155 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.9531, allocations: 67.84 kB / 1.155 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.956, allocations: 3.894 MB / 1.159 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.9562, allocations: 4 kB / 1.159 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.9562, allocations: 16.16 kB / 1.159 GB, free: 3.555 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 (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 0.0001069/0.9564, allocations: 116.8 kB / 1.159 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.9564, allocations: 31.62 kB / 1.159 GB, free: 3.402 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.9565, allocations: 33.95 kB / 1.159 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.9565, allocations: 4 kB / 1.159 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.9565, allocations: 0 / 1.159 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9565, allocations: 11.92 kB / 1.159 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.9569, allocations: 336.8 kB / 1.159 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.957, allocations: 3.953 kB / 1.159 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.9571, allocations: 35.97 kB / 1.16 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.9574, allocations: 86.59 kB / 1.16 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.9575, allocations: 4 kB / 1.16 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.9605, allocations: 3.896 MB / 1.163 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9605, allocations: 0 / 1.163 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.9613, allocations: 0.5195 MB / 1.164 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.9614, allocations: 124.7 kB / 1.164 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.9615, allocations: 2.75 kB / 1.164 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.9617, allocations: 15.94 kB / 1.164 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.9617, allocations: 15.98 kB / 1.164 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.9617, allocations: 9.75 kB / 1.164 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001774/0.9619, allocations: 178 kB / 1.164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9619, allocations: 0 / 1.164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004936/0.9624, allocations: 84 kB / 1.164 GB, free: 13.64 MB / 0.7761 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.0001663/0.9626, allocations: 107 kB / 1.164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007908/0.9634, allocations: 0.568 MB / 1.165 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.9634, allocations: 0 / 1.165 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.9639, allocations: 441.4 kB / 1.165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.9643, allocations: 58.28 kB / 1.165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.9653, allocations: 499.9 kB / 1.166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.9658, allocations: 0.8344 MB / 1.167 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.966, allocations: 55.23 kB / 1.167 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.9661, allocations: 23.44 kB / 1.167 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of SimCode: time 2.7e-07/0.9661, allocations: 4 kB / 1.167 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.007551/0.9737, allocations: 3.68 MB / 1.17 GB, free: 7.387 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)