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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7982/0.7982, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001434/0.001434, allocations: 171.4 kB / 171.8 MB, free: 2.02 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.865/1.865, allocations: 170.6 MB / 374.2 MB, free: 15.68 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.001695/0.001695, allocations: 123.2 kB / 444.8 MB, free: 9.207 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.5883/0.5883, allocations: 73.39 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.7947, allocations: 133.9 MB / 0.7974 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.795, allocations: 91.94 kB / 0.7975 GB, free: 2.727 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 - DAE generated: time 0.04778/0.8428, allocations: 17.97 MB / 0.815 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8429, allocations: 0 / 0.815 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.8429, allocations: 8 kB / 0.815 GB, free: 0.668 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.001429/0.8443, allocations: 0.6261 MB / 0.8157 GB, free: 4 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.63e-05/0.8444, allocations: 8.078 kB / 0.8157 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.8457, allocations: 159.2 kB / 0.8158 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.8465, allocations: 346 kB / 0.8161 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.8465, allocations: 12 kB / 0.8162 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.8466, allocations: 23.61 kB / 0.8162 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007361/0.8474, allocations: 333.4 kB / 0.8165 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/0.8482, allocations: 472.1 kB / 0.8169 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.8483, allocations: 0 / 0.8169 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.8483, allocations: 0 / 0.8169 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/0.8484, allocations: 28.7 kB / 0.817 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.8513, allocations: 1.874 MB / 0.8188 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.8518, allocations: 250.5 kB / 0.819 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.852, allocations: 104.8 kB / 0.8191 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.852, allocations: 3.984 kB / 0.8191 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.8521, allocations: 42.55 kB / 0.8192 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.8521, allocations: 0 / 0.8192 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001739/0.8538, allocations: 0.7868 MB / 0.82 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.8539, allocations: 51.41 kB / 0.82 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.8542, allocations: 222.3 kB / 0.8202 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.8542, allocations: 29.7 kB / 0.8202 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.8544, allocations: 231.8 kB / 0.8205 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.8545, allocations: 82.75 kB / 0.8205 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.8545, allocations: 0 / 0.8205 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8547, allocations: 334.8 kB / 0.8209 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.8549, allocations: 96.56 kB / 0.821 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.8551, allocations: 185.5 kB / 0.8211 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.8553, allocations: 118 kB / 0.8212 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.8553, allocations: 4 kB / 0.8212 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007021/0.856, allocations: 390.7 kB / 0.8216 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.8561, allocations: 8 kB / 0.8216 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8561, allocations: 4 kB / 0.8216 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.8564, allocations: 94.62 kB / 0.8217 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.8567, allocations: 63.91 kB / 0.8218 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.86, allocations: 3.899 MB / 0.8256 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.8602, allocations: 14.19 kB / 0.8256 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.8603, allocations: 15.94 kB / 0.8256 GB, free: 5.102 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.8604, allocations: 119.4 kB / 0.8257 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.8605, allocations: 23.72 kB / 0.8258 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.156e-05/0.8606, allocations: 33.95 kB / 0.8258 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8606, allocations: 3.953 kB / 0.8258 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.8606, allocations: 8 kB / 0.8258 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8606, allocations: 0 / 0.8258 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.8611, allocations: 338 kB / 0.8261 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8611, allocations: 0 / 0.8261 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.8613, allocations: 35.98 kB / 0.8262 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002947/0.8616, allocations: 86.5 kB / 0.8262 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.8616, allocations: 48 / 0.8262 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.8646, allocations: 3.898 MB / 0.83 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8647, allocations: 0 / 0.83 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.8655, allocations: 0.5289 MB / 0.8306 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.8657, allocations: 120.8 kB / 0.8307 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.8657, allocations: 0 / 0.8307 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.8659, allocations: 8 kB / 0.8307 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.866, allocations: 27.97 kB / 0.8307 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.866, allocations: 4 kB / 0.8307 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001775/0.8662, allocations: 174 kB / 0.8309 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8662, allocations: 0 / 0.8309 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005331/0.8667, allocations: 84 kB / 0.831 GB, free: 15.2 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.000163/0.8669, allocations: 102.1 kB / 0.8311 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008539/0.8678, allocations: 0.5699 MB / 0.8316 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8678, allocations: 0 / 0.8316 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.8683, allocations: 445.9 kB / 0.832 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.8687, allocations: 58.92 kB / 0.8321 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.8698, allocations: 0.4999 MB / 0.8326 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.8703, allocations: 0.8383 MB / 0.8334 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.8706, allocations: 59.25 kB / 0.8335 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.8706, allocations: 23.38 kB / 0.8335 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.8706, allocations: 0 / 0.8335 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.007757/0.8784, allocations: 3.668 MB / 0.8371 GB, free: 8.91 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)