Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") [: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.7608/0.7608, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001092/0.001092, allocations: 172 kB / 171.6 MB, free: 1.98 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.413/1.413, allocations: 170.5 MB / 373.9 MB, free: 15.8 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.001667/0.001667, allocations: 121.8 kB / 444.5 MB, free: 9.348 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.5542/0.5542, allocations: 73.39 MB / 0.666 GB, free: 62.43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.7583, allocations: 143.3 MB / 0.8059 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.7586, allocations: 90.44 kB / 0.806 GB, free: 8.82 MB / 0.5105 GB [/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);. [/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.09905/0.8577, allocations: 36.58 MB / 0.8417 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.952e-05/0.8578, allocations: 20.06 kB / 0.8418 GB, free: 3.922 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002497/0.8603, allocations: 0.9288 MB / 0.8427 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.8604, allocations: 8.031 kB / 0.8427 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/0.8645, allocations: 0.6194 MB / 0.8433 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.8662, allocations: 0.5895 MB / 0.8439 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.8662, allocations: 16 kB / 0.8439 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.8664, allocations: 32 kB / 0.8439 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/0.868, allocations: 0.7132 MB / 0.8446 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.8696, allocations: 0.8123 MB / 0.8454 GB, free: 72 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.8696, allocations: 0 / 0.8454 GB, free: 72 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.8697, allocations: 7.906 kB / 0.8454 GB, free: 64 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-05/0.8698, allocations: 45.28 kB / 0.8454 GB, free: 20 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.8751, allocations: 2.683 MB / 0.8481 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.8756, allocations: 270.4 kB / 0.8483 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.876, allocations: 173.4 kB / 0.8485 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.876, allocations: 4 kB / 0.8485 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.8761, allocations: 42.55 kB / 0.8485 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.8761, allocations: 0 / 0.8485 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43): time 0.003296/0.8794, allocations: 1.141 MB / 0.8496 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8795, allocations: 132.5 kB / 0.8498 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.8802, allocations: 398.1 kB / 0.8501 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.8802, allocations: 25.7 kB / 0.8502 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.8805, allocations: 287.8 kB / 0.8504 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.8807, allocations: 137.9 kB / 0.8506 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.8808, allocations: 4 kB / 0.8506 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.881, allocations: 370.7 kB / 0.8509 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.8813, allocations: 188.9 kB / 0.8511 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.8818, allocations: 306.9 kB / 0.8514 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.8822, allocations: 225.5 kB / 0.8516 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.8822, allocations: 4 kB / 0.8516 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001867/0.8841, allocations: 0.7406 MB / 0.8524 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008145/0.885, allocations: 1.217 MB / 0.8535 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.885, allocations: 4 kB / 0.8535 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.8861, allocations: 232.9 kB / 0.8538 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.8869, allocations: 135.8 kB / 0.8539 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.8928, allocations: 5.714 MB / 0.8595 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.8935, allocations: 48.02 kB / 0.8595 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.8936, allocations: 20 kB / 0.8595 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.8936, allocations: 4 kB / 0.8595 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001687/0.8953, allocations: 1.034 MB / 0.8606 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8953, allocations: 0 / 0.8606 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.8957, allocations: 141.5 kB / 0.8607 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.8964, allocations: 159.7 kB / 0.8608 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.9028, allocations: 7.456 MB / 0.8681 GB, free: 7.121 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.9036, allocations: 56.05 kB / 0.8682 GB, free: 7.066 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.9037, allocations: 15.98 kB / 0.8682 GB, free: 7.051 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.9039, allocations: 128.8 kB / 0.8683 GB, free: 6.918 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.9041, allocations: 55.34 kB / 0.8684 GB, free: 6.863 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.9043, allocations: 69.41 kB / 0.8684 GB, free: 6.797 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.9044, allocations: 4 kB / 0.8684 GB, free: 6.793 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/0.9044, allocations: 3.906 kB / 0.8684 GB, free: 6.789 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.9044, allocations: 0 / 0.8684 GB, free: 6.789 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.9056, allocations: 0.5679 MB / 0.869 GB, free: 6.184 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9056, allocations: 0 / 0.869 GB, free: 6.184 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.9062, allocations: 111.8 kB / 0.8691 GB, free: 6.074 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009218/0.9071, allocations: 237 kB / 0.8693 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.9072, allocations: 0 / 0.8693 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007718/0.9149, allocations: 7.931 MB / 0.8771 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9149, allocations: 7.938 kB / 0.8771 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001614/0.9166, allocations: 0.7459 MB / 0.8778 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.917, allocations: 172.3 kB / 0.878 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.9172, allocations: 4 kB / 0.878 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.9178, allocations: 51.95 kB / 0.878 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9179, allocations: 23.95 kB / 0.878 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.9179, allocations: 15.91 kB / 0.8781 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0004597/0.9184, allocations: 299 kB / 0.8783 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001326/0.9197, allocations: 256 kB / 0.8786 GB, free: 11.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.92, allocations: 123.1 kB / 0.8787 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002779/0.9228, allocations: 1.699 MB / 0.8804 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9228, allocations: 8.125 kB / 0.8804 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.9239, allocations: 0.8501 MB / 0.8812 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.9248, allocations: 166.8 kB / 0.8814 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.9276, allocations: 0.9428 MB / 0.8823 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009966/0.9286, allocations: 1.021 MB / 0.8833 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.9286, allocations: 0 / 0.8833 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of Templates: time 0.417/1.346, allocations: 14.02 MB / 0.897 GB, free: 150.1 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)