Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 175.5 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.494/2.494, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 100.5 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006317/0.0006318, allocations: 15.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2058, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.345/7.551, allocations: 2.223 GB / 3.122 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/7.551, allocations: 103.3 kB / 3.122 GB, free: 238.7 MB / 0.8855 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.2767/7.828, allocations: 69.76 MB / 3.19 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.517e-06/7.828, allocations: 0 / 3.19 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001576/7.828, allocations: 41.98 kB / 3.191 GB, free: 222.4 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.006486/7.835, allocations: 1.697 MB / 3.192 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/7.835, allocations: 7.5 kB / 3.192 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009776/7.845, allocations: 0.8145 MB / 3.193 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/7.848, allocations: 0.8881 MB / 3.194 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/7.848, allocations: 109.5 kB / 3.194 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/7.849, allocations: 142.4 kB / 3.194 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/7.857, allocations: 1.924 MB / 3.196 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/7.857, allocations: 4 kB / 3.196 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/7.857, allocations: 59.75 kB / 3.196 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/7.857, allocations: 67.95 kB / 3.196 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/7.868, allocations: 2.353 MB / 3.198 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/7.887, allocations: 6.143 MB / 3.204 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/7.895, allocations: 1.576 MB / 3.206 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/7.896, allocations: 483.7 kB / 3.206 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004035/7.9, allocations: 0.9245 MB / 3.207 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=128): time 5.871e-06/7.9, allocations: 0 / 3.207 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128): time 0.01135/7.911, allocations: 2.175 MB / 3.209 GB, free: 214 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/7.912, allocations: 357.5 kB / 3.21 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/7.913, allocations: 0.7766 MB / 3.211 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004982/7.914, allocations: 51.52 kB / 3.211 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005946/7.914, allocations: 0.5944 MB / 3.211 GB, free: 213 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/7.915, allocations: 426.7 kB / 3.212 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/7.915, allocations: 21.12 kB / 3.212 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001223/7.915, allocations: 354.6 kB / 3.212 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/7.919, allocations: 0.5796 MB / 3.212 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/7.922, allocations: 0.7894 MB / 3.213 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/7.926, allocations: 0.654 MB / 3.214 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/7.926, allocations: 3.938 kB / 3.214 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008105/7.934, allocations: 1.598 MB / 3.215 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/7.934, allocations: 1.056 MB / 3.216 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/7.934, allocations: 7.969 kB / 3.216 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/7.935, allocations: 28.5 kB / 3.217 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/7.938, allocations: 329.7 kB / 3.217 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000456/7.939, allocations: 0.5466 MB / 3.217 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/7.942, allocations: 184 kB / 3.218 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/7.942, allocations: 57.86 kB / 3.218 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/7.942, allocations: 3.844 kB / 3.218 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007167/7.949, allocations: 1.468 MB / 3.219 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/7.949, allocations: 4 kB / 3.219 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/7.949, allocations: 8 kB / 3.219 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/7.953, allocations: 331.1 kB / 3.219 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/7.953, allocations: 12 kB / 3.219 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/7.956, allocations: 181.5 kB / 3.22 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/7.957, allocations: 58.89 kB / 3.22 GB, free: 208.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.001326/7.958, allocations: 437.8 kB / 3.22 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/7.958, allocations: 114.6 kB / 3.22 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009454/7.968, allocations: 1.902 MB / 3.222 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/7.968, allocations: 12 kB / 3.222 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/7.968, allocations: 3.938 kB / 3.222 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/7.968, allocations: 11.97 kB / 3.222 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/7.98, allocations: 3.577 MB / 3.225 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/7.98, allocations: 4 kB / 3.225 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/7.983, allocations: 302.9 kB / 3.226 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/7.983, allocations: 33.53 kB / 3.226 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/7.983, allocations: 41.2 kB / 3.226 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000994/7.985, allocations: 1.276 MB / 3.227 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/7.985, allocations: 4.031 kB / 3.227 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009282/7.994, allocations: 1.718 MB / 3.229 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/7.995, allocations: 418.5 kB / 3.229 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/7.996, allocations: 31.06 kB / 3.229 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/7.999, allocations: 139.4 kB / 3.229 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/8, allocations: 83.31 kB / 3.229 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/8, allocations: 53.95 kB / 3.229 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001899/8.002, allocations: 0.6329 MB / 3.23 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/8.002, allocations: 0 / 3.23 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003969/8.006, allocations: 0.7355 MB / 3.231 GB, free: 199.1 MB / 0.8855 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.002493/8.008, allocations: 0.6255 MB / 3.231 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01387/8.022, allocations: 2.289 MB / 3.234 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/8.022, allocations: 4.312 kB / 3.234 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004586/8.027, allocations: 0.9041 MB / 3.235 GB, free: 196 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/8.03, allocations: 290.4 kB / 3.235 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/8.041, allocations: 3.307 MB / 3.238 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/8.042, allocations: 1.262 MB / 3.239 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005882/8.048, allocations: 0.5168 MB / 3.24 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/8.049, allocations: 151.3 kB / 3.24 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.202e-06/8.049, allocations: 0 / 3.24 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.052/8.101, allocations: 19.03 MB / 3.259 GB, free: 171.5 MB / 0.8855 GB