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.512/1.512, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001516/0.001516, allocations: 172.8 kB / 366.7 MB, free: 1.637 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.346/1.346, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008628/0.0008627, allocations: 86.39 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.325e-05/1.328e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5823, allocations: 116.3 MB / 0.9732 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.7747, allocations: 164.3 MB / 1.134 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.775, allocations: 88.73 kB / 1.134 GB, free: 1.82 MB / 0.7292 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.02473/0.7998, allocations: 11.25 MB / 1.145 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7998, allocations: 0 / 1.145 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.7998, allocations: 8 kB / 1.145 GB, free: 6.512 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.0005361/0.8004, allocations: 472.2 kB / 1.145 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.8004, allocations: 8.031 kB / 1.145 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.801, allocations: 79.64 kB / 1.145 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.8013, allocations: 242.7 kB / 1.145 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.8013, allocations: 8 kB / 1.146 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.8014, allocations: 11.98 kB / 1.146 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002693/0.8016, allocations: 172.7 kB / 1.146 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.802, allocations: 258.7 kB / 1.146 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.802, allocations: 0 / 1.146 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.8021, allocations: 4 kB / 1.146 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.8021, allocations: 20.3 kB / 1.146 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.8034, allocations: 1.411 MB / 1.147 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.8036, allocations: 168.3 kB / 1.147 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.8037, allocations: 32.89 kB / 1.148 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.8037, allocations: 3.984 kB / 1.148 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.8037, allocations: 38.5 kB / 1.148 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.8037, allocations: 4 kB / 1.148 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000245/0.804, allocations: 98.38 kB / 1.148 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.804, allocations: 51.41 kB / 1.148 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8042, allocations: 158 kB / 1.148 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.8042, allocations: 25.7 kB / 1.148 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.8043, allocations: 171.7 kB / 1.148 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.8043, allocations: 19.66 kB / 1.148 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.8043, allocations: 0 / 1.148 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8044, allocations: 334.8 kB / 1.148 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.8045, allocations: 31.83 kB / 1.148 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.8046, allocations: 97.58 kB / 1.149 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.8047, allocations: 47.91 kB / 1.149 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8047, allocations: 4 kB / 1.149 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002585/0.8049, allocations: 162.4 kB / 1.149 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.805, allocations: 8 kB / 1.149 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.805, allocations: 0 / 1.149 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.8051, allocations: 24.84 kB / 1.149 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.8052, allocations: 32.98 kB / 1.149 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008597/0.8061, allocations: 1.264 MB / 1.15 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.8062, allocations: 11.84 kB / 1.15 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.8062, allocations: 14.61 kB / 1.15 GB, free: 0.5859 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 7.294e-05/0.8063, allocations: 109.1 kB / 1.15 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.8063, allocations: 15.81 kB / 1.15 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.8064, allocations: 21.78 kB / 1.15 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8064, allocations: 0 / 1.15 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.8064, allocations: 0 / 1.15 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8064, allocations: 0 / 1.15 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.8068, allocations: 396 kB / 1.151 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8068, allocations: 2.125 kB / 1.151 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.8068, allocations: 8.047 kB / 1.151 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.827e-05/0.8069, allocations: 28.73 kB / 1.151 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.8069, allocations: 0 / 1.151 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007402/0.8077, allocations: 1.26 MB / 1.152 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8077, allocations: 3.953 kB / 1.152 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.8079, allocations: 200.2 kB / 1.152 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.808, allocations: 108.8 kB / 1.152 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.808, allocations: 1.625 kB / 1.152 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.8081, allocations: 15.33 kB / 1.152 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.8081, allocations: 4 kB / 1.152 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.8081, allocations: 3.984 kB / 1.152 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.8082, allocations: 131.8 kB / 1.152 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8082, allocations: 0 / 1.152 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002839/0.8085, allocations: 47.84 kB / 1.152 GB, free: 14.05 MB / 0.7605 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 0.0001006/0.8086, allocations: 99.25 kB / 1.152 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.8089, allocations: 189.6 kB / 1.153 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8089, allocations: 0 / 1.153 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.8091, allocations: 133.8 kB / 1.153 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.8093, allocations: 30.89 kB / 1.153 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.8097, allocations: 217.4 kB / 1.153 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.81, allocations: 0.7514 MB / 1.154 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.381e-05/0.8101, allocations: 27.45 kB / 1.154 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.8101, allocations: 11.44 kB / 1.154 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of SimCode: time 2.094e-06/0.8101, allocations: 0 / 1.154 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.003607/0.8137, allocations: 1.422 MB / 1.155 GB, free: 11.18 MB / 0.7605 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)