Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.911/4.911, allocations: 0.5623 GB / 0.5776 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002522/0.002522, allocations: 358.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.091/4.091, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001834, allocations: 186.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 12 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9497/1.177, allocations: 154.7 MB / 1.612 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/1.177, allocations: 77.84 kB / 1.612 GB, free: 4.781 MB / 0.6823 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);. Notification: Performance of FrontEnd - DAE generated: time 0.0215/1.199, allocations: 5.688 MB / 1.618 GB, free: 148 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/1.199, allocations: 3.938 kB / 1.618 GB, free: 144 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.199, allocations: 4 kB / 1.618 GB, free: 140 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007413/1.2, allocations: 473.6 kB / 1.618 GB, free: 15.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.2, allocations: 12.03 kB / 1.618 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/1.2, allocations: 23.8 kB / 1.619 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/1.2, allocations: 211.8 kB / 1.619 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/1.2, allocations: 37.33 kB / 1.619 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/1.2, allocations: 11.88 kB / 1.619 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/1.201, allocations: 149.6 kB / 1.619 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.201, allocations: 0 / 1.619 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/1.201, allocations: 3.984 kB / 1.619 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/1.201, allocations: 11.45 kB / 1.619 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/1.201, allocations: 91.56 kB / 1.619 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.202, allocations: 0.6396 MB / 1.62 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/1.203, allocations: 58.11 kB / 1.62 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/1.203, allocations: 29.97 kB / 1.62 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/1.203, allocations: 0 / 1.62 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/1.203, allocations: 140.3 kB / 1.62 GB, free: 14.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 4.378e-06/1.203, allocations: 4 kB / 1.62 GB, free: 14.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005585/1.204, allocations: 176.2 kB / 1.62 GB, free: 14.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/1.204, allocations: 132.5 kB / 1.62 GB, free: 13.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/1.204, allocations: 192.4 kB / 1.62 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.204, allocations: 25.7 kB / 1.62 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.204, allocations: 135.9 kB / 1.62 GB, free: 13.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/1.204, allocations: 23.34 kB / 1.62 GB, free: 13.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/1.204, allocations: 0 / 1.62 GB, free: 13.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.205, allocations: 324.9 kB / 1.621 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/1.205, allocations: 43.41 kB / 1.621 GB, free: 13.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/1.205, allocations: 111.6 kB / 1.621 GB, free: 13.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/1.205, allocations: 105.1 kB / 1.621 GB, free: 12.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.205, allocations: 0 / 1.621 GB, free: 12.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005781/1.206, allocations: 249.6 kB / 1.621 GB, free: 12.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/1.206, allocations: 63.39 kB / 1.621 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.206, allocations: 0 / 1.621 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.206, allocations: 7.953 kB / 1.621 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.206, allocations: 38.8 kB / 1.621 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.206, allocations: 4 kB / 1.621 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.206, allocations: 32.11 kB / 1.621 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/1.206, allocations: 11.38 kB / 1.621 GB, free: 12.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001837/1.207, allocations: 162.8 kB / 1.622 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/1.207, allocations: 15.09 kB / 1.622 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/1.207, allocations: 12.84 kB / 1.622 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.207, allocations: 0 / 1.622 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.207, allocations: 3.953 kB / 1.622 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.207, allocations: 0 / 1.622 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/1.207, allocations: 210.4 kB / 1.622 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.207, allocations: 4 kB / 1.622 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/1.207, allocations: 15.98 kB / 1.622 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.207, allocations: 0 / 1.622 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/1.207, allocations: 0 / 1.622 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.207, allocations: 7.938 kB / 1.622 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.207, allocations: 0 / 1.622 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/1.208, allocations: 224.1 kB / 1.622 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/1.208, allocations: 84.92 kB / 1.622 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/1.208, allocations: 7.094 kB / 1.622 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.208, allocations: 11.98 kB / 1.622 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/1.208, allocations: 11.36 kB / 1.622 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.208, allocations: 4 kB / 1.622 GB, free: 11.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001606/1.208, allocations: 137.6 kB / 1.622 GB, free: 11.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.208, allocations: 4.062 kB / 1.622 GB, free: 11.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003303/1.209, allocations: 31.94 kB / 1.622 GB, free: 11.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/1.209, allocations: 110.6 kB / 1.622 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004996/1.209, allocations: 212.6 kB / 1.623 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.209, allocations: 0 / 1.623 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/1.21, allocations: 112.3 kB / 1.623 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/1.21, allocations: 15.8 kB / 1.623 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/1.211, allocations: 333.8 kB / 1.623 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/1.211, allocations: 0.7154 MB / 1.624 GB, free: 10.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001296/1.211, allocations: 20.64 kB / 1.624 GB, free: 10.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/1.211, allocations: 11.44 kB / 1.624 GB, free: 10.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.211, allocations: 0 / 1.624 GB, free: 10.11 MB / 0.698 GB Notification: Performance of Templates: time 0.005492/1.217, allocations: 1.193 MB / 1.625 GB, free: 8.941 MB / 0.698 GB