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.701/0.701, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001385/0.001385, allocations: 169.2 kB / 176.9 MB, free: 2.273 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.333/1.333, allocations: 170.5 MB / 379.3 MB, free: 11.9 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.001598/0.001598, allocations: 112.4 kB / 450 MB, free: 5.84 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.4343/0.4343, allocations: 73.39 MB / 0.6736 GB, free: 47.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.6059, allocations: 152.9 MB / 0.8229 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.6063, allocations: 87.95 kB / 0.823 GB, free: 11.61 MB / 0.5261 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.6914/1.298, allocations: 147.8 MB / 0.9674 GB, free: 109.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.754e-06/1.298, allocations: 4 kB / 0.9674 GB, free: 109.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003018/1.298, allocations: 80.8 kB / 0.9675 GB, free: 109.1 MB / 0.573 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.009118/1.307, allocations: 3.444 MB / 0.9708 GB, free: 106.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.307, allocations: 10.22 kB / 0.9708 GB, free: 106.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/1.323, allocations: 3.194 MB / 0.974 GB, free: 105.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/1.329, allocations: 2.301 MB / 0.9762 GB, free: 103.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/1.329, allocations: 190.3 kB / 0.9764 GB, free: 103.7 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007976/1.33, allocations: 230.2 kB / 0.9766 GB, free: 103.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006031/1.336, allocations: 3.827 MB / 0.9803 GB, free: 101.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/1.336, allocations: 3.438 kB / 0.9803 GB, free: 101.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/1.336, allocations: 99.3 kB / 0.9804 GB, free: 101.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/1.336, allocations: 149.1 kB / 0.9806 GB, free: 101.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/1.341, allocations: 3.533 MB / 0.984 GB, free: 99.56 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/1.36, allocations: 10.56 MB / 0.9943 GB, free: 89.11 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005738/1.365, allocations: 2.831 MB / 0.9971 GB, free: 86.27 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/1.367, allocations: 1.042 MB / 0.9981 GB, free: 85.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/1.367, allocations: 33.22 kB / 0.9982 GB, free: 85.19 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/1.368, allocations: 1.366 MB / 0.9995 GB, free: 83.76 MB / 0.573 GB Notification: Performance of pre-optimization done (n=163): time 4.168e-06/1.368, allocations: 0 / 0.9995 GB, free: 83.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=250): time 0.09589/1.464, allocations: 28.98 MB / 1.028 GB, free: 54.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/1.464, allocations: 0.8983 MB / 1.029 GB, free: 53.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/1.467, allocations: 1.951 MB / 1.031 GB, free: 51.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002669/1.467, allocations: 85.64 kB / 1.031 GB, free: 51.57 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009682/1.468, allocations: 1.43 MB / 1.032 GB, free: 50.12 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/1.469, allocations: 0.8124 MB / 1.033 GB, free: 49.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.469, allocations: 48 kB / 1.033 GB, free: 49.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.469, allocations: 398.6 kB / 1.033 GB, free: 48.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/1.471, allocations: 1.258 MB / 1.034 GB, free: 47.59 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/1.473, allocations: 1.641 MB / 1.036 GB, free: 45.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/1.474, allocations: 1.482 MB / 1.038 GB, free: 44.28 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/1.474, allocations: 7.984 kB / 1.038 GB, free: 44.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007738/1.482, allocations: 4.761 MB / 1.042 GB, free: 39.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004466/1.483, allocations: 2.458 MB / 1.045 GB, free: 36.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.483, allocations: 4 kB / 1.045 GB, free: 36.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/1.487, allocations: 1.735 MB / 1.046 GB, free: 34.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/1.49, allocations: 0.6007 MB / 1.047 GB, free: 34.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.5, allocations: 9.03 MB / 1.056 GB, free: 25.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/1.505, allocations: 415.6 kB / 1.056 GB, free: 24.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/1.505, allocations: 87.97 kB / 1.056 GB, free: 24.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.505, allocations: 9.203 kB / 1.056 GB, free: 24.65 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007147/1.512, allocations: 4.376 MB / 1.06 GB, free: 20.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.512, allocations: 8.281 kB / 1.06 GB, free: 20.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/1.516, allocations: 1.765 MB / 1.062 GB, free: 18.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/1.519, allocations: 0.6124 MB / 1.063 GB, free: 17.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/1.535, allocations: 13.3 MB / 1.076 GB, free: 4.211 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.539, allocations: 415.5 kB / 1.076 GB, free: 3.805 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/1.54, allocations: 91.97 kB / 1.076 GB, free: 3.715 MB / 0.573 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 () * 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.0007584/1.541, allocations: 255.2 kB / 1.077 GB, free: 3.461 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/1.541, allocations: 328.2 kB / 1.077 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.542, allocations: 388.1 kB / 1.077 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.542, allocations: 24 kB / 1.077 GB, free: 2.727 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/1.542, allocations: 12 kB / 1.077 GB, free: 2.715 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.543, allocations: 11.95 kB / 1.077 GB, free: 2.703 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/1.547, allocations: 3.2 MB / 1.08 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.547, allocations: 0 / 1.08 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.549, allocations: 0.5266 MB / 1.081 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/1.555, allocations: 1.657 MB / 1.083 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/1.555, allocations: 51.97 kB / 1.083 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/1.575, allocations: 13.74 MB / 1.096 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.575, allocations: 3.984 kB / 1.096 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009194/1.584, allocations: 4.406 MB / 1.1 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.587, allocations: 0.6727 MB / 1.101 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000596/1.587, allocations: 47.98 kB / 1.101 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.59, allocations: 403.6 kB / 1.101 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009152/1.591, allocations: 310.6 kB / 1.102 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.591, allocations: 67.97 kB / 1.102 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002471/1.594, allocations: 1.494 MB / 1.103 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.594, allocations: 0 / 1.103 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004961/1.599, allocations: 1.559 MB / 1.105 GB, free: 6.18 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) * 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.0004875/1.599, allocations: 199.7 kB / 1.105 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.3678/1.967, allocations: 7.738 MB / 1.112 GB, free: 133 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.967, allocations: 3.312 kB / 1.112 GB, free: 133 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005134/1.972, allocations: 2.792 MB / 1.115 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/1.977, allocations: 1.007 MB / 1.116 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.988, allocations: 4.93 MB / 1.121 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/1.991, allocations: 2.33 MB / 1.123 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00463/1.995, allocations: 0.77 MB / 1.124 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/1.996, allocations: 145.8 kB / 1.124 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/1.996, allocations: 0 / 1.124 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.1269/2.123, allocations: 76.73 MB / 1.199 GB, free: 118.9 MB / 0.6042 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)