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.648/1.648, allocations: 288.4 MB / 304.3 MB, free: 8.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.001913/0.001913, allocations: 180.5 kB / 373 MB, free: 10.16 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.741/1.741, allocations: 205.4 MB / 0.6317 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007119/0.0007122, allocations: 86.38 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 11.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.194, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/0.8549, allocations: 171 MB / 1.148 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.8552, allocations: 96.91 kB / 1.148 GB, free: 10.74 MB / 0.6823 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.03992/0.8951, allocations: 17.92 MB / 1.165 GB, free: 12.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8952, allocations: 0 / 1.165 GB, free: 12.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.8952, allocations: 12 kB / 1.165 GB, free: 12.5 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001046/0.8962, allocations: 0.6529 MB / 1.166 GB, free: 11.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8963, allocations: 8.031 kB / 1.166 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.8974, allocations: 168.2 kB / 1.166 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.8979, allocations: 351.5 kB / 1.166 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.8979, allocations: 20.19 kB / 1.166 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.898, allocations: 34.62 kB / 1.166 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.8988, allocations: 0.5245 MB / 1.167 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.8988, allocations: 192 / 1.167 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.8989, allocations: 18.88 kB / 1.167 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.8989, allocations: 24.64 kB / 1.167 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.8995, allocations: 383.9 kB / 1.167 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.902, allocations: 2.415 MB / 1.17 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.9025, allocations: 260.5 kB / 1.17 GB, free: 7.992 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.9026, allocations: 108.9 kB / 1.17 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.9026, allocations: 4 kB / 1.17 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.9027, allocations: 34.52 kB / 1.17 GB, free: 7.875 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.9027, allocations: 4 kB / 1.17 GB, free: 7.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001979/0.9047, allocations: 1.037 MB / 1.171 GB, free: 6.949 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.9047, allocations: 55.41 kB / 1.171 GB, free: 6.883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.905, allocations: 290.9 kB / 1.171 GB, free: 6.648 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.905, allocations: 35.27 kB / 1.172 GB, free: 6.613 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.9052, allocations: 222.4 kB / 1.172 GB, free: 6.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.9052, allocations: 89.44 kB / 1.172 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.9053, allocations: 3.5 kB / 1.172 GB, free: 6.352 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9054, allocations: 348.4 kB / 1.172 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.9056, allocations: 105.7 kB / 1.172 GB, free: 5.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.9058, allocations: 185.5 kB / 1.172 GB, free: 5.766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.9062, allocations: 317.5 kB / 1.173 GB, free: 5.516 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9062, allocations: 0 / 1.173 GB, free: 5.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000678/0.9068, allocations: 428.6 kB / 1.173 GB, free: 5.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.9069, allocations: 11.94 kB / 1.173 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.907, allocations: 4 kB / 1.173 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.9073, allocations: 93.19 kB / 1.173 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.9076, allocations: 63.59 kB / 1.173 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.9107, allocations: 4.08 MB / 1.177 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.911, allocations: 11.31 kB / 1.177 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.911, allocations: 15.23 kB / 1.177 GB, free: 0.7344 MB / 0.698 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 () * Number of clocked 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.0002611/0.9113, allocations: 189 kB / 1.177 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.9113, allocations: 23.72 kB / 1.178 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.9114, allocations: 42.25 kB / 1.178 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9114, allocations: 8.094 kB / 1.178 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.9114, allocations: 0 / 1.178 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9114, allocations: 0 / 1.178 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.9119, allocations: 398.7 kB / 1.178 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9119, allocations: 4 kB / 1.178 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.9121, allocations: 35.47 kB / 1.178 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.9124, allocations: 92.02 kB / 1.178 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.9125, allocations: 3.984 kB / 1.178 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.9156, allocations: 4.079 MB / 1.182 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9156, allocations: 0 / 1.182 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.9165, allocations: 0.5592 MB / 1.183 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.9166, allocations: 124.5 kB / 1.183 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.9167, allocations: 7.75 kB / 1.183 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.9169, allocations: 15.8 kB / 1.183 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.917, allocations: 19.92 kB / 1.183 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.917, allocations: 7.938 kB / 1.183 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002141/0.9172, allocations: 206.1 kB / 1.183 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9172, allocations: 0 / 1.183 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004902/0.9177, allocations: 102 kB / 1.183 GB, free: 10.89 MB / 0.7136 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 () * Number of clocked 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.0001598/0.9179, allocations: 104.5 kB / 1.183 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008896/0.9188, allocations: 0.6038 MB / 1.184 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9188, allocations: 4.672 kB / 1.184 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.9193, allocations: 477.3 kB / 1.184 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.9199, allocations: 71.47 kB / 1.184 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.9212, allocations: 0.8536 MB / 1.185 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.9217, allocations: 0.8309 MB / 1.186 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002412/0.9219, allocations: 66.86 kB / 1.186 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.922, allocations: 23.44 kB / 1.186 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.922, allocations: 0 / 1.186 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of Templates: time 0.008517/0.9305, allocations: 4.17 MB / 1.19 GB, free: 3.832 MB / 0.7136 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)