Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.00244/0.002439, allocations: 174.7 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009282/0.0009275, allocations: 99.09 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006483/0.0006488, allocations: 14.78 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2242, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.616/6.84, allocations: 2.105 GB / 3.085 GB, free: 191.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/6.84, allocations: 107.9 kB / 3.085 GB, free: 191.3 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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 8.0.0/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.0/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.3151/7.155, allocations: 69.66 MB / 3.153 GB, free: 121.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.497e-06/7.156, allocations: 0 / 3.153 GB, free: 121.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001248/7.156, allocations: 36 kB / 3.153 GB, free: 121.4 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.005088/7.161, allocations: 1.687 MB / 3.155 GB, free: 119.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/7.161, allocations: 12.03 kB / 3.155 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009304/7.17, allocations: 0.7987 MB / 3.155 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/7.173, allocations: 0.9278 MB / 3.156 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/7.173, allocations: 107.2 kB / 3.156 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/7.173, allocations: 144.4 kB / 3.156 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007609/7.181, allocations: 1.938 MB / 3.158 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/7.181, allocations: 4.125 kB / 3.158 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/7.181, allocations: 63.94 kB / 3.158 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/7.182, allocations: 66.75 kB / 3.158 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/7.192, allocations: 2.345 MB / 3.161 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/7.21, allocations: 6.163 MB / 3.167 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007762/7.217, allocations: 1.564 MB / 3.168 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/7.221, allocations: 0.7421 MB / 3.169 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/7.222, allocations: 490.6 kB / 3.169 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003869/7.226, allocations: 0.9171 MB / 3.17 GB, free: 102.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 5.81e-06/7.226, allocations: 0 / 3.17 GB, free: 102.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.01105/7.237, allocations: 2.18 MB / 3.173 GB, free: 100.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/7.237, allocations: 359.1 kB / 3.173 GB, free: 100.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/7.239, allocations: 0.8729 MB / 3.174 GB, free: 99.31 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004059/7.24, allocations: 49.7 kB / 3.174 GB, free: 99.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/7.24, allocations: 0.5858 MB / 3.174 GB, free: 98.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/7.241, allocations: 429.7 kB / 3.175 GB, free: 98.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/7.241, allocations: 24 kB / 3.175 GB, free: 98.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/7.241, allocations: 353.9 kB / 3.175 GB, free: 97.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/7.244, allocations: 0.5803 MB / 3.176 GB, free: 97.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/7.248, allocations: 0.789 MB / 3.176 GB, free: 96.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/7.254, allocations: 1.355 MB / 3.178 GB, free: 95.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/7.254, allocations: 4 kB / 3.178 GB, free: 95.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007767/7.262, allocations: 1.586 MB / 3.179 GB, free: 93.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/7.262, allocations: 171.9 kB / 3.179 GB, free: 93.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/7.262, allocations: 7.875 kB / 3.179 GB, free: 93.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/7.262, allocations: 36.84 kB / 3.18 GB, free: 93.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/7.266, allocations: 335.5 kB / 3.18 GB, free: 92.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/7.267, allocations: 1.288 MB / 3.181 GB, free: 91.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/7.27, allocations: 182.9 kB / 3.181 GB, free: 91.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/7.271, allocations: 59.95 kB / 3.181 GB, free: 91.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/7.271, allocations: 4 kB / 3.181 GB, free: 91.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007123/7.278, allocations: 1.464 MB / 3.183 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/7.278, allocations: 0 / 3.183 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/7.278, allocations: 8 kB / 3.183 GB, free: 89.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/7.281, allocations: 331.7 kB / 3.183 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/7.281, allocations: 15.88 kB / 3.183 GB, free: 89.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/7.284, allocations: 182.9 kB / 3.183 GB, free: 89.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/7.284, allocations: 55.95 kB / 3.183 GB, free: 89.15 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.00117/7.285, allocations: 438.8 kB / 3.184 GB, free: 88.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/7.286, allocations: 114.6 kB / 3.184 GB, free: 88.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/7.295, allocations: 1.888 MB / 3.186 GB, free: 86.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/7.295, allocations: 16 kB / 3.186 GB, free: 86.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/7.295, allocations: 0 / 3.186 GB, free: 86.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/7.295, allocations: 7.969 kB / 3.186 GB, free: 86.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/7.307, allocations: 3.731 MB / 3.189 GB, free: 82.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/7.307, allocations: 0 / 3.189 GB, free: 82.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/7.31, allocations: 303.7 kB / 3.19 GB, free: 82.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/7.31, allocations: 28.84 kB / 3.19 GB, free: 82.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/7.311, allocations: 47.95 kB / 3.19 GB, free: 82.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/7.312, allocations: 1.28 MB / 3.191 GB, free: 81.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/7.312, allocations: 0 / 3.191 GB, free: 81.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007431/7.319, allocations: 1.716 MB / 3.193 GB, free: 79.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/7.32, allocations: 422.8 kB / 3.193 GB, free: 78.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/7.321, allocations: 24 kB / 3.193 GB, free: 78.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/7.324, allocations: 135.9 kB / 3.193 GB, free: 78.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/7.324, allocations: 89.19 kB / 3.193 GB, free: 78.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/7.324, allocations: 51.95 kB / 3.193 GB, free: 78.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001346/7.326, allocations: 0.6369 MB / 3.194 GB, free: 77.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.6e-07/7.326, allocations: 4 kB / 3.194 GB, free: 77.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003099/7.329, allocations: 0.724 MB / 3.195 GB, free: 77.21 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) * Number of clocked states: 0 () * 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.001912/7.331, allocations: 0.6226 MB / 3.195 GB, free: 76.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01077/7.341, allocations: 2.384 MB / 3.198 GB, free: 74.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/7.341, allocations: 320 / 3.198 GB, free: 74.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00366/7.345, allocations: 0.9159 MB / 3.199 GB, free: 73.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/7.348, allocations: 304.3 kB / 3.199 GB, free: 73.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/7.357, allocations: 3.328 MB / 3.202 GB, free: 69.76 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/7.358, allocations: 1.234 MB / 3.203 GB, free: 68.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004462/7.362, allocations: 0.5209 MB / 3.204 GB, free: 67.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/7.363, allocations: 147.3 kB / 3.204 GB, free: 67.83 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/7.363, allocations: 0 / 3.204 GB, free: 67.83 MB / 0.948 GB Notification: Performance of Templates: time 0.05093/7.414, allocations: 19.23 MB / 3.223 GB, free: 48.71 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)