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.689/1.689, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001097/0.001097, allocations: 189.7 kB / 371.9 MB, free: 10.26 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.924/1.924, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001177/0.001177, allocations: 101.4 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004292, allocations: 12.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2524, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7504/1.003, allocations: 170.9 MB / 1.146 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.003, allocations: 91.92 kB / 1.146 GB, free: 10.75 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.04018/1.043, allocations: 17.91 MB / 1.164 GB, free: 12.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.312e-06/1.043, allocations: 0 / 1.164 GB, free: 12.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.384e-05/1.044, allocations: 15.98 kB / 1.164 GB, free: 12.86 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.001493/1.045, allocations: 0.6585 MB / 1.165 GB, free: 12.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.045, allocations: 16.02 kB / 1.165 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/1.046, allocations: 160 kB / 1.165 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008208/1.047, allocations: 350 kB / 1.165 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/1.047, allocations: 24.69 kB / 1.165 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/1.047, allocations: 34.75 kB / 1.165 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/1.048, allocations: 0.5194 MB / 1.166 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/1.048, allocations: 3.938 kB / 1.166 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/1.048, allocations: 14.06 kB / 1.166 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/1.048, allocations: 24.64 kB / 1.166 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/1.049, allocations: 388.1 kB / 1.166 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/1.052, allocations: 2.41 MB / 1.168 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/1.052, allocations: 257.8 kB / 1.169 GB, free: 8.344 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/1.052, allocations: 4 kB / 1.169 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.052, allocations: 33.91 kB / 1.169 GB, free: 8.301 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/1.052, allocations: 4 kB / 1.169 GB, free: 8.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002082/1.054, allocations: 1.035 MB / 1.17 GB, free: 7.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.054, allocations: 55.41 kB / 1.17 GB, free: 7.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/1.055, allocations: 269.1 kB / 1.17 GB, free: 7.094 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.055, allocations: 29.33 kB / 1.17 GB, free: 7.062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/1.055, allocations: 230.3 kB / 1.17 GB, free: 6.871 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/1.055, allocations: 81.78 kB / 1.17 GB, free: 6.801 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/1.055, allocations: 10.69 kB / 1.17 GB, free: 6.797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.055, allocations: 337.4 kB / 1.171 GB, free: 6.469 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/1.055, allocations: 102.9 kB / 1.171 GB, free: 6.398 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/1.056, allocations: 180.8 kB / 1.171 GB, free: 6.227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/1.056, allocations: 134.6 kB / 1.171 GB, free: 6.145 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.056, allocations: 0 / 1.171 GB, free: 6.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007202/1.056, allocations: 441.3 kB / 1.171 GB, free: 5.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.056, allocations: 8 kB / 1.171 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.057, allocations: 4.344 kB / 1.171 GB, free: 5.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/1.057, allocations: 93.28 kB / 1.172 GB, free: 5.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/1.057, allocations: 63.91 kB / 1.172 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/1.06, allocations: 4.109 MB / 1.176 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/1.061, allocations: 10.62 kB / 1.176 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.061, allocations: 11.12 kB / 1.176 GB, free: 1.348 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.0002506/1.061, allocations: 180.2 kB / 1.176 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/1.061, allocations: 31.72 kB / 1.176 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.292e-05/1.061, allocations: 43.38 kB / 1.176 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.061, allocations: 4 kB / 1.176 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.061, allocations: 3.953 kB / 1.176 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.061, allocations: 0 / 1.176 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/1.061, allocations: 398.4 kB / 1.176 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.061, allocations: 3.938 kB / 1.176 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/1.062, allocations: 39.91 kB / 1.176 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/1.062, allocations: 87.52 kB / 1.176 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/1.062, allocations: 3.312 kB / 1.176 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/1.065, allocations: 4.116 MB / 1.18 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.065, allocations: 4.031 kB / 1.18 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/1.066, allocations: 0.5397 MB / 1.181 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/1.066, allocations: 126.4 kB / 1.181 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/1.066, allocations: 11.06 kB / 1.181 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/1.066, allocations: 15.42 kB / 1.181 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/1.066, allocations: 19.05 kB / 1.181 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/1.066, allocations: 7.953 kB / 1.181 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000212/1.066, allocations: 207.5 kB / 1.181 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.066, allocations: 0 / 1.181 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004841/1.067, allocations: 104.4 kB / 1.181 GB, free: 11.49 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.0001484/1.067, allocations: 106.4 kB / 1.182 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008373/1.068, allocations: 0.6124 MB / 1.182 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.068, allocations: 0 / 1.182 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/1.068, allocations: 475.3 kB / 1.183 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/1.069, allocations: 71.27 kB / 1.183 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/1.07, allocations: 0.8497 MB / 1.184 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.07, allocations: 0.8399 MB / 1.184 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002211/1.07, allocations: 62.92 kB / 1.184 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/1.071, allocations: 23.44 kB / 1.184 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of SimCode: time 2.245e-06/1.071, allocations: 0 / 1.184 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.007835/1.078, allocations: 4.12 MB / 1.188 GB, free: 4.477 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)