Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") [: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 8.1.4-maint.8.1.x/package.mo): time 1.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009388/0.0009389, allocations: 173.3 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.1 MB / 0.6256 GB, free: 7.461 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 86.48 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.56e-06, allocations: 0 / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4192, allocations: 116.3 MB / 0.9726 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.702/3.121, allocations: 2.106 GB / 3.078 GB, free: 20 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/3.122, allocations: 91.95 kB / 3.078 GB, free: 19.91 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.4017/3.523, allocations: 69.13 MB / 3.146 GB, free: 327.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.127e-05/3.523, allocations: 39.59 kB / 3.146 GB, free: 327.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.002377/3.526, allocations: 1.6 MB / 3.147 GB, free: 326.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/3.526, allocations: 12.88 kB / 3.147 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/3.531, allocations: 0.8883 MB / 3.148 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/3.532, allocations: 0.8985 MB / 3.149 GB, free: 325.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/3.532, allocations: 45 kB / 3.149 GB, free: 325.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/3.532, allocations: 82.03 kB / 3.149 GB, free: 325.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002411/3.535, allocations: 1.852 MB / 3.151 GB, free: 324.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/3.537, allocations: 1.536 MB / 3.153 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/3.537, allocations: 0 / 3.153 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/3.537, allocations: 2.875 kB / 3.153 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/3.537, allocations: 63.06 kB / 3.153 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007828/3.545, allocations: 6.071 MB / 3.159 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/3.546, allocations: 1.184 MB / 3.16 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/3.547, allocations: 0.5754 MB / 3.16 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005293/3.548, allocations: 492.9 kB / 3.161 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008999/3.549, allocations: 0.7441 MB / 3.162 GB, free: 317.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 2.414e-06/3.549, allocations: 0 / 3.162 GB, free: 317.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.002058/3.551, allocations: 1.228 MB / 3.163 GB, free: 316.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/3.551, allocations: 351 kB / 3.163 GB, free: 316.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/3.551, allocations: 0.6697 MB / 3.164 GB, free: 315.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/3.551, allocations: 28.08 kB / 3.164 GB, free: 315.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/3.552, allocations: 497.8 kB / 3.164 GB, free: 315.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/3.552, allocations: 410.9 kB / 3.165 GB, free: 314.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/3.552, allocations: 0 / 3.165 GB, free: 314.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/3.552, allocations: 346.9 kB / 3.165 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/3.553, allocations: 443.2 kB / 3.165 GB, free: 314.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/3.553, allocations: 0.6302 MB / 3.166 GB, free: 313.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/3.554, allocations: 0.5666 MB / 3.167 GB, free: 313.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/3.554, allocations: 6.156 kB / 3.167 GB, free: 313.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002094/3.556, allocations: 1.315 MB / 3.168 GB, free: 312.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/3.557, allocations: 1.06 MB / 3.169 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/3.557, allocations: 2.562 kB / 3.169 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/3.557, allocations: 29.06 kB / 3.169 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/3.558, allocations: 332 kB / 3.169 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002486/3.559, allocations: 0.5461 MB / 3.17 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/3.56, allocations: 168.4 kB / 3.17 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/3.56, allocations: 53.7 kB / 3.17 GB, free: 311.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/3.56, allocations: 5.125 kB / 3.17 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/3.562, allocations: 1.17 MB / 3.171 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/3.562, allocations: 3.562 kB / 3.171 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/3.562, allocations: 8.188 kB / 3.171 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/3.564, allocations: 338.6 kB / 3.171 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/3.564, allocations: 7.188 kB / 3.171 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/3.565, allocations: 161.2 kB / 3.172 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/3.565, allocations: 54.11 kB / 3.172 GB, free: 310.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/3.565, allocations: 133.4 kB / 3.172 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/3.565, allocations: 111.1 kB / 3.172 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/3.569, allocations: 1.653 MB / 3.173 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/3.569, allocations: 12 kB / 3.173 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/3.569, allocations: 4 kB / 3.173 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/3.569, allocations: 7.969 kB / 3.173 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/3.573, allocations: 3.277 MB / 3.177 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/3.573, allocations: 4.031 kB / 3.177 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/3.574, allocations: 311.5 kB / 3.177 GB, free: 305.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-05/3.574, allocations: 29.78 kB / 3.177 GB, free: 305.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/3.574, allocations: 23.97 kB / 3.177 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005566/3.575, allocations: 1.225 MB / 3.178 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/3.575, allocations: 0 / 3.178 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001876/3.577, allocations: 1.486 MB / 3.18 GB, free: 302.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/3.577, allocations: 411 kB / 3.18 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/3.578, allocations: 7.984 kB / 3.18 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/3.579, allocations: 115.9 kB / 3.18 GB, free: 301.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/3.579, allocations: 89.17 kB / 3.18 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/3.579, allocations: 47.97 kB / 3.18 GB, free: 301.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004845/3.58, allocations: 0.543 MB / 3.181 GB, free: 301 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001414/3.581, allocations: 0.677 MB / 3.182 GB, free: 300.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008547/3.582, allocations: 497 kB / 3.182 GB, free: 300 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002236/3.584, allocations: 1.847 MB / 3.184 GB, free: 298.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/3.584, allocations: 4 kB / 3.184 GB, free: 298.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000833/3.585, allocations: 0.7408 MB / 3.185 GB, free: 297.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/3.586, allocations: 259.9 kB / 3.185 GB, free: 297.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/3.589, allocations: 2.006 MB / 3.187 GB, free: 295.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/3.59, allocations: 1.433 MB / 3.188 GB, free: 293.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/3.59, allocations: 4 kB / 3.188 GB, free: 293.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03247/3.623, allocations: 29.43 MB / 3.217 GB, free: 264.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)