Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001056, allocations: 181 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.5785 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007455/0.0007455, allocations: 78.42 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 13.75 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1963, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.747/4.943, allocations: 2.224 GB / 3.125 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/4.943, allocations: 106 kB / 3.125 GB, free: 324.9 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.1663/5.11, allocations: 69.66 MB / 3.193 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.125e-06/5.11, allocations: 0 / 3.193 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002075/5.11, allocations: 39.98 kB / 3.193 GB, free: 291.6 MB / 0.8855 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.005316/5.115, allocations: 1.682 MB / 3.195 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/5.115, allocations: 8.031 kB / 3.195 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/5.121, allocations: 0.8142 MB / 3.195 GB, free: 289 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/5.123, allocations: 0.924 MB / 3.196 GB, free: 288 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/5.123, allocations: 111.2 kB / 3.196 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004791/5.123, allocations: 136.4 kB / 3.197 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/5.128, allocations: 1.938 MB / 3.198 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/5.128, allocations: 4.125 kB / 3.198 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/5.129, allocations: 63.94 kB / 3.199 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.492e-05/5.129, allocations: 66.75 kB / 3.199 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/5.134, allocations: 2.348 MB / 3.201 GB, free: 283.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/5.145, allocations: 6.158 MB / 3.207 GB, free: 276.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/5.149, allocations: 1.576 MB / 3.208 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/5.151, allocations: 0.7382 MB / 3.209 GB, free: 274.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006015/5.151, allocations: 498.5 kB / 3.21 GB, free: 274 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/5.153, allocations: 0.9133 MB / 3.211 GB, free: 273 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=128): time 6.012e-06/5.153, allocations: 0 / 3.211 GB, free: 273 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128): time 0.005309/5.158, allocations: 2.172 MB / 3.213 GB, free: 270.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/5.159, allocations: 351.1 kB / 3.213 GB, free: 270.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/5.16, allocations: 0.8807 MB / 3.214 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/5.16, allocations: 45.7 kB / 3.214 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/5.161, allocations: 0.5935 MB / 3.214 GB, free: 268.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/5.161, allocations: 425.8 kB / 3.215 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/5.161, allocations: 24 kB / 3.215 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000101/5.161, allocations: 357.9 kB / 3.215 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/5.163, allocations: 0.5803 MB / 3.216 GB, free: 267.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/5.164, allocations: 0.7922 MB / 3.217 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/5.167, allocations: 1.348 MB / 3.218 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/5.167, allocations: 4 kB / 3.218 GB, free: 265.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004008/5.171, allocations: 1.594 MB / 3.219 GB, free: 263.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/5.171, allocations: 175.8 kB / 3.22 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/5.172, allocations: 7.938 kB / 3.22 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/5.172, allocations: 28.84 kB / 3.22 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/5.173, allocations: 335.5 kB / 3.22 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/5.175, allocations: 1.289 MB / 3.221 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/5.176, allocations: 186.9 kB / 3.221 GB, free: 261.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/5.177, allocations: 55.95 kB / 3.221 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/5.177, allocations: 4 kB / 3.221 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003321/5.18, allocations: 1.467 MB / 3.223 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/5.18, allocations: 0 / 3.223 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/5.18, allocations: 8 kB / 3.223 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/5.181, allocations: 327.7 kB / 3.223 GB, free: 259.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/5.181, allocations: 15.88 kB / 3.223 GB, free: 259.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/5.183, allocations: 182.9 kB / 3.223 GB, free: 259.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/5.183, allocations: 59.95 kB / 3.223 GB, free: 259.3 MB / 0.8855 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.001003/5.184, allocations: 428.8 kB / 3.224 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/5.184, allocations: 114.6 kB / 3.224 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/5.189, allocations: 1.888 MB / 3.226 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/5.189, allocations: 16 kB / 3.226 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/5.189, allocations: 0 / 3.226 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/5.189, allocations: 7.969 kB / 3.226 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006447/5.195, allocations: 3.73 MB / 3.23 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/5.195, allocations: 0 / 3.23 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/5.197, allocations: 303.7 kB / 3.23 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/5.197, allocations: 36.83 kB / 3.23 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/5.197, allocations: 47.97 kB / 3.23 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006566/5.198, allocations: 1.276 MB / 3.231 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/5.198, allocations: 0 / 3.231 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/5.201, allocations: 1.712 MB / 3.233 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/5.202, allocations: 415 kB / 3.233 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/5.202, allocations: 28 kB / 3.233 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/5.203, allocations: 131.9 kB / 3.233 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/5.204, allocations: 89.19 kB / 3.233 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/5.204, allocations: 59.89 kB / 3.233 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008985/5.205, allocations: 0.6369 MB / 3.234 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/5.205, allocations: 4 kB / 3.234 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002326/5.207, allocations: 0.7359 MB / 3.235 GB, free: 247.4 MB / 0.8855 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.001503/5.209, allocations: 0.6061 MB / 3.235 GB, free: 247 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005294/5.214, allocations: 2.392 MB / 3.238 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/5.214, allocations: 4 kB / 3.238 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/5.216, allocations: 0.9084 MB / 3.239 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/5.217, allocations: 308.7 kB / 3.239 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/5.222, allocations: 3.324 MB / 3.242 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/5.223, allocations: 1.24 MB / 3.243 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002493/5.226, allocations: 0.5131 MB / 3.244 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/5.226, allocations: 151.3 kB / 3.244 GB, free: 238 MB / 0.8855 GB Notification: Performance of SimCode: time 5.92e-07/5.226, allocations: 0 / 3.244 GB, free: 238 MB / 0.8855 GB Notification: Performance of Templates: time 0.03044/5.257, allocations: 19.39 MB / 3.263 GB, free: 218.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)