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.809/1.809, allocations: 292.6 MB / 307.6 MB, free: 5.242 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.001886/0.001885, allocations: 173.2 kB / 377.1 MB, free: 1.527 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.971/1.971, allocations: 205.4 MB / 0.6367 GB, free: 8.633 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.001071/0.001071, allocations: 90.3 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.714/4.941, allocations: 2.106 GB / 3.095 GB, free: 74.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004189/4.942, allocations: 104.5 kB / 3.095 GB, free: 74.67 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.1551/5.097, allocations: 69.74 MB / 3.163 GB, free: 4.871 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.25e-06/5.097, allocations: 3.984 kB / 3.163 GB, free: 4.867 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001041/5.097, allocations: 36 kB / 3.163 GB, free: 4.832 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.003256/5.101, allocations: 1.703 MB / 3.165 GB, free: 3.066 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/5.101, allocations: 16.02 kB / 3.165 GB, free: 3.051 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/5.106, allocations: 0.7978 MB / 3.165 GB, free: 2.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/5.107, allocations: 0.9032 MB / 3.166 GB, free: 1.309 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/5.107, allocations: 102.9 kB / 3.166 GB, free: 1.207 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/5.108, allocations: 140 kB / 3.167 GB, free: 1.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7702/5.878, allocations: 1.919 MB / 3.168 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/5.878, allocations: 3.266 kB / 3.168 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/5.878, allocations: 63.72 kB / 3.169 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/5.878, allocations: 70.83 kB / 3.169 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006193/5.885, allocations: 2.351 MB / 3.171 GB, free: 250.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/5.895, allocations: 6.152 MB / 3.177 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/5.899, allocations: 1.57 MB / 3.178 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/5.9, allocations: 486.9 kB / 3.179 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/5.902, allocations: 0.918 MB / 3.18 GB, free: 247.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.779e-06/5.902, allocations: 0 / 3.18 GB, free: 247.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.006684/5.909, allocations: 2.181 MB / 3.182 GB, free: 247.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/5.909, allocations: 349.4 kB / 3.182 GB, free: 246.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/5.91, allocations: 0.7764 MB / 3.183 GB, free: 246.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/5.911, allocations: 56.34 kB / 3.183 GB, free: 246.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/5.911, allocations: 0.5927 MB / 3.184 GB, free: 246.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/5.912, allocations: 420.9 kB / 3.184 GB, free: 246.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/5.912, allocations: 26.88 kB / 3.184 GB, free: 246.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000136/5.912, allocations: 352.2 kB / 3.184 GB, free: 246 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/5.914, allocations: 0.584 MB / 3.185 GB, free: 246 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/5.916, allocations: 0.786 MB / 3.186 GB, free: 245.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/5.918, allocations: 0.6507 MB / 3.186 GB, free: 245.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/5.918, allocations: 4.562 kB / 3.186 GB, free: 245.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005148/5.923, allocations: 1.597 MB / 3.188 GB, free: 245.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003948/5.923, allocations: 1.057 MB / 3.189 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/5.923, allocations: 2.188 kB / 3.189 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/5.924, allocations: 31.34 kB / 3.189 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/5.926, allocations: 329.1 kB / 3.189 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003993/5.926, allocations: 0.5467 MB / 3.19 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/5.928, allocations: 182.5 kB / 3.19 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/5.928, allocations: 59.62 kB / 3.19 GB, free: 244.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/5.928, allocations: 4.5 kB / 3.19 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004531/5.933, allocations: 1.464 MB / 3.192 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/5.933, allocations: 1.469 kB / 3.192 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/5.933, allocations: 9.656 kB / 3.192 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/5.935, allocations: 335.4 kB / 3.192 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/5.935, allocations: 10.98 kB / 3.192 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/5.936, allocations: 183.2 kB / 3.192 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/5.936, allocations: 53.45 kB / 3.192 GB, free: 244 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.001236/5.938, allocations: 443.9 kB / 3.193 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/5.938, allocations: 122.5 kB / 3.193 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/5.944, allocations: 1.894 MB / 3.194 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/5.944, allocations: 13.44 kB / 3.194 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/5.944, allocations: 5.125 kB / 3.194 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/5.944, allocations: 8.094 kB / 3.194 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007613/5.951, allocations: 3.578 MB / 3.198 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/5.951, allocations: 0 / 3.198 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/5.953, allocations: 305.5 kB / 3.198 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/5.953, allocations: 36.64 kB / 3.198 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/5.953, allocations: 39.11 kB / 3.198 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/5.955, allocations: 1.279 MB / 3.2 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.955, allocations: 3.844 kB / 3.2 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/5.959, allocations: 1.722 MB / 3.201 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007061/5.959, allocations: 413 kB / 3.202 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/5.96, allocations: 29.62 kB / 3.202 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/5.961, allocations: 135.1 kB / 3.202 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/5.961, allocations: 95.7 kB / 3.202 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/5.961, allocations: 53.3 kB / 3.202 GB, free: 241.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001186/5.963, allocations: 0.6335 MB / 3.203 GB, free: 241.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/5.963, allocations: 4 kB / 3.203 GB, free: 241.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00302/5.966, allocations: 0.7314 MB / 3.203 GB, free: 240.9 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.002138/5.968, allocations: 0.6159 MB / 3.204 GB, free: 240.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00689/5.975, allocations: 2.288 MB / 3.206 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/5.975, allocations: 3.062 kB / 3.206 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/5.977, allocations: 0.9006 MB / 3.207 GB, free: 240.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/5.979, allocations: 286.3 kB / 3.207 GB, free: 240.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/5.984, allocations: 3.306 MB / 3.211 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/5.985, allocations: 1.267 MB / 3.212 GB, free: 238.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002781/5.988, allocations: 0.5267 MB / 3.212 GB, free: 238.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/5.989, allocations: 150.4 kB / 3.212 GB, free: 238.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.003e-06/5.989, allocations: 0 / 3.212 GB, free: 238.2 MB / 0.948 GB Notification: Performance of Templates: time 0.03667/6.025, allocations: 19.04 MB / 3.231 GB, free: 237 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)