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.6/1.6, allocations: 285.4 MB / 298 MB, free: 5.98 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.0009949/0.000995, allocations: 172.9 kB / 366.4 MB, free: 2.102 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.432/1.432, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008013/0.0008013, allocations: 100.5 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.761e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6005, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.8151, allocations: 170.8 MB / 1.138 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.8154, allocations: 92.91 kB / 1.138 GB, free: 12.8 MB / 0.7448 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.04601/0.8614, allocations: 17.81 MB / 1.155 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8615, allocations: 0 / 1.155 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.8615, allocations: 12 kB / 1.155 GB, free: 10.91 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.001401/0.8629, allocations: 0.6152 MB / 1.156 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.863, allocations: 8.031 kB / 1.156 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.8642, allocations: 156.1 kB / 1.156 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.8649, allocations: 346 kB / 1.156 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.8649, allocations: 28.77 kB / 1.156 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.865, allocations: 28 kB / 1.156 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.866, allocations: 0.5199 MB / 1.157 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.866, allocations: 0 / 1.157 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.8661, allocations: 12 kB / 1.157 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.8661, allocations: 28.77 kB / 1.157 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.8668, allocations: 378.8 kB / 1.157 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.8696, allocations: 2.416 MB / 1.16 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.8701, allocations: 256.2 kB / 1.16 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.8703, allocations: 108.8 kB / 1.16 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.8704, allocations: 352 / 1.16 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.8704, allocations: 50.5 kB / 1.16 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.8704, allocations: 0 / 1.16 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002097/0.8725, allocations: 0.852 MB / 1.161 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.8726, allocations: 55.41 kB / 1.161 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.8729, allocations: 266.6 kB / 1.161 GB, free: 4.383 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.873, allocations: 36.42 kB / 1.161 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.8731, allocations: 227.6 kB / 1.161 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/0.8732, allocations: 82.84 kB / 1.161 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.8733, allocations: 8 kB / 1.161 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8734, allocations: 342.8 kB / 1.162 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.8736, allocations: 96.62 kB / 1.162 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.8739, allocations: 175.8 kB / 1.162 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.8742, allocations: 135.1 kB / 1.162 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8742, allocations: 4 kB / 1.162 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009102/0.8751, allocations: 433.5 kB / 1.163 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.8751, allocations: 8.344 kB / 1.163 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8752, allocations: 8 kB / 1.163 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.8756, allocations: 87.39 kB / 1.163 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.876, allocations: 67.89 kB / 1.163 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.8796, allocations: 4.063 MB / 1.167 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.8798, allocations: 15.97 kB / 1.167 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.8798, allocations: 12 kB / 1.167 GB, free: 14.14 MB / 0.7761 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.0001075/0.88, allocations: 126.3 kB / 1.167 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.88, allocations: 31.62 kB / 1.167 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.8801, allocations: 42.09 kB / 1.167 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8802, allocations: 4 kB / 1.167 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.8802, allocations: 3.953 kB / 1.167 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8802, allocations: 0 / 1.167 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.8807, allocations: 397.4 kB / 1.167 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8807, allocations: 0 / 1.167 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.8809, allocations: 39.97 kB / 1.167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.8812, allocations: 94.48 kB / 1.167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.8812, allocations: 5.688 kB / 1.167 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.8841, allocations: 4.064 MB / 1.171 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8841, allocations: 3.844 kB / 1.171 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.8849, allocations: 0.5365 MB / 1.172 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.8851, allocations: 128.8 kB / 1.172 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.8852, allocations: 8.156 kB / 1.172 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.8854, allocations: 19.84 kB / 1.172 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.8854, allocations: 19.97 kB / 1.172 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.8854, allocations: 4 kB / 1.172 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002056/0.8857, allocations: 214.1 kB / 1.172 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8857, allocations: 0 / 1.172 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004699/0.8861, allocations: 96 kB / 1.172 GB, free: 7.832 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.0001457/0.8863, allocations: 107.2 kB / 1.173 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.8871, allocations: 0.5982 MB / 1.173 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8871, allocations: 0 / 1.173 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.8876, allocations: 470 kB / 1.174 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.888, allocations: 75.11 kB / 1.174 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.8889, allocations: 498.8 kB / 1.174 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.8894, allocations: 0.838 MB / 1.175 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.8896, allocations: 62.92 kB / 1.175 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.8897, allocations: 23.44 kB / 1.175 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.8897, allocations: 0 / 1.175 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of Templates: time 0.00852/0.8982, allocations: 4.13 MB / 1.179 GB, free: 1.047 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)