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.648/1.648, allocations: 289.7 MB / 302.3 MB, free: 2.105 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.00111/0.001111, allocations: 176.6 kB / 371.6 MB, free: 3.379 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.654/1.654, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.000948/0.000948, allocations: 90.48 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.124e-05, allocations: 0 / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.253, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.308/5.561, allocations: 2.106 GB / 3.086 GB, free: 134.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/5.562, allocations: 96.5 kB / 3.086 GB, free: 134.4 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.1461/5.708, allocations: 69.33 MB / 3.154 GB, free: 65.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/5.708, allocations: 0 / 3.154 GB, free: 65.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.261e-05/5.708, allocations: 39.94 kB / 3.154 GB, free: 65.01 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.002398/5.71, allocations: 1.559 MB / 3.155 GB, free: 63.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/5.71, allocations: 8.031 kB / 3.155 GB, free: 63.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/5.715, allocations: 0.8017 MB / 3.156 GB, free: 62.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/5.716, allocations: 0.8953 MB / 3.157 GB, free: 61.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/5.716, allocations: 106.9 kB / 3.157 GB, free: 61.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/5.717, allocations: 136 kB / 3.157 GB, free: 61.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/5.719, allocations: 1.715 MB / 3.159 GB, free: 59.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/5.719, allocations: 0 / 3.159 GB, free: 59.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/5.719, allocations: 64 kB / 3.159 GB, free: 59.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/5.719, allocations: 62.75 kB / 3.159 GB, free: 59.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/5.722, allocations: 1.936 MB / 3.161 GB, free: 57.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007964/5.73, allocations: 6.147 MB / 3.167 GB, free: 51.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/5.731, allocations: 1.298 MB / 3.168 GB, free: 49.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/5.732, allocations: 0.6073 MB / 3.169 GB, free: 49.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/5.733, allocations: 490.6 kB / 3.169 GB, free: 48.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009737/5.734, allocations: 0.7846 MB / 3.17 GB, free: 47.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 3.457e-06/5.734, allocations: 0 / 3.17 GB, free: 47.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.002/5.736, allocations: 1.235 MB / 3.171 GB, free: 46.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.355e-05/5.736, allocations: 351.1 kB / 3.172 GB, free: 46.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/5.737, allocations: 0.7707 MB / 3.172 GB, free: 45.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/5.737, allocations: 49.7 kB / 3.173 GB, free: 45.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/5.737, allocations: 0.5974 MB / 3.173 GB, free: 44.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/5.737, allocations: 425.8 kB / 3.173 GB, free: 44.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/5.737, allocations: 20 kB / 3.174 GB, free: 44.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/5.738, allocations: 349.9 kB / 3.174 GB, free: 43.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/5.738, allocations: 462.5 kB / 3.174 GB, free: 43.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/5.739, allocations: 0.6532 MB / 3.175 GB, free: 42.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/5.74, allocations: 0.5204 MB / 3.175 GB, free: 42.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/5.74, allocations: 3.938 kB / 3.175 GB, free: 42.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00187/5.742, allocations: 1.347 MB / 3.177 GB, free: 40.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/5.742, allocations: 1.048 MB / 3.178 GB, free: 39.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/5.742, allocations: 4 kB / 3.178 GB, free: 39.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/5.742, allocations: 32.78 kB / 3.178 GB, free: 39.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/5.744, allocations: 327.5 kB / 3.178 GB, free: 39.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002423/5.744, allocations: 0.5368 MB / 3.179 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/5.745, allocations: 190.8 kB / 3.179 GB, free: 38.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/5.745, allocations: 55.95 kB / 3.179 GB, free: 38.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/5.745, allocations: 4.938 kB / 3.179 GB, free: 38.64 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001732/5.747, allocations: 1.202 MB / 3.18 GB, free: 37.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/5.747, allocations: 3.938 kB / 3.18 GB, free: 37.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/5.747, allocations: 12 kB / 3.18 GB, free: 37.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/5.748, allocations: 323.9 kB / 3.18 GB, free: 37.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/5.749, allocations: 15.88 kB / 3.18 GB, free: 37.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/5.75, allocations: 182.9 kB / 3.181 GB, free: 36.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/5.75, allocations: 55.95 kB / 3.181 GB, free: 36.85 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.0002708/5.75, allocations: 180.7 kB / 3.181 GB, free: 36.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/5.75, allocations: 122.5 kB / 3.181 GB, free: 36.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/5.753, allocations: 1.634 MB / 3.183 GB, free: 34.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/5.753, allocations: 12 kB / 3.183 GB, free: 34.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/5.753, allocations: 0 / 3.183 GB, free: 34.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/5.753, allocations: 11.97 kB / 3.183 GB, free: 34.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/5.757, allocations: 3.467 MB / 3.186 GB, free: 31.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/5.757, allocations: 0 / 3.186 GB, free: 31.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/5.759, allocations: 319.6 kB / 3.186 GB, free: 31.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/5.759, allocations: 28.78 kB / 3.186 GB, free: 30.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/5.759, allocations: 39.97 kB / 3.186 GB, free: 30.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006052/5.76, allocations: 1.28 MB / 3.188 GB, free: 29.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/5.76, allocations: 0 / 3.188 GB, free: 29.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/5.761, allocations: 1.501 MB / 3.189 GB, free: 27.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/5.762, allocations: 415 kB / 3.189 GB, free: 27.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/5.762, allocations: 28 kB / 3.189 GB, free: 27.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/5.763, allocations: 131.9 kB / 3.19 GB, free: 27.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/5.764, allocations: 93.17 kB / 3.19 GB, free: 27.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/5.764, allocations: 55.97 kB / 3.19 GB, free: 27.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007611/5.764, allocations: 0.6295 MB / 3.19 GB, free: 26.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/5.764, allocations: 0 / 3.19 GB, free: 26.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001844/5.766, allocations: 0.732 MB / 3.191 GB, free: 25.86 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.001184/5.767, allocations: 0.5907 MB / 3.192 GB, free: 25.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002815/5.77, allocations: 1.915 MB / 3.193 GB, free: 23.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/5.77, allocations: 0 / 3.193 GB, free: 23.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/5.771, allocations: 0.7753 MB / 3.194 GB, free: 22.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/5.772, allocations: 292.6 kB / 3.195 GB, free: 22.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/5.775, allocations: 2.018 MB / 3.196 GB, free: 20.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/5.776, allocations: 1.262 MB / 3.198 GB, free: 19.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002492/5.779, allocations: 0.6183 MB / 3.198 GB, free: 18.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/5.779, allocations: 135.3 kB / 3.198 GB, free: 18.29 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/5.779, allocations: 0 / 3.198 GB, free: 18.29 MB / 0.948 GB Notification: Performance of Templates: time 0.5348/6.314, allocations: 20.54 MB / 3.219 GB, free: 244.1 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)