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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 293 MB / 309 MB, free: 4.82 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.0009858/0.0009855, allocations: 174.2 kB / 378.7 MB, free: 1.027 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.539/1.539, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0007908/0.0007908, allocations: 88.5 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.5/5.742, allocations: 2.107 GB / 3.097 GB, free: 107.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.743, allocations: 100.6 kB / 3.097 GB, free: 107.6 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-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.1-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.1551/5.898, allocations: 69.66 MB / 3.165 GB, free: 37.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.851e-06/5.898, allocations: 0 / 3.165 GB, free: 37.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001584/5.898, allocations: 39.94 kB / 3.165 GB, free: 37.91 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.004194/5.902, allocations: 1.683 MB / 3.167 GB, free: 36.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/5.902, allocations: 8.031 kB / 3.167 GB, free: 36.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/5.907, allocations: 0.8026 MB / 3.168 GB, free: 35.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/5.909, allocations: 0.9278 MB / 3.169 GB, free: 34.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/5.909, allocations: 107.2 kB / 3.169 GB, free: 34.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/5.909, allocations: 136.4 kB / 3.169 GB, free: 34.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/5.913, allocations: 1.952 MB / 3.171 GB, free: 32.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/5.913, allocations: 192 / 3.171 GB, free: 32.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/5.914, allocations: 63.94 kB / 3.171 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.942e-05/5.914, allocations: 62.75 kB / 3.171 GB, free: 31.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/5.918, allocations: 2.356 MB / 3.173 GB, free: 29.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009715/5.928, allocations: 6.162 MB / 3.179 GB, free: 23.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/5.931, allocations: 1.568 MB / 3.181 GB, free: 21.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/5.933, allocations: 0.739 MB / 3.181 GB, free: 20.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/5.934, allocations: 490.6 kB / 3.182 GB, free: 20.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/5.935, allocations: 0.921 MB / 3.183 GB, free: 19.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.388e-06/5.935, allocations: 4 kB / 3.183 GB, free: 19.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.004977/5.94, allocations: 2.176 MB / 3.185 GB, free: 17.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/5.94, allocations: 351.1 kB / 3.185 GB, free: 16.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/5.941, allocations: 0.8807 MB / 3.186 GB, free: 15.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/5.942, allocations: 45.7 kB / 3.186 GB, free: 15.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/5.942, allocations: 0.5897 MB / 3.187 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/5.942, allocations: 433.7 kB / 3.187 GB, free: 14.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/5.942, allocations: 20 kB / 3.187 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/5.942, allocations: 361.9 kB / 3.187 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/5.944, allocations: 0.5841 MB / 3.188 GB, free: 13.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/5.945, allocations: 0.7852 MB / 3.189 GB, free: 12.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/5.948, allocations: 1.352 MB / 3.19 GB, free: 11.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/5.948, allocations: 0 / 3.19 GB, free: 11.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003623/5.952, allocations: 1.594 MB / 3.192 GB, free: 10 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/5.952, allocations: 163.9 kB / 3.192 GB, free: 9.801 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/5.952, allocations: 7.938 kB / 3.192 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/5.952, allocations: 44.77 kB / 3.192 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/5.953, allocations: 319.6 kB / 3.192 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009336/5.954, allocations: 1.292 MB / 3.193 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/5.956, allocations: 186.9 kB / 3.194 GB, free: 7.828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/5.956, allocations: 55.95 kB / 3.194 GB, free: 7.773 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/5.956, allocations: 7.938 kB / 3.194 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003221/5.959, allocations: 1.456 MB / 3.195 GB, free: 6.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/5.959, allocations: 4 kB / 3.195 GB, free: 6.305 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/5.959, allocations: 8 kB / 3.195 GB, free: 6.297 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/5.961, allocations: 335.7 kB / 3.195 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/5.961, allocations: 15.92 kB / 3.195 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/5.962, allocations: 178.9 kB / 3.196 GB, free: 5.777 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/5.962, allocations: 55.95 kB / 3.196 GB, free: 5.723 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.001049/5.963, allocations: 428.8 kB / 3.196 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/5.964, allocations: 118.6 kB / 3.196 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/5.968, allocations: 1.899 MB / 3.198 GB, free: 3.258 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/5.968, allocations: 16 kB / 3.198 GB, free: 3.242 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/5.968, allocations: 4 kB / 3.198 GB, free: 3.238 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/5.968, allocations: 7.969 kB / 3.198 GB, free: 3.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6248/6.593, allocations: 3.717 MB / 3.202 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/6.593, allocations: 0 / 3.202 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/6.595, allocations: 307.5 kB / 3.202 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/6.595, allocations: 31.08 kB / 3.202 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/6.595, allocations: 39.84 kB / 3.202 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008029/6.596, allocations: 1.282 MB / 3.203 GB, free: 244.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/6.596, allocations: 0.6562 kB / 3.203 GB, free: 244.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/6.6, allocations: 1.704 MB / 3.205 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/6.601, allocations: 422.4 kB / 3.205 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/6.601, allocations: 33.14 kB / 3.205 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/6.602, allocations: 131.7 kB / 3.206 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/6.602, allocations: 87.83 kB / 3.206 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/6.603, allocations: 54.05 kB / 3.206 GB, free: 244.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009115/6.604, allocations: 0.6401 MB / 3.206 GB, free: 244.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.604, allocations: 3.938 kB / 3.206 GB, free: 244.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001952/6.605, allocations: 0.7317 MB / 3.207 GB, free: 244.3 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.001565/6.607, allocations: 0.6062 MB / 3.208 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005824/6.613, allocations: 2.384 MB / 3.21 GB, free: 244 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/6.613, allocations: 2.094 kB / 3.21 GB, free: 244 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/6.615, allocations: 0.9056 MB / 3.211 GB, free: 243.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/6.617, allocations: 312 kB / 3.211 GB, free: 243.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/6.622, allocations: 3.332 MB / 3.214 GB, free: 242.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/6.623, allocations: 1.236 MB / 3.216 GB, free: 241.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003013/6.626, allocations: 0.5205 MB / 3.216 GB, free: 241.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/6.627, allocations: 154.5 kB / 3.216 GB, free: 241.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/6.627, allocations: 0 / 3.216 GB, free: 241.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04214/6.669, allocations: 19.42 MB / 3.235 GB, free: 240.6 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)