Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.0009945/0.0009946, allocations: 182.2 kB / 371.8 MB, free: 10.12 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.514/1.514, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 87.28 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 11.59 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2559, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.301/5.557, allocations: 2.105 GB / 3.085 GB, free: 160.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/5.558, allocations: 102.3 kB / 3.085 GB, free: 160.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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 - DAE generated: time 0.1662/5.724, allocations: 69.74 MB / 3.153 GB, free: 98.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.796e-06/5.724, allocations: 0 / 3.153 GB, free: 98.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001702/5.724, allocations: 36 kB / 3.153 GB, free: 98.05 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.004679/5.729, allocations: 1.707 MB / 3.155 GB, free: 96.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/5.729, allocations: 15.95 kB / 3.155 GB, free: 96.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/5.735, allocations: 0.8059 MB / 3.156 GB, free: 95.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/5.738, allocations: 0.8921 MB / 3.156 GB, free: 94.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/5.738, allocations: 102.9 kB / 3.157 GB, free: 94.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005299/5.738, allocations: 144 kB / 3.157 GB, free: 94.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/5.744, allocations: 1.921 MB / 3.159 GB, free: 92.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/5.744, allocations: 0 / 3.159 GB, free: 92.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/5.744, allocations: 67.97 kB / 3.159 GB, free: 92.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/5.744, allocations: 62.77 kB / 3.159 GB, free: 92.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005643/5.75, allocations: 2.364 MB / 3.161 GB, free: 89.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/5.761, allocations: 6.152 MB / 3.167 GB, free: 83.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/5.765, allocations: 1.574 MB / 3.169 GB, free: 81.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006935/5.766, allocations: 486.5 kB / 3.169 GB, free: 81.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/5.768, allocations: 0.9134 MB / 3.17 GB, free: 80.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 5.971e-06/5.768, allocations: 4 kB / 3.17 GB, free: 80.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.005845/5.774, allocations: 2.173 MB / 3.172 GB, free: 78.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/5.774, allocations: 359.1 kB / 3.172 GB, free: 77.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/5.776, allocations: 0.7784 MB / 3.173 GB, free: 76.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/5.776, allocations: 49.7 kB / 3.173 GB, free: 76.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/5.776, allocations: 0.5857 MB / 3.174 GB, free: 76.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/5.777, allocations: 433.8 kB / 3.174 GB, free: 75.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/5.777, allocations: 28 kB / 3.174 GB, free: 75.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/5.777, allocations: 349.9 kB / 3.175 GB, free: 75.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/5.778, allocations: 0.5842 MB / 3.175 GB, free: 74.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/5.78, allocations: 0.7818 MB / 3.176 GB, free: 73.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/5.782, allocations: 0.6583 MB / 3.176 GB, free: 73.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/5.782, allocations: 0 / 3.176 GB, free: 73.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004039/5.786, allocations: 1.605 MB / 3.178 GB, free: 71.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002568/5.786, allocations: 1.054 MB / 3.179 GB, free: 70.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/5.786, allocations: 7.984 kB / 3.179 GB, free: 70.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/5.786, allocations: 32.84 kB / 3.179 GB, free: 70.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/5.788, allocations: 327.5 kB / 3.179 GB, free: 70.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003709/5.789, allocations: 0.5368 MB / 3.18 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/5.79, allocations: 182.9 kB / 3.18 GB, free: 69.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/5.791, allocations: 59.95 kB / 3.18 GB, free: 69.42 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/5.791, allocations: 7.938 kB / 3.18 GB, free: 69.41 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003684/5.794, allocations: 1.463 MB / 3.182 GB, free: 67.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/5.794, allocations: 4 kB / 3.182 GB, free: 67.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/5.794, allocations: 8 kB / 3.182 GB, free: 67.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/5.796, allocations: 335.7 kB / 3.182 GB, free: 67.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/5.796, allocations: 8 kB / 3.182 GB, free: 67.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/5.798, allocations: 182.9 kB / 3.182 GB, free: 67.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/5.798, allocations: 63.88 kB / 3.182 GB, free: 67.36 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 () * Number of clocked 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.001501/5.8, allocations: 427.8 kB / 3.183 GB, free: 66.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/5.801, allocations: 126.5 kB / 3.183 GB, free: 66.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/5.806, allocations: 1.895 MB / 3.185 GB, free: 64.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/5.806, allocations: 19.94 kB / 3.185 GB, free: 64.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/5.806, allocations: 4 kB / 3.185 GB, free: 64.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/5.806, allocations: 7.969 kB / 3.185 GB, free: 64.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008218/5.815, allocations: 3.58 MB / 3.188 GB, free: 61.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/5.815, allocations: 4 kB / 3.188 GB, free: 61.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/5.816, allocations: 307.6 kB / 3.188 GB, free: 60.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/5.817, allocations: 24.84 kB / 3.188 GB, free: 60.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/5.817, allocations: 39.95 kB / 3.188 GB, free: 60.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/5.818, allocations: 1.28 MB / 3.19 GB, free: 59.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/5.818, allocations: 0 / 3.19 GB, free: 59.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/5.822, allocations: 1.723 MB / 3.191 GB, free: 57.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/5.823, allocations: 418.9 kB / 3.192 GB, free: 57.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/5.823, allocations: 24 kB / 3.192 GB, free: 57.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/5.825, allocations: 135.8 kB / 3.192 GB, free: 57.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/5.825, allocations: 89.19 kB / 3.192 GB, free: 57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/5.825, allocations: 55.95 kB / 3.192 GB, free: 56.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001211/5.826, allocations: 0.633 MB / 3.193 GB, free: 56.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/5.826, allocations: 0 / 3.193 GB, free: 56.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002697/5.829, allocations: 0.7357 MB / 3.193 GB, free: 55.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * 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.001674/5.831, allocations: 0.6212 MB / 3.194 GB, free: 55.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005923/5.837, allocations: 2.288 MB / 3.196 GB, free: 52.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/5.837, allocations: 0 / 3.196 GB, free: 52.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/5.839, allocations: 0.9006 MB / 3.197 GB, free: 51.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/5.84, allocations: 288.5 kB / 3.197 GB, free: 51.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/5.847, allocations: 3.307 MB / 3.201 GB, free: 48.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009472/5.848, allocations: 1.261 MB / 3.202 GB, free: 46.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003262/5.851, allocations: 0.5246 MB / 3.202 GB, free: 46.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/5.852, allocations: 151.3 kB / 3.203 GB, free: 46.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/5.852, allocations: 0 / 3.203 GB, free: 46.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03269/5.884, allocations: 19.03 MB / 3.221 GB, free: 27.38 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)