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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7569/0.7569, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001198/0.001198, allocations: 175.4 kB / 171.6 MB, free: 2.012 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.354/1.354, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001761/0.001761, allocations: 121.5 kB / 444.4 MB, free: 9.375 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.5305/0.5306, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.741, allocations: 152.2 MB / 0.8146 GB, free: 8 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/0.7415, allocations: 88.84 kB / 0.8147 GB, free: 15.92 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: time 0.7811/1.523, allocations: 146.8 MB / 0.958 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0005877/1.523, allocations: 75.28 kB / 0.9581 GB, free: 143.4 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.01282/1.536, allocations: 3.52 MB / 0.9615 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.536, allocations: 11.22 kB / 0.9615 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02019/1.556, allocations: 3.171 MB / 0.9646 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/1.568, allocations: 2.327 MB / 0.9669 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/1.568, allocations: 80.27 kB / 0.967 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/1.57, allocations: 136.2 kB / 0.9671 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01108/1.581, allocations: 3.511 MB / 0.9705 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/1.595, allocations: 3.577 MB / 0.974 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/1.595, allocations: 0 / 0.974 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/1.596, allocations: 5.312 kB / 0.974 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/1.596, allocations: 153.4 kB / 0.9742 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/1.624, allocations: 10.21 MB / 0.9841 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/1.627, allocations: 1.068 MB / 0.9852 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/1.628, allocations: 1.03 MB / 0.9862 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/1.628, allocations: 29.12 kB / 0.9862 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.63, allocations: 1.289 MB / 0.9875 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 4.017e-06/1.63, allocations: 4 kB / 0.9875 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.0191/1.649, allocations: 7.713 MB / 0.995 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002481/1.649, allocations: 0.8983 MB / 0.9959 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/1.652, allocations: 1.568 MB / 0.9974 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/1.652, allocations: 37.7 kB / 0.9975 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000902/1.653, allocations: 0.9664 MB / 0.9984 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/1.654, allocations: 0.7788 MB / 0.9992 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.654, allocations: 0 / 0.9992 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.654, allocations: 398.6 kB / 0.9995 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.656, allocations: 1.246 MB / 1.001 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.658, allocations: 1.617 MB / 1.002 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/1.66, allocations: 1.342 MB / 1.004 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.66, allocations: 0 / 1.004 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008599/1.668, allocations: 4.424 MB / 1.008 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005238/1.669, allocations: 2.27 MB / 1.01 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.669, allocations: 4 kB / 1.01 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005687/1.674, allocations: 1.63 MB / 1.012 GB, free: 98.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/1.678, allocations: 0.6398 MB / 1.012 GB, free: 98.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.689, allocations: 8.714 MB / 1.021 GB, free: 89.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/1.694, allocations: 407.6 kB / 1.021 GB, free: 88.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005866/1.695, allocations: 87.97 kB / 1.021 GB, free: 88.83 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.695, allocations: 4 kB / 1.021 GB, free: 88.82 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006859/1.702, allocations: 3.689 MB / 1.025 GB, free: 85.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.702, allocations: 4 kB / 1.025 GB, free: 85.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/1.706, allocations: 1.43 MB / 1.026 GB, free: 83.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/1.709, allocations: 0.6944 MB / 1.027 GB, free: 82.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/1.725, allocations: 11.14 MB / 1.038 GB, free: 71.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.729, allocations: 415.5 kB / 1.038 GB, free: 71.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000562/1.73, allocations: 87.97 kB / 1.038 GB, free: 71.12 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.0008048/1.731, allocations: 155 kB / 1.039 GB, free: 70.97 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/1.732, allocations: 304.4 kB / 1.039 GB, free: 70.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/1.733, allocations: 333.2 kB / 1.039 GB, free: 70.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/1.733, allocations: 24 kB / 1.039 GB, free: 70.31 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.153e-05/1.733, allocations: 15.94 kB / 1.039 GB, free: 70.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/1.733, allocations: 11.95 kB / 1.039 GB, free: 70.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/1.738, allocations: 2.845 MB / 1.042 GB, free: 67.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.738, allocations: 0 / 1.042 GB, free: 67.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/1.741, allocations: 0.5773 MB / 1.043 GB, free: 66.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005552/1.746, allocations: 1.65 MB / 1.044 GB, free: 65.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004061/1.747, allocations: 15.97 kB / 1.044 GB, free: 65.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/1.764, allocations: 12.66 MB / 1.057 GB, free: 52.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.764, allocations: 4 kB / 1.057 GB, free: 52.3 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008481/1.773, allocations: 4.236 MB / 1.061 GB, free: 48.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.775, allocations: 0.6495 MB / 1.061 GB, free: 47.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008886/1.776, allocations: 4 kB / 1.061 GB, free: 47.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/1.779, allocations: 415.8 kB / 1.062 GB, free: 46.99 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005532/1.78, allocations: 237.5 kB / 1.062 GB, free: 46.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.78, allocations: 71.91 kB / 1.062 GB, free: 46.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001783/1.782, allocations: 1.165 MB / 1.063 GB, free: 45.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004308/1.786, allocations: 1.328 MB / 1.064 GB, free: 44.18 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.0004263/1.787, allocations: 145.5 kB / 1.065 GB, free: 44.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.8, allocations: 6.879 MB / 1.071 GB, free: 37.05 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.8, allocations: 4.125 kB / 1.071 GB, free: 37.05 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005012/1.805, allocations: 2.487 MB / 1.074 GB, free: 34.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005111/1.81, allocations: 0.8416 MB / 1.075 GB, free: 33.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.824, allocations: 5.211 MB / 1.08 GB, free: 28.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003269/1.827, allocations: 2.416 MB / 1.082 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/1.827, allocations: 4 kB / 1.082 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.4975/2.325, allocations: 85.02 MB / 1.165 GB, free: 200.4 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)