Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.488/2.488, allocations: 287.5 MB / 303.2 MB, free: 8.363 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.001329/0.001329, allocations: 190.6 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009284/0.0009281, allocations: 96.39 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004679, allocations: 11.19 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9442/1.157, allocations: 170.8 MB / 1.146 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/1.157, allocations: 98.64 kB / 1.146 GB, free: 11.2 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.0/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.06525/1.222, allocations: 17.91 MB / 1.164 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/1.222, allocations: 4 kB / 1.164 GB, free: 14.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.553e-05/1.222, allocations: 12 kB / 1.164 GB, free: 14.04 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.001629/1.224, allocations: 0.6566 MB / 1.164 GB, free: 13.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.224, allocations: 12.03 kB / 1.164 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/1.226, allocations: 155.6 kB / 1.164 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/1.227, allocations: 345.5 kB / 1.165 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.227, allocations: 27.88 kB / 1.165 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.227, allocations: 38.05 kB / 1.165 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/1.228, allocations: 0.5198 MB / 1.165 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.229, allocations: 192 / 1.165 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/1.229, allocations: 24.92 kB / 1.165 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/1.229, allocations: 27.83 kB / 1.165 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/1.23, allocations: 381 kB / 1.166 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/1.234, allocations: 2.413 MB / 1.168 GB, free: 9.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/1.235, allocations: 265.5 kB / 1.168 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/1.235, allocations: 106.8 kB / 1.168 GB, free: 9.449 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/1.235, allocations: 4 kB / 1.168 GB, free: 9.445 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.235, allocations: 33.5 kB / 1.169 GB, free: 9.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/1.235, allocations: 4 kB / 1.169 GB, free: 9.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.003371/1.239, allocations: 1.038 MB / 1.17 GB, free: 8.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/1.239, allocations: 51.41 kB / 1.17 GB, free: 8.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/1.239, allocations: 297.1 kB / 1.17 GB, free: 8.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/1.239, allocations: 29.27 kB / 1.17 GB, free: 8.148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/1.24, allocations: 224.4 kB / 1.17 GB, free: 7.961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/1.24, allocations: 92.42 kB / 1.17 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/1.24, allocations: 3.375 kB / 1.17 GB, free: 7.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.24, allocations: 348.4 kB / 1.171 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/1.24, allocations: 101.3 kB / 1.171 GB, free: 7.477 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/1.241, allocations: 185 kB / 1.171 GB, free: 7.301 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/1.241, allocations: 317.9 kB / 1.171 GB, free: 7.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/1.241, allocations: 0 / 1.171 GB, free: 7.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001359/1.243, allocations: 435.2 kB / 1.172 GB, free: 6.711 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.243, allocations: 4 kB / 1.172 GB, free: 6.707 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.243, allocations: 4 kB / 1.172 GB, free: 6.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/1.243, allocations: 96.66 kB / 1.172 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/1.244, allocations: 59.91 kB / 1.172 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004724/1.249, allocations: 4.08 MB / 1.176 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/1.249, allocations: 11.38 kB / 1.176 GB, free: 2.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/1.249, allocations: 19.52 kB / 1.176 GB, free: 2.266 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.0004096/1.25, allocations: 192 kB / 1.176 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/1.25, allocations: 27.72 kB / 1.176 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/1.25, allocations: 38.69 kB / 1.176 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.25, allocations: 0 / 1.176 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/1.25, allocations: 4 kB / 1.176 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.25, allocations: 144 / 1.176 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/1.251, allocations: 410.1 kB / 1.176 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.251, allocations: 0 / 1.176 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/1.251, allocations: 35.91 kB / 1.176 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/1.252, allocations: 84.58 kB / 1.176 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/1.252, allocations: 6.984 kB / 1.176 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/1.256, allocations: 4.066 MB / 1.18 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.256, allocations: 0 / 1.18 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/1.257, allocations: 0.5558 MB / 1.181 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/1.258, allocations: 125.7 kB / 1.181 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/1.258, allocations: 7.5 kB / 1.181 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.258, allocations: 15.67 kB / 1.181 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/1.258, allocations: 19.3 kB / 1.181 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.258, allocations: 8.062 kB / 1.181 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003461/1.259, allocations: 214.5 kB / 1.181 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.259, allocations: 0 / 1.181 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007615/1.259, allocations: 98.44 kB / 1.181 GB, free: 12.43 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.0001915/1.26, allocations: 102.8 kB / 1.182 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.261, allocations: 0.6059 MB / 1.182 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.261, allocations: 0 / 1.182 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/1.262, allocations: 476.1 kB / 1.183 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/1.263, allocations: 65.17 kB / 1.183 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/1.265, allocations: 0.8692 MB / 1.184 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/1.265, allocations: 0.8324 MB / 1.184 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004301/1.266, allocations: 58.94 kB / 1.184 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/1.266, allocations: 19.44 kB / 1.184 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/1.266, allocations: 0 / 1.184 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of Templates: time 0.01381/1.28, allocations: 4.123 MB / 1.188 GB, free: 5.422 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)