Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 293 MB / 309 MB, free: 4.836 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.001049/0.001049, allocations: 176.6 kB / 378.7 MB, free: 1.023 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.764/1.764, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.0008345/0.0008345, allocations: 95.83 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7613/1.03, allocations: 172 MB / 1.158 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.03, allocations: 93.64 kB / 1.158 GB, free: 8.555 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1-maint.8.1.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.1.1-maint.8.1.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.1.1-maint.8.1.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.1.1-maint.8.1.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.04348/1.074, allocations: 17.93 MB / 1.176 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/1.074, allocations: 0 / 1.176 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.899e-05/1.074, allocations: 12 kB / 1.176 GB, free: 7.406 MB / 0.7448 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.001473/1.075, allocations: 0.6565 MB / 1.177 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.075, allocations: 8.031 kB / 1.177 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.077, allocations: 160.2 kB / 1.177 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/1.077, allocations: 343.5 kB / 1.177 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.077, allocations: 30.38 kB / 1.177 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/1.077, allocations: 32.31 kB / 1.177 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/1.078, allocations: 0.528 MB / 1.178 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.078, allocations: 192 / 1.178 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/1.078, allocations: 15.94 kB / 1.178 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/1.078, allocations: 32.64 kB / 1.178 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/1.079, allocations: 382.3 kB / 1.178 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/1.082, allocations: 2.411 MB / 1.18 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/1.083, allocations: 264.9 kB / 1.181 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/1.083, allocations: 112.8 kB / 1.181 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/1.083, allocations: 0 / 1.181 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.083, allocations: 38.81 kB / 1.181 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/1.083, allocations: 4 kB / 1.181 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002161/1.085, allocations: 1.031 MB / 1.182 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.085, allocations: 55.41 kB / 1.182 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/1.085, allocations: 292.6 kB / 1.182 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/1.085, allocations: 29.7 kB / 1.182 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/1.086, allocations: 223.6 kB / 1.182 GB, free: 332 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/1.086, allocations: 86.73 kB / 1.183 GB, free: 244 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/1.086, allocations: 12 kB / 1.183 GB, free: 232 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.086, allocations: 338.8 kB / 1.183 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.086, allocations: 104.6 kB / 1.183 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/1.086, allocations: 192.4 kB / 1.183 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/1.087, allocations: 310.1 kB / 1.183 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.087, allocations: 0 / 1.183 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00076/1.088, allocations: 433.4 kB / 1.184 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.088, allocations: 4 kB / 1.184 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.088, allocations: 4 kB / 1.184 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/1.088, allocations: 102.6 kB / 1.184 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/1.088, allocations: 63.91 kB / 1.184 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/1.092, allocations: 4.075 MB / 1.188 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/1.092, allocations: 13.11 kB / 1.188 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/1.092, allocations: 12 kB / 1.188 GB, free: 10.11 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 () * 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.0002646/1.092, allocations: 189.5 kB / 1.188 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/1.092, allocations: 27.72 kB / 1.188 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/1.092, allocations: 42.31 kB / 1.188 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.092, allocations: 64 / 1.188 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.092, allocations: 8 kB / 1.188 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.092, allocations: 0 / 1.188 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/1.093, allocations: 401.3 kB / 1.189 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.093, allocations: 0.875 kB / 1.189 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/1.093, allocations: 35.97 kB / 1.189 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/1.093, allocations: 86.45 kB / 1.189 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.093, allocations: 11.98 kB / 1.189 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/1.096, allocations: 4.07 MB / 1.193 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.096, allocations: 1.25 kB / 1.193 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/1.097, allocations: 0.5536 MB / 1.193 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.097, allocations: 124.7 kB / 1.193 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/1.097, allocations: 11.94 kB / 1.193 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/1.098, allocations: 12.05 kB / 1.193 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/1.098, allocations: 23.92 kB / 1.193 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/1.098, allocations: 8 kB / 1.193 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002167/1.098, allocations: 207.1 kB / 1.194 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.194 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005668/1.099, allocations: 100 kB / 1.194 GB, free: 3.715 MB / 0.7605 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.0001822/1.099, allocations: 111.2 kB / 1.194 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008914/1.1, allocations: 0.599 MB / 1.194 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.1, allocations: 8.625 kB / 1.194 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/1.1, allocations: 468 kB / 1.195 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/1.101, allocations: 69.47 kB / 1.195 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/1.102, allocations: 0.8564 MB / 1.196 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.103, allocations: 0.8263 MB / 1.197 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002355/1.103, allocations: 66.86 kB / 1.197 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/1.103, allocations: 27.44 kB / 1.197 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/1.103, allocations: 0 / 1.197 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of Templates: time 0.009031/1.112, allocations: 4.167 MB / 1.201 GB, free: 12.5 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)