Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.705/4.705, allocations: 0.5623 GB / 0.5775 GB, free: 66.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002618/0.002618, allocations: 359 kB / 0.6446 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.295/4.295, allocations: 410.7 MB / 1.113 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002743/0.002743, allocations: 170.5 kB / 1.226 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006587, allocations: 13.34 kB / 1.349 GB, free: 320.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2196, allocations: 115.2 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.71/6.929, allocations: 2.105 GB / 3.567 GB, free: 238.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/6.93, allocations: 106.8 kB / 3.567 GB, free: 238.5 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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.2719/7.202, allocations: 69.5 MB / 3.635 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.065e-06/7.202, allocations: 0 / 3.635 GB, free: 186.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001293/7.202, allocations: 39.94 kB / 3.635 GB, free: 186.7 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.005306/7.207, allocations: 1.702 MB / 3.636 GB, free: 185.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/7.207, allocations: 8.75 kB / 3.636 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009467/7.217, allocations: 0.8088 MB / 3.637 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/7.219, allocations: 0.8993 MB / 3.638 GB, free: 183.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/7.22, allocations: 100.9 kB / 3.638 GB, free: 183.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/7.22, allocations: 137.8 kB / 3.638 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007487/7.227, allocations: 1.942 MB / 3.64 GB, free: 181.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/7.228, allocations: 0 / 3.64 GB, free: 181.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/7.228, allocations: 68.34 kB / 3.64 GB, free: 181.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/7.228, allocations: 62.45 kB / 3.64 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/7.238, allocations: 2.358 MB / 3.643 GB, free: 180 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/7.254, allocations: 6.146 MB / 3.649 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007114/7.261, allocations: 1.571 MB / 3.65 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/7.264, allocations: 0.7363 MB / 3.651 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009329/7.265, allocations: 493.8 kB / 3.651 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003391/7.269, allocations: 0.9168 MB / 3.652 GB, free: 172.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.348e-06/7.269, allocations: 0 / 3.652 GB, free: 172.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.009975/7.279, allocations: 2.173 MB / 3.654 GB, free: 170.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/7.279, allocations: 356.7 kB / 3.655 GB, free: 170.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/7.281, allocations: 0.8809 MB / 3.655 GB, free: 169.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002776/7.281, allocations: 49.7 kB / 3.656 GB, free: 169.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/7.281, allocations: 0.5896 MB / 3.656 GB, free: 168.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/7.282, allocations: 429.8 kB / 3.657 GB, free: 168.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/7.282, allocations: 20 kB / 3.657 GB, free: 168.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/7.282, allocations: 353.9 kB / 3.657 GB, free: 168 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/7.285, allocations: 0.5803 MB / 3.657 GB, free: 167.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/7.288, allocations: 0.7897 MB / 3.658 GB, free: 166.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/7.291, allocations: 0.6524 MB / 3.659 GB, free: 165.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/7.291, allocations: 0 / 3.659 GB, free: 165.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006901/7.298, allocations: 1.601 MB / 3.66 GB, free: 164.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/7.298, allocations: 175.9 kB / 3.661 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/7.298, allocations: 4 kB / 3.661 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/7.298, allocations: 32.78 kB / 3.661 GB, free: 164 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/7.302, allocations: 331.5 kB / 3.661 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/7.303, allocations: 1.288 MB / 3.662 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/7.306, allocations: 194.7 kB / 3.662 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/7.306, allocations: 55.95 kB / 3.662 GB, free: 162.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/7.306, allocations: 4 kB / 3.662 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0076/7.314, allocations: 1.456 MB / 3.664 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/7.314, allocations: 4 kB / 3.664 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/7.314, allocations: 8 kB / 3.664 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/7.318, allocations: 331.7 kB / 3.664 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/7.318, allocations: 15.94 kB / 3.664 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/7.321, allocations: 174.9 kB / 3.664 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/7.321, allocations: 55.95 kB / 3.664 GB, free: 160 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 () * 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.001268/7.322, allocations: 446.4 kB / 3.665 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/7.323, allocations: 118.5 kB / 3.665 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008789/7.332, allocations: 1.895 MB / 3.667 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/7.332, allocations: 12 kB / 3.667 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/7.332, allocations: 4 kB / 3.667 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/7.332, allocations: 7.969 kB / 3.667 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/7.343, allocations: 3.735 MB / 3.67 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/7.343, allocations: 0 / 3.67 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/7.346, allocations: 299.7 kB / 3.671 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/7.346, allocations: 36.78 kB / 3.671 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/7.346, allocations: 47.95 kB / 3.671 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009327/7.347, allocations: 1.269 MB / 3.672 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/7.347, allocations: 0 / 3.672 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006962/7.354, allocations: 1.716 MB / 3.674 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/7.355, allocations: 418.9 kB / 3.674 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/7.356, allocations: 28 kB / 3.674 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/7.358, allocations: 131.9 kB / 3.674 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/7.358, allocations: 93.14 kB / 3.674 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/7.358, allocations: 51.95 kB / 3.674 GB, free: 149.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001227/7.36, allocations: 0.6409 MB / 3.675 GB, free: 148.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/7.36, allocations: 0 / 3.675 GB, free: 148.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002752/7.363, allocations: 0.7356 MB / 3.676 GB, free: 148 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) * 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.001863/7.364, allocations: 0.6226 MB / 3.676 GB, free: 147.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009996/7.374, allocations: 2.38 MB / 3.679 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/7.375, allocations: 4 kB / 3.679 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/7.378, allocations: 0.9046 MB / 3.68 GB, free: 144.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/7.381, allocations: 318.5 kB / 3.68 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008293/7.389, allocations: 3.328 MB / 3.683 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/7.39, allocations: 1.267 MB / 3.684 GB, free: 139.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004409/7.394, allocations: 0.5247 MB / 3.685 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/7.395, allocations: 151.3 kB / 3.685 GB, free: 138.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/7.395, allocations: 0 / 3.685 GB, free: 138.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04821/7.443, allocations: 19.19 MB / 3.704 GB, free: 119.7 MB / 0.948 GB