Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7646/0.7646, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001154/0.001154, allocations: 164.2 kB / 180.8 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.65/1.65, allocations: 170.7 MB / 383.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001689/0.001689, allocations: 124.5 kB / 454.6 MB, free: 9.711 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1862/0.1867, allocations: 73.4 MB / 0.6812 GB, free: 5.578 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5487/0.7355, allocations: 153 MB / 0.8306 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/0.7359, allocations: 95.94 kB / 0.8307 GB, free: 10.66 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 3.0.0/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);. Notification: Performance of FrontEnd - DAE generated: time 0.7301/1.466, allocations: 148.3 MB / 0.9755 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/1.466, allocations: 0 / 0.9755 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0005449/1.467, allocations: 78.86 kB / 0.9756 GB, free: 120.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01341/1.48, allocations: 3.962 MB / 0.9794 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.48, allocations: 10.41 kB / 0.9795 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/1.497, allocations: 3.219 MB / 0.9826 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/1.504, allocations: 2.316 MB / 0.9849 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.504, allocations: 179.2 kB / 0.985 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008131/1.505, allocations: 232.3 kB / 0.9852 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/1.516, allocations: 4.681 MB / 0.9898 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/1.517, allocations: 6.906 kB / 0.9898 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/1.517, allocations: 109.4 kB / 0.9899 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/1.517, allocations: 144 kB / 0.9901 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.531, allocations: 5.216 MB / 0.9952 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02477/1.556, allocations: 10.56 MB / 1.005 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.567, allocations: 3.776 MB / 1.009 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/1.567, allocations: 35.44 kB / 1.009 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003762/1.571, allocations: 1.811 MB / 1.011 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=163): time 4.007e-06/1.571, allocations: 0 / 1.011 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=250): time 0.1152/1.686, allocations: 33.52 MB / 1.044 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/1.686, allocations: 0.9007 MB / 1.045 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/1.689, allocations: 1.984 MB / 1.047 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004164/1.689, allocations: 82.39 kB / 1.047 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/1.69, allocations: 1.427 MB / 1.048 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/1.691, allocations: 0.8114 MB / 1.049 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.691, allocations: 46.75 kB / 1.049 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.691, allocations: 396.2 kB / 1.049 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/1.696, allocations: 1.923 MB / 1.051 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/1.7, allocations: 2.318 MB / 1.053 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/1.705, allocations: 2.151 MB / 1.055 GB, free: 99.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.705, allocations: 0 / 1.055 GB, free: 99.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01446/1.719, allocations: 6.125 MB / 1.061 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005001/1.72, allocations: 2.451 MB / 1.064 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.72, allocations: 4 kB / 1.064 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005657/1.726, allocations: 1.776 MB / 1.066 GB, free: 92.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/1.728, allocations: 0.5911 MB / 1.066 GB, free: 91.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.74, allocations: 9.519 MB / 1.075 GB, free: 83.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.744, allocations: 414.8 kB / 1.076 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002852/1.744, allocations: 91.59 kB / 1.076 GB, free: 82.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.744, allocations: 8 kB / 1.076 GB, free: 82.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01257/1.757, allocations: 5.719 MB / 1.082 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.757, allocations: 12.03 kB / 1.082 GB, free: 77.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004502/1.761, allocations: 1.787 MB / 1.083 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.764, allocations: 0.6163 MB / 1.084 GB, free: 75.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/1.783, allocations: 14.08 MB / 1.098 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/1.787, allocations: 407.6 kB / 1.098 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/1.788, allocations: 87.97 kB / 1.098 GB, free: 60.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001705/1.789, allocations: 0.7922 MB / 1.099 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/1.79, allocations: 332.1 kB / 1.099 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/1.791, allocations: 392.1 kB / 1.1 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.791, allocations: 24 kB / 1.1 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-05/1.791, allocations: 11.95 kB / 1.1 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.791, allocations: 15.95 kB / 1.1 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/1.794, allocations: 3.195 MB / 1.103 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.794, allocations: 4 kB / 1.103 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/1.797, allocations: 0.5227 MB / 1.103 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/1.802, allocations: 1.692 MB / 1.105 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002655/1.802, allocations: 55.25 kB / 1.105 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/1.819, allocations: 14.54 MB / 1.119 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.819, allocations: 0 / 1.119 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.833, allocations: 5.756 MB / 1.125 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.835, allocations: 0.6726 MB / 1.125 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007126/1.836, allocations: 48 kB / 1.125 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/1.839, allocations: 415.4 kB / 1.126 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007917/1.84, allocations: 310.6 kB / 1.126 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.84, allocations: 70.66 kB / 1.126 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0021/1.842, allocations: 1.521 MB / 1.128 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/1.842, allocations: 4 kB / 1.128 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003973/1.846, allocations: 1.562 MB / 1.129 GB, free: 28.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004287/1.846, allocations: 182.2 kB / 1.129 GB, free: 28.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.866, allocations: 9.725 MB / 1.139 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.866, allocations: 7.781 kB / 1.139 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007141/1.873, allocations: 3.513 MB / 1.142 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.878, allocations: 1.012 MB / 1.143 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.889, allocations: 7.506 MB / 1.151 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/1.891, allocations: 2.323 MB / 1.153 GB, free: 4.035 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003295/1.894, allocations: 0.635 MB / 1.154 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/1.895, allocations: 187.4 kB / 1.154 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of SimCode: time 9.91e-07/1.895, allocations: 0 / 1.154 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of Templates: time 0.3816/2.277, allocations: 72.42 MB / 1.224 GB, free: 114.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)