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.369/2.369, allocations: 252.6 MB / 265.2 MB, free: 5.688 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 179.9 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001098/0.001097, allocations: 94.69 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.914e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1899, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.46/7.65, allocations: 2.223 GB / 3.118 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/7.651, allocations: 98.75 kB / 3.118 GB, free: 104.8 MB / 0.8698 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.272/7.923, allocations: 69.36 MB / 3.186 GB, free: 37.69 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.328e-06/7.923, allocations: 3.984 kB / 3.186 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000147/7.923, allocations: 43.94 kB / 3.186 GB, free: 37.64 MB / 0.8698 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.005074/7.928, allocations: 1.548 MB / 3.188 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/7.928, allocations: 8.031 kB / 3.188 GB, free: 36.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009188/7.937, allocations: 0.8056 MB / 3.188 GB, free: 35.22 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/7.94, allocations: 0.8844 MB / 3.189 GB, free: 34.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/7.94, allocations: 106.9 kB / 3.189 GB, free: 34.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/7.94, allocations: 140 kB / 3.189 GB, free: 34.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/7.945, allocations: 1.715 MB / 3.191 GB, free: 32.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/7.945, allocations: 4 kB / 3.191 GB, free: 32.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/7.945, allocations: 56 kB / 3.191 GB, free: 32.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/7.946, allocations: 74.69 kB / 3.191 GB, free: 32.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/7.951, allocations: 1.939 MB / 3.193 GB, free: 30.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/7.968, allocations: 6.138 MB / 3.199 GB, free: 23.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/7.972, allocations: 1.283 MB / 3.2 GB, free: 22.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/7.973, allocations: 0.6165 MB / 3.201 GB, free: 21.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/7.974, allocations: 490.6 kB / 3.201 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/7.977, allocations: 0.7885 MB / 3.202 GB, free: 20.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=128): time 6.022e-06/7.977, allocations: 0 / 3.202 GB, free: 20.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128): time 0.004278/7.981, allocations: 1.227 MB / 3.203 GB, free: 19.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/7.981, allocations: 351.1 kB / 3.204 GB, free: 18.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/7.983, allocations: 0.7746 MB / 3.205 GB, free: 18.06 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000483/7.983, allocations: 53.77 kB / 3.205 GB, free: 18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/7.984, allocations: 0.5858 MB / 3.205 GB, free: 17.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/7.985, allocations: 429.8 kB / 3.206 GB, free: 16.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/7.985, allocations: 24 kB / 3.206 GB, free: 16.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001148/7.985, allocations: 345.9 kB / 3.206 GB, free: 16.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/7.986, allocations: 462.5 kB / 3.206 GB, free: 16.16 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/7.988, allocations: 0.6571 MB / 3.207 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/7.99, allocations: 0.5258 MB / 3.208 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/7.99, allocations: 0 / 3.208 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004195/7.994, allocations: 1.336 MB / 3.209 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/7.994, allocations: 1.056 MB / 3.21 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/7.994, allocations: 0 / 3.21 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/7.995, allocations: 32.83 kB / 3.21 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/7.998, allocations: 331.5 kB / 3.21 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/7.999, allocations: 0.5406 MB / 3.211 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/8.002, allocations: 187 kB / 3.211 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/8.002, allocations: 59.89 kB / 3.211 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/8.002, allocations: 9.562 kB / 3.211 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003345/8.005, allocations: 1.202 MB / 3.212 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/8.005, allocations: 4 kB / 3.212 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/8.005, allocations: 8 kB / 3.212 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/8.009, allocations: 323.9 kB / 3.212 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/8.009, allocations: 15.94 kB / 3.212 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/8.011, allocations: 182.9 kB / 3.213 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/8.012, allocations: 51.95 kB / 3.213 GB, free: 9.484 MB / 0.8698 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.000506/8.012, allocations: 184.6 kB / 3.213 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/8.013, allocations: 118.6 kB / 3.213 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/8.018, allocations: 1.634 MB / 3.215 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/8.018, allocations: 12 kB / 3.215 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/8.018, allocations: 11.94 kB / 3.215 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/8.018, allocations: 11.91 kB / 3.215 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007697/8.026, allocations: 3.456 MB / 3.218 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/8.026, allocations: 4 kB / 3.218 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/8.029, allocations: 311.6 kB / 3.218 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/8.029, allocations: 24.84 kB / 3.218 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/8.029, allocations: 39.97 kB / 3.218 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/8.03, allocations: 1.284 MB / 3.22 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/8.03, allocations: 0 / 3.22 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/8.034, allocations: 1.505 MB / 3.221 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009875/8.035, allocations: 414.9 kB / 3.221 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/8.036, allocations: 31.98 kB / 3.221 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/8.038, allocations: 135.8 kB / 3.222 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.6415/8.68, allocations: 85.5 kB / 3.222 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003992/8.68, allocations: 54.78 kB / 3.222 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002563/8.683, allocations: 0.6275 MB / 3.222 GB, free: 272.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.42e-07/8.683, allocations: 0 / 3.222 GB, free: 272.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004691/8.687, allocations: 0.7274 MB / 3.223 GB, free: 272.6 MB / 0.8698 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.002792/8.69, allocations: 0.5839 MB / 3.224 GB, free: 272.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008949/8.699, allocations: 1.923 MB / 3.226 GB, free: 272.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/8.699, allocations: 1.375 kB / 3.226 GB, free: 272.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/8.703, allocations: 0.7748 MB / 3.226 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/8.707, allocations: 293.2 kB / 3.227 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/8.717, allocations: 2.009 MB / 3.229 GB, free: 271.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/8.719, allocations: 1.269 MB / 3.23 GB, free: 271.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008569/8.727, allocations: 0.6238 MB / 3.23 GB, free: 271.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/8.729, allocations: 130.9 kB / 3.231 GB, free: 271.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.064e-06/8.729, allocations: 0 / 3.231 GB, free: 271.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.1137/8.843, allocations: 20.54 MB / 3.251 GB, free: 270 MB / 0.8698 GB