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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001047/0.001047, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.468/1.468, allocations: 205.2 MB / 0.626 GB, free: 7.113 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.0008514/0.0008514, allocations: 83.52 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.531e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6245, allocations: 116.3 MB / 0.9732 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.96/5.584, allocations: 2.106 GB / 3.079 GB, free: 283.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/5.584, allocations: 98.27 kB / 3.079 GB, free: 283.9 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 - DAE generated: time 0.1533/5.738, allocations: 68.07 MB / 3.145 GB, free: 262.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/5.738, allocations: 0 / 3.145 GB, free: 262.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001467/5.738, allocations: 42.19 kB / 3.146 GB, free: 262.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.003781/5.742, allocations: 1.552 MB / 3.147 GB, free: 261.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/5.742, allocations: 7.656 kB / 3.147 GB, free: 261.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/5.747, allocations: 0.8107 MB / 3.148 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/5.749, allocations: 0.8778 MB / 3.149 GB, free: 260.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/5.75, allocations: 46.97 kB / 3.149 GB, free: 260.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/5.75, allocations: 82.22 kB / 3.149 GB, free: 260.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003611/5.754, allocations: 1.847 MB / 3.151 GB, free: 260.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/5.757, allocations: 1.508 MB / 3.152 GB, free: 260 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/5.757, allocations: 3.938 kB / 3.152 GB, free: 260 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/5.757, allocations: 3.906 kB / 3.152 GB, free: 260 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/5.757, allocations: 64.59 kB / 3.152 GB, free: 259.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009895/5.767, allocations: 5.889 MB / 3.158 GB, free: 256.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/5.769, allocations: 1.225 MB / 3.159 GB, free: 256.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/5.77, allocations: 0.5741 MB / 3.16 GB, free: 256.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/5.771, allocations: 489.2 kB / 3.16 GB, free: 256 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009918/5.772, allocations: 0.7506 MB / 3.161 GB, free: 255.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.278e-06/5.772, allocations: 0 / 3.161 GB, free: 255.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.004261/5.776, allocations: 1.649 MB / 3.162 GB, free: 255.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/5.776, allocations: 350.6 kB / 3.163 GB, free: 254.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/5.777, allocations: 0.669 MB / 3.163 GB, free: 254.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/5.777, allocations: 25.7 kB / 3.164 GB, free: 254.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/5.778, allocations: 0.593 MB / 3.164 GB, free: 254.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/5.778, allocations: 405.3 kB / 3.164 GB, free: 254.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/5.778, allocations: 1.875 kB / 3.164 GB, free: 254.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/5.778, allocations: 353.2 kB / 3.165 GB, free: 253.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/5.779, allocations: 441.4 kB / 3.165 GB, free: 253.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000797/5.78, allocations: 0.6269 MB / 3.166 GB, free: 253.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/5.783, allocations: 0.9745 MB / 3.167 GB, free: 253.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/5.783, allocations: 7.875 kB / 3.167 GB, free: 253.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00436/5.787, allocations: 1.719 MB / 3.168 GB, free: 252.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002301/5.787, allocations: 1.056 MB / 3.17 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/5.787, allocations: 0 / 3.17 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/5.787, allocations: 34.31 kB / 3.17 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/5.789, allocations: 327.2 kB / 3.17 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002814/5.789, allocations: 0.5368 MB / 3.17 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/5.791, allocations: 157.3 kB / 3.171 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/5.791, allocations: 57.83 kB / 3.171 GB, free: 251.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/5.791, allocations: 3.188 kB / 3.171 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004023/5.795, allocations: 1.568 MB / 3.172 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/5.795, allocations: 11.84 kB / 3.172 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/5.795, allocations: 8.156 kB / 3.172 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/5.797, allocations: 328.3 kB / 3.172 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/5.797, allocations: 15.22 kB / 3.172 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/5.798, allocations: 145.5 kB / 3.173 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/5.798, allocations: 57.8 kB / 3.173 GB, free: 250.6 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.000379/5.799, allocations: 140.1 kB / 3.173 GB, free: 250.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/5.799, allocations: 113.5 kB / 3.173 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/5.805, allocations: 2.006 MB / 3.175 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/5.805, allocations: 15.69 kB / 3.175 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/5.805, allocations: 0 / 3.175 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/5.805, allocations: 15.91 kB / 3.175 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007664/5.812, allocations: 3.665 MB / 3.178 GB, free: 247.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/5.812, allocations: 3.953 kB / 3.178 GB, free: 247.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/5.814, allocations: 307 kB / 3.179 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/5.814, allocations: 34.97 kB / 3.179 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/5.814, allocations: 27.97 kB / 3.179 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006792/5.815, allocations: 1.233 MB / 3.18 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/5.815, allocations: 0 / 3.18 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/5.819, allocations: 1.9 MB / 3.182 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/5.82, allocations: 403.1 kB / 3.182 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/5.82, allocations: 7.953 kB / 3.182 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/5.822, allocations: 111.9 kB / 3.182 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/5.822, allocations: 93.17 kB / 3.182 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/5.822, allocations: 47.97 kB / 3.183 GB, free: 243.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008373/5.823, allocations: 0.5343 MB / 3.183 GB, free: 242.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/5.823, allocations: 0 / 3.183 GB, free: 242.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002283/5.825, allocations: 0.6768 MB / 3.184 GB, free: 242.2 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.001413/5.826, allocations: 0.5302 MB / 3.184 GB, free: 241.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00271/5.829, allocations: 1.82 MB / 3.186 GB, free: 240 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/5.829, allocations: 0 / 3.186 GB, free: 240 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008735/5.83, allocations: 0.7527 MB / 3.187 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/5.831, allocations: 253.3 kB / 3.187 GB, free: 239 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/5.835, allocations: 1.941 MB / 3.189 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/5.835, allocations: 1.27 MB / 3.19 GB, free: 235.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002725/5.838, allocations: 0.6057 MB / 3.191 GB, free: 235.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/5.839, allocations: 119.4 kB / 3.191 GB, free: 235 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/5.839, allocations: 0 / 3.191 GB, free: 235 MB / 0.948 GB Notification: Performance of Templates: time 0.02757/5.866, allocations: 19.26 MB / 3.21 GB, free: 215.8 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)