Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001065/0.001066, allocations: 178 kB / 371.6 MB, free: 3.375 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.409/1.409, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0008377/0.0008377, allocations: 89.2 kB / 0.745 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.498e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3083, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7609/1.069, allocations: 164.9 MB / 1.141 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.07, allocations: 89.03 kB / 1.141 GB, free: 26.12 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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);. Notification: Performance of FrontEnd - DAE generated: time 0.02704/1.097, allocations: 11.29 MB / 1.152 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.264e-06/1.097, allocations: 0.5625 kB / 1.152 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.81e-05/1.097, allocations: 7.984 kB / 1.152 GB, free: 20.29 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000627/1.097, allocations: 470.9 kB / 1.152 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.097, allocations: 8.688 kB / 1.152 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006509/1.098, allocations: 83.02 kB / 1.152 GB, free: 19.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/1.098, allocations: 241 kB / 1.153 GB, free: 19.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/1.098, allocations: 23.59 kB / 1.153 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/1.098, allocations: 16.34 kB / 1.153 GB, free: 19.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/1.099, allocations: 284.7 kB / 1.153 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.099, allocations: 0 / 1.153 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/1.099, allocations: 6.125 kB / 1.153 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.099, allocations: 18.94 kB / 1.153 GB, free: 19.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/1.099, allocations: 189.7 kB / 1.153 GB, free: 19.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.101, allocations: 1.471 MB / 1.155 GB, free: 17.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/1.101, allocations: 172.9 kB / 1.155 GB, free: 17.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/1.101, allocations: 30.52 kB / 1.155 GB, free: 17.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/1.101, allocations: 4 kB / 1.155 GB, free: 17.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/1.101, allocations: 38.41 kB / 1.155 GB, free: 17.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.101, allocations: 0.8438 kB / 1.155 GB, free: 17.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002704/1.101, allocations: 109.6 kB / 1.155 GB, free: 17.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/1.101, allocations: 56.05 kB / 1.155 GB, free: 17.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/1.101, allocations: 178.5 kB / 1.155 GB, free: 17.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.102, allocations: 30.08 kB / 1.155 GB, free: 17.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/1.102, allocations: 171.3 kB / 1.155 GB, free: 17.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/1.102, allocations: 25.84 kB / 1.155 GB, free: 17.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.102, allocations: 0 / 1.155 GB, free: 17.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/1.102, allocations: 331 kB / 1.156 GB, free: 16.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/1.102, allocations: 34.27 kB / 1.156 GB, free: 16.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/1.102, allocations: 98 kB / 1.156 GB, free: 16.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/1.102, allocations: 48.72 kB / 1.156 GB, free: 16.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.102, allocations: 7.938 kB / 1.156 GB, free: 16.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002473/1.102, allocations: 188.8 kB / 1.156 GB, free: 16.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.102, allocations: 5.406 kB / 1.156 GB, free: 16.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.102, allocations: 4.703 kB / 1.156 GB, free: 16.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/1.102, allocations: 25.08 kB / 1.156 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/1.102, allocations: 30.16 kB / 1.156 GB, free: 16.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007401/1.103, allocations: 1.318 MB / 1.157 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/1.103, allocations: 19.38 kB / 1.158 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/1.103, allocations: 5.938 kB / 1.158 GB, free: 14.96 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/1.103, allocations: 114.3 kB / 1.158 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/1.103, allocations: 20.02 kB / 1.158 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/1.103, allocations: 18.16 kB / 1.158 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/1.103, allocations: 0 / 1.158 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.103, allocations: 4.797 kB / 1.158 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.104, allocations: 8 kB / 1.158 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/1.104, allocations: 434.6 kB / 1.158 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.104, allocations: 0 / 1.158 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/1.104, allocations: 14.12 kB / 1.158 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/1.104, allocations: 25.5 kB / 1.158 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.104, allocations: 0.6562 kB / 1.158 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006208/1.105, allocations: 1.313 MB / 1.159 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.105, allocations: 1.641 kB / 1.159 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/1.105, allocations: 214.5 kB / 1.16 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/1.105, allocations: 99.39 kB / 1.16 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/1.105, allocations: 0.75 kB / 1.16 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.105, allocations: 5.344 kB / 1.16 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/1.105, allocations: 6.234 kB / 1.16 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.105, allocations: 4 kB / 1.16 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.392e-05/1.105, allocations: 147.4 kB / 1.16 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.105, allocations: 0 / 1.16 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002823/1.106, allocations: 55.34 kB / 1.16 GB, free: 12.55 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.394e-05/1.106, allocations: 99.58 kB / 1.16 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002882/1.106, allocations: 203.2 kB / 1.16 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.106, allocations: 4.062 kB / 1.16 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.106, allocations: 148.5 kB / 1.16 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/1.106, allocations: 33.67 kB / 1.16 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/1.107, allocations: 219.2 kB / 1.161 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/1.107, allocations: 0.754 MB / 1.161 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.356e-05/1.107, allocations: 28.12 kB / 1.161 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/1.107, allocations: 15.44 kB / 1.161 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.107, allocations: 0 / 1.161 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.004028/1.111, allocations: 1.636 MB / 1.163 GB, free: 10.23 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)