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.652/1.652, allocations: 285.4 MB / 298 MB, free: 6.004 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.001142/0.001142, allocations: 180.9 kB / 366.4 MB, free: 2.09 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.576/1.576, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008981/0.0008981, allocations: 104.4 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.372e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7061, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.191/4.897, allocations: 2.105 GB / 3.076 GB, free: 39.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/4.898, allocations: 95.94 kB / 3.076 GB, free: 39.39 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.6494/5.547, allocations: 69.34 MB / 3.144 GB, free: 322.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/5.547, allocations: 0 / 3.144 GB, free: 322.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002082/5.547, allocations: 40.25 kB / 3.144 GB, free: 322.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.004902/5.552, allocations: 1.545 MB / 3.146 GB, free: 321.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/5.552, allocations: 9.562 kB / 3.146 GB, free: 321.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/5.558, allocations: 0.8026 MB / 3.146 GB, free: 321.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/5.562, allocations: 0.8902 MB / 3.147 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/5.562, allocations: 110.9 kB / 3.147 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000609/5.562, allocations: 134.7 kB / 3.148 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005248/5.568, allocations: 1.717 MB / 3.149 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/5.568, allocations: 3.625 kB / 3.149 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004043/5.568, allocations: 62.53 kB / 3.149 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/5.568, allocations: 61.55 kB / 3.149 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004552/5.573, allocations: 1.936 MB / 3.151 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/5.584, allocations: 6.15 MB / 3.157 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/5.587, allocations: 1.298 MB / 3.158 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/5.588, allocations: 0.6149 MB / 3.159 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/5.588, allocations: 487.4 kB / 3.16 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/5.59, allocations: 0.7857 MB / 3.16 GB, free: 316.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 6.372e-06/5.59, allocations: 3.094 kB / 3.16 GB, free: 316.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.002712/5.592, allocations: 1.232 MB / 3.162 GB, free: 315.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/5.592, allocations: 352.6 kB / 3.162 GB, free: 315.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/5.594, allocations: 0.7649 MB / 3.163 GB, free: 315 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/5.594, allocations: 53.05 kB / 3.163 GB, free: 315 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/5.594, allocations: 0.5983 MB / 3.163 GB, free: 314.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/5.595, allocations: 425.4 kB / 3.164 GB, free: 314.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/5.595, allocations: 25.19 kB / 3.164 GB, free: 314.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/5.595, allocations: 348.7 kB / 3.164 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/5.596, allocations: 462.2 kB / 3.164 GB, free: 313.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/5.597, allocations: 0.6567 MB / 3.165 GB, free: 313.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/5.598, allocations: 0.5192 MB / 3.166 GB, free: 313 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/5.598, allocations: 2.594 kB / 3.166 GB, free: 313 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002565/5.6, allocations: 1.33 MB / 3.167 GB, free: 312.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/5.601, allocations: 1.067 MB / 3.168 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/5.601, allocations: 2.625 kB / 3.168 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/5.601, allocations: 31.05 kB / 3.168 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/5.603, allocations: 324.9 kB / 3.168 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002934/5.603, allocations: 0.5475 MB / 3.169 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/5.604, allocations: 180.3 kB / 3.169 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/5.605, allocations: 53.44 kB / 3.169 GB, free: 310.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/5.605, allocations: 3.812 kB / 3.169 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002149/5.607, allocations: 1.204 MB / 3.17 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/5.607, allocations: 7.734 kB / 3.17 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/5.607, allocations: 8.125 kB / 3.17 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/5.609, allocations: 330 kB / 3.171 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/5.609, allocations: 12.03 kB / 3.171 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/5.61, allocations: 182.8 kB / 3.171 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/5.61, allocations: 62.14 kB / 3.171 GB, free: 310.2 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.0003653/5.611, allocations: 169.7 kB / 3.171 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/5.611, allocations: 117.1 kB / 3.171 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/5.614, allocations: 1.643 MB / 3.173 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/5.614, allocations: 13.69 kB / 3.173 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/5.614, allocations: 2.812 kB / 3.173 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/5.614, allocations: 8.594 kB / 3.173 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/5.619, allocations: 3.483 MB / 3.176 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/5.619, allocations: 0 / 3.176 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/5.621, allocations: 306.7 kB / 3.176 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/5.621, allocations: 26.72 kB / 3.176 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/5.621, allocations: 40.5 kB / 3.176 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/5.622, allocations: 1.279 MB / 3.178 GB, free: 306.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/5.622, allocations: 0 / 3.178 GB, free: 306.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/5.624, allocations: 1.495 MB / 3.179 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/5.625, allocations: 419.6 kB / 3.18 GB, free: 305.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/5.625, allocations: 34.62 kB / 3.18 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/5.626, allocations: 126.5 kB / 3.18 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/5.627, allocations: 98.48 kB / 3.18 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/5.627, allocations: 51.77 kB / 3.18 GB, free: 305.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007978/5.628, allocations: 0.6277 MB / 3.18 GB, free: 304.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/5.628, allocations: 0 / 3.18 GB, free: 304.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00206/5.63, allocations: 0.7322 MB / 3.181 GB, free: 304.6 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.001298/5.631, allocations: 0.5809 MB / 3.182 GB, free: 304.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003118/5.634, allocations: 1.923 MB / 3.184 GB, free: 303.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.634, allocations: 0 / 3.184 GB, free: 303.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/5.635, allocations: 0.7718 MB / 3.184 GB, free: 303.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/5.636, allocations: 300.2 kB / 3.185 GB, free: 303.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/5.64, allocations: 2.017 MB / 3.187 GB, free: 302.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/5.641, allocations: 1.265 MB / 3.188 GB, free: 301.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002813/5.644, allocations: 0.6276 MB / 3.188 GB, free: 301.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/5.644, allocations: 127 kB / 3.189 GB, free: 301.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/5.644, allocations: 0 / 3.189 GB, free: 301.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03205/5.676, allocations: 20.55 MB / 3.209 GB, free: 291.7 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)