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.8288/0.8288, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001095/0.001095, allocations: 171.1 kB / 171.8 MB, free: 4.949 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.663/1.663, allocations: 170.6 MB / 374.2 MB, free: 176 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001597/0.001597, allocations: 115.3 kB / 444.8 MB, free: 14.15 MB / 314.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.1641/0.1642, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6011/0.7653, allocations: 152.2 MB / 0.8153 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.7656, allocations: 91.94 kB / 0.8154 GB, free: 11.2 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.7579/1.524, allocations: 146.8 MB / 0.9587 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/1.524, allocations: 0 / 0.9587 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002373/1.524, allocations: 94.5 kB / 0.9588 GB, free: 146.3 MB / 0.5886 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.008507/1.532, allocations: 3.43 MB / 0.9622 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.532, allocations: 10.31 kB / 0.9622 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/1.549, allocations: 3.199 MB / 0.9653 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007338/1.557, allocations: 2.301 MB / 0.9675 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/1.557, allocations: 77.88 kB / 0.9676 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/1.558, allocations: 146.2 kB / 0.9677 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006959/1.565, allocations: 3.383 MB / 0.971 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005632/1.571, allocations: 3.475 MB / 0.9744 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/1.571, allocations: 3.953 kB / 0.9744 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/1.571, allocations: 6.531 kB / 0.9745 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/1.571, allocations: 145.6 kB / 0.9746 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/1.59, allocations: 10.03 MB / 0.9844 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/1.595, allocations: 2.766 MB / 0.9871 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.596, allocations: 1.004 MB / 0.9881 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/1.597, allocations: 28.91 kB / 0.9881 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/1.598, allocations: 1.294 MB / 0.9894 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 3.727e-06/1.598, allocations: 0 / 0.9894 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.01616/1.614, allocations: 7.557 MB / 0.9967 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/1.615, allocations: 0.8983 MB / 0.9976 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/1.617, allocations: 1.564 MB / 0.9991 GB, free: 123 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.617, allocations: 33.7 kB / 0.9992 GB, free: 123 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/1.618, allocations: 1.443 MB / 1.001 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/1.619, allocations: 0.7848 MB / 1.001 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.619, allocations: 0 / 1.001 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.619, allocations: 398.1 kB / 1.002 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/1.621, allocations: 1.211 MB / 1.003 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.622, allocations: 1.582 MB / 1.004 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.624, allocations: 1.296 MB / 1.006 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.624, allocations: 0 / 1.006 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007744/1.631, allocations: 4.368 MB / 1.01 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004774/1.632, allocations: 2.405 MB / 1.012 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.632, allocations: 8 kB / 1.012 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004997/1.637, allocations: 1.602 MB / 1.014 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/1.64, allocations: 0.5929 MB / 1.014 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.651, allocations: 8.986 MB / 1.023 GB, free: 97.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.656, allocations: 371.4 kB / 1.024 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/1.656, allocations: 91.97 kB / 1.024 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.656, allocations: 4 kB / 1.024 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006153/1.662, allocations: 3.682 MB / 1.027 GB, free: 93.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.662, allocations: 4 kB / 1.027 GB, free: 93.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.665, allocations: 1.41 MB / 1.029 GB, free: 92.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/1.668, allocations: 0.6359 MB / 1.029 GB, free: 91.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.683, allocations: 11.75 MB / 1.041 GB, free: 79.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/1.688, allocations: 367.5 kB / 1.041 GB, free: 79.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/1.688, allocations: 87.97 kB / 1.041 GB, free: 79.05 MB / 0.5886 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.0007261/1.689, allocations: 167 kB / 1.041 GB, free: 78.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/1.69, allocations: 296.5 kB / 1.042 GB, free: 78.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008681/1.691, allocations: 345.2 kB / 1.042 GB, free: 78.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.691, allocations: 24 kB / 1.042 GB, free: 78.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.057e-05/1.691, allocations: 12 kB / 1.042 GB, free: 78.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.691, allocations: 11.95 kB / 1.042 GB, free: 78.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/1.694, allocations: 2.806 MB / 1.045 GB, free: 75.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.694, allocations: 0 / 1.045 GB, free: 75.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.697, allocations: 0.5189 MB / 1.045 GB, free: 74.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/1.702, allocations: 1.629 MB / 1.047 GB, free: 73.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/1.702, allocations: 15.97 kB / 1.047 GB, free: 73.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.719, allocations: 13.33 MB / 1.06 GB, free: 59.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.719, allocations: 4 kB / 1.06 GB, free: 59.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007829/1.727, allocations: 4.177 MB / 1.064 GB, free: 55.47 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.729, allocations: 0.6379 MB / 1.065 GB, free: 54.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/1.729, allocations: 8 kB / 1.065 GB, free: 54.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.732, allocations: 379.4 kB / 1.065 GB, free: 54.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/1.733, allocations: 302.6 kB / 1.065 GB, free: 54.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.733, allocations: 71.97 kB / 1.065 GB, free: 54.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001603/1.735, allocations: 1.161 MB / 1.066 GB, free: 52.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.735, allocations: 4 kB / 1.066 GB, free: 52.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004323/1.739, allocations: 1.375 MB / 1.068 GB, free: 51.51 MB / 0.5886 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.0004283/1.74, allocations: 143.2 kB / 1.068 GB, free: 51.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.751, allocations: 7.364 MB / 1.075 GB, free: 43.84 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.751, allocations: 4 kB / 1.075 GB, free: 43.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004577/1.756, allocations: 2.673 MB / 1.078 GB, free: 41.14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.761, allocations: 0.8697 MB / 1.079 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/1.77, allocations: 4.793 MB / 1.083 GB, free: 35.46 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/1.771, allocations: 2.331 MB / 1.086 GB, free: 33.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00414/1.776, allocations: 0.7189 MB / 1.086 GB, free: 32.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/1.776, allocations: 147.3 kB / 1.086 GB, free: 32.25 MB / 0.5886 GB Notification: Performance of SimCode: time 9.52e-07/1.776, allocations: 0 / 1.086 GB, free: 32.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.5126/2.289, allocations: 69.13 MB / 1.154 GB, free: 144.8 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)