Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.598/1.598, allocations: 297.8 MB / 313.7 MB, free: 168 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008801/0.0008802, allocations: 184.3 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 0.6626 GB, free: 4.293 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007408/0.0007408, allocations: 97.3 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 12.53 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.574, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.7633, allocations: 174.5 MB / 1.197 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.7636, allocations: 93.73 kB / 1.197 GB, free: 3.246 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 9.0.0-master/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 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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 9.0.0-master/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.04762/0.8113, allocations: 19.85 MB / 1.216 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8113, allocations: 0 / 1.216 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.198e-05/0.8114, allocations: 12 kB / 1.216 GB, free: 15.52 MB / 0.7917 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.001285/0.8126, allocations: 0.6557 MB / 1.217 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.8127, allocations: 8.031 kB / 1.217 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.8139, allocations: 160.3 kB / 1.217 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.8145, allocations: 351.4 kB / 1.217 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.8145, allocations: 25.36 kB / 1.217 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.8146, allocations: 32.38 kB / 1.217 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.8155, allocations: 0.5242 MB / 1.218 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8155, allocations: 4.188 kB / 1.218 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.8156, allocations: 16.59 kB / 1.218 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.8156, allocations: 28.64 kB / 1.218 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.8163, allocations: 382.3 kB / 1.218 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.8193, allocations: 2.423 MB / 1.221 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.8198, allocations: 264 kB / 1.221 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.82, allocations: 110.7 kB / 1.221 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.82, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.8201, allocations: 34.56 kB / 1.221 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.8201, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=23): time 0.002131/0.8222, allocations: 1.023 MB / 1.222 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.8223, allocations: 55.41 kB / 1.222 GB, free: 9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.8226, allocations: 304.4 kB / 1.222 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.8226, allocations: 25.7 kB / 1.222 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.8228, allocations: 235.6 kB / 1.223 GB, free: 8.426 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.8228, allocations: 78.77 kB / 1.223 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.8229, allocations: 12 kB / 1.223 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.823, allocations: 346.7 kB / 1.223 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.8232, allocations: 96.61 kB / 1.223 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.8234, allocations: 184.7 kB / 1.223 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.8238, allocations: 315.5 kB / 1.224 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8238, allocations: 4 kB / 1.224 GB, free: 7.328 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007522/0.8246, allocations: 436.2 kB / 1.224 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8246, allocations: 8.938 kB / 1.224 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8246, allocations: 0 / 1.224 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.825, allocations: 96.59 kB / 1.224 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.8253, allocations: 63.91 kB / 1.224 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.8282, allocations: 4.067 MB / 1.228 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.8285, allocations: 18.38 kB / 1.228 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.8285, allocations: 12.94 kB / 1.228 GB, free: 2.227 MB / 0.7917 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.0002255/0.8287, allocations: 181.6 kB / 1.228 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.8288, allocations: 39.55 kB / 1.228 GB, free: 2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.8289, allocations: 38.33 kB / 1.228 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.8289, allocations: 7.984 kB / 1.228 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8289, allocations: 4 kB / 1.228 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8289, allocations: 0 / 1.228 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.8294, allocations: 397.3 kB / 1.229 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8294, allocations: 0 / 1.229 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.8296, allocations: 35.98 kB / 1.229 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.8299, allocations: 95.38 kB / 1.229 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.8299, allocations: 4 kB / 1.229 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.8327, allocations: 4.068 MB / 1.233 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8327, allocations: 0 / 1.233 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.8334, allocations: 0.5522 MB / 1.233 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.8336, allocations: 120.7 kB / 1.234 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.8336, allocations: 11.94 kB / 1.234 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.8338, allocations: 8 kB / 1.234 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.8339, allocations: 29.03 kB / 1.234 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.8339, allocations: 8 kB / 1.234 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001986/0.8341, allocations: 207.9 kB / 1.234 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8341, allocations: 0 / 1.234 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004537/0.8346, allocations: 100 kB / 1.234 GB, free: 11.84 MB / 0.8073 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.0001371/0.8347, allocations: 104.5 kB / 1.234 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.8355, allocations: 0.6071 MB / 1.235 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8355, allocations: 0.6875 kB / 1.235 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.836, allocations: 472 kB / 1.235 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.8365, allocations: 62.86 kB / 1.235 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.8377, allocations: 0.8697 MB / 1.236 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.8381, allocations: 0.8224 MB / 1.237 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.8383, allocations: 65.19 kB / 1.237 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.8384, allocations: 23.44 kB / 1.237 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/0.8384, allocations: 0 / 1.237 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.007825/0.8462, allocations: 4.172 MB / 1.241 GB, free: 4.645 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)