Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") [: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.7875/0.7875, allocations: 132.4 MB / 139.7 MB, free: 15.6 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.001701/0.001702, allocations: 174 kB / 171.6 MB, free: 1.988 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.726/1.726, allocations: 170.5 MB / 373.8 MB, free: 15.87 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.001778/0.001778, allocations: 112.8 kB / 444.4 MB, free: 9.383 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.5114/0.5114, allocations: 73.39 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.6763, allocations: 133.9 MB / 0.7967 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6766, allocations: 87.38 kB / 0.7968 GB, free: 2.258 MB / 0.4948 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/DC/Sensors/GeneralizedSensor.mo:38:3-38: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/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/DC/Sensors/GeneralizedSensor.mo:38:3-38: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.04382/0.7205, allocations: 17.64 MB / 0.8141 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.742e-05/0.7205, allocations: 15.98 kB / 0.8141 GB, free: 0.5039 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001139/0.7217, allocations: 0.6328 MB / 0.8147 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7217, allocations: 8.031 kB / 0.8147 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.7229, allocations: 159.3 kB / 0.8148 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.7236, allocations: 338.1 kB / 0.8152 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7236, allocations: 15.94 kB / 0.8152 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.7237, allocations: 23.98 kB / 0.8152 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005733/0.7242, allocations: 345.4 kB / 0.8155 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.725, allocations: 483.8 kB / 0.816 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.725, allocations: 4 kB / 0.816 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.725, allocations: 3.906 kB / 0.816 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.7251, allocations: 32.62 kB / 0.816 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.7276, allocations: 1.873 MB / 0.8179 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.7278, allocations: 133.2 kB / 0.818 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.728, allocations: 107.9 kB / 0.8181 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.728, allocations: 7.984 kB / 0.8181 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.728, allocations: 34.56 kB / 0.8181 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 3.967e-06/0.728, allocations: 0 / 0.8181 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001679/0.7297, allocations: 0.8 MB / 0.8189 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.7298, allocations: 51.41 kB / 0.819 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.7301, allocations: 228.9 kB / 0.8192 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.7301, allocations: 29.7 kB / 0.8192 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.7303, allocations: 207.5 kB / 0.8194 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.7304, allocations: 74.86 kB / 0.8195 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.7304, allocations: 3.938 kB / 0.8195 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7305, allocations: 350.7 kB / 0.8198 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.7307, allocations: 92.64 kB / 0.8199 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.7309, allocations: 179.4 kB / 0.8201 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.7311, allocations: 125 kB / 0.8202 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7311, allocations: 7.938 kB / 0.8202 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007405/0.7319, allocations: 393.6 kB / 0.8206 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7319, allocations: 8 kB / 0.8206 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7319, allocations: 352 / 0.8206 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.7323, allocations: 94.5 kB / 0.8207 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.7326, allocations: 63.91 kB / 0.8207 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.7363, allocations: 3.87 MB / 0.8245 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.7366, allocations: 4.031 kB / 0.8245 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7366, allocations: 15.94 kB / 0.8245 GB, free: 5.047 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.7368, allocations: 117.6 kB / 0.8247 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.7368, allocations: 31.72 kB / 0.8247 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.7369, allocations: 34.05 kB / 0.8247 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7369, allocations: 0 / 0.8247 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.7369, allocations: 7.906 kB / 0.8247 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.737, allocations: 0 / 0.8247 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.7374, allocations: 338 kB / 0.825 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7375, allocations: 4 kB / 0.825 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.7377, allocations: 36.08 kB / 0.8251 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.738, allocations: 86.48 kB / 0.8252 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.738, allocations: 4 kB / 0.8252 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.7411, allocations: 3.854 MB / 0.8289 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7412, allocations: 4.156 kB / 0.8289 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008508/0.742, allocations: 0.5404 MB / 0.8295 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.7422, allocations: 124.7 kB / 0.8296 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.7422, allocations: 3.312 kB / 0.8296 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.7425, allocations: 12.05 kB / 0.8296 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.7425, allocations: 11.98 kB / 0.8296 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.7425, allocations: 8 kB / 0.8296 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0001829/0.7427, allocations: 169.2 kB / 0.8298 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005269/0.7432, allocations: 80 kB / 0.8299 GB, free: 15.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.7434, allocations: 111.2 kB / 0.83 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.7443, allocations: 0.5487 MB / 0.8305 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7443, allocations: 3.984 kB / 0.8305 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.7448, allocations: 429.2 kB / 0.8309 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.7452, allocations: 62.2 kB / 0.831 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.7464, allocations: 0.4976 MB / 0.8315 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.747, allocations: 0.8616 MB / 0.8323 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.747, allocations: 0 / 0.8323 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.008878/0.7559, allocations: 4.12 MB / 0.8363 GB, free: 8.508 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)