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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.0009317/0.0009317, allocations: 172.8 kB / 366.7 MB, free: 1.676 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.401/1.401, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.000815/0.0008151, allocations: 90.16 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.489e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.615, allocations: 116.3 MB / 0.9732 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.8321, allocations: 171.2 MB / 1.14 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.8324, allocations: 88.48 kB / 1.14 GB, free: 10.89 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-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.4-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.4-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.4-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.04197/0.8744, allocations: 17.73 MB / 1.158 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8745, allocations: 0 / 1.158 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.8745, allocations: 8 kB / 1.158 GB, free: 9.043 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.0009217/0.8754, allocations: 0.6191 MB / 1.158 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8755, allocations: 8.031 kB / 1.158 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8765, allocations: 156.1 kB / 1.159 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.877, allocations: 338 kB / 1.159 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.877, allocations: 14.75 kB / 1.159 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.8771, allocations: 23.98 kB / 1.159 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005118/0.8776, allocations: 337.4 kB / 1.159 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.8783, allocations: 480 kB / 1.16 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8783, allocations: 0 / 1.16 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.8784, allocations: 0 / 1.16 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.8784, allocations: 24.77 kB / 1.16 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.8808, allocations: 2.333 MB / 1.162 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.8813, allocations: 246.6 kB / 1.162 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.8814, allocations: 103.4 kB / 1.162 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.8815, allocations: 4 kB / 1.162 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.8815, allocations: 38.83 kB / 1.162 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.193e-06/0.8815, allocations: 3.281 kB / 1.162 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001505/0.883, allocations: 0.7846 MB / 1.163 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8831, allocations: 59.41 kB / 1.163 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.8833, allocations: 234.1 kB / 1.163 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8833, allocations: 29.7 kB / 1.163 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.8835, allocations: 231.8 kB / 1.164 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.8836, allocations: 74.84 kB / 1.164 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.8836, allocations: 0 / 1.164 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8837, allocations: 338.8 kB / 1.164 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.8839, allocations: 96.62 kB / 1.164 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.8841, allocations: 167.5 kB / 1.164 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.8843, allocations: 130.7 kB / 1.164 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8843, allocations: 0 / 1.164 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006249/0.8849, allocations: 397.7 kB / 1.165 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.8849, allocations: 8 kB / 1.165 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8849, allocations: 0 / 1.165 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.8853, allocations: 86.73 kB / 1.165 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.8855, allocations: 67.91 kB / 1.165 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.8885, allocations: 3.907 MB / 1.169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.8887, allocations: 7.984 kB / 1.169 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.8888, allocations: 12 kB / 1.169 GB, free: 12.91 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.0001204/0.8889, allocations: 125 kB / 1.169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.889, allocations: 31.62 kB / 1.169 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.889, allocations: 29.95 kB / 1.169 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8891, allocations: 4 kB / 1.169 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8891, allocations: 0 / 1.169 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.8891, allocations: 4 kB / 1.169 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.8895, allocations: 333.9 kB / 1.169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8895, allocations: 3.953 kB / 1.169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.8897, allocations: 39.92 kB / 1.169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.8899, allocations: 86.5 kB / 1.169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.89, allocations: 0 / 1.169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.8926, allocations: 3.894 MB / 1.173 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8926, allocations: 0 / 1.173 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.8933, allocations: 0.5196 MB / 1.174 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.8935, allocations: 127 kB / 1.174 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.8935, allocations: 0 / 1.174 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.8937, allocations: 11.95 kB / 1.174 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.8938, allocations: 19.97 kB / 1.174 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.8938, allocations: 4 kB / 1.174 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001528/0.8939, allocations: 174 kB / 1.174 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8939, allocations: 4.062 kB / 1.174 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004556/0.8944, allocations: 84 kB / 1.174 GB, free: 7.012 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.0001673/0.8946, allocations: 111.2 kB / 1.174 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007313/0.8953, allocations: 0.56 MB / 1.175 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8953, allocations: 0 / 1.175 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.8958, allocations: 441.1 kB / 1.175 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.8962, allocations: 60.23 kB / 1.175 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.897, allocations: 492.3 kB / 1.176 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.8974, allocations: 0.8373 MB / 1.177 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.8976, allocations: 59.23 kB / 1.177 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.8977, allocations: 23.44 kB / 1.177 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of SimCode: time 2.51e-07/0.8977, allocations: 0 / 1.177 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of Templates: time 0.007044/0.9047, allocations: 3.69 MB / 1.18 GB, free: 0.7578 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)