Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.48/2.48, allocations: 253.2 MB / 260.6 MB, free: 7.438 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.001495/0.001495, allocations: 184.9 kB / 319.9 MB, free: 3.023 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.06/2.06, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001074/0.001073, allocations: 94.97 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.394e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9073/1.115, allocations: 148.5 MB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.115, allocations: 76.33 kB / 1.034 GB, free: 6.504 MB / 0.6511 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);. Notification: Performance of FrontEnd - DAE generated: time 0.02192/1.137, allocations: 5.623 MB / 1.039 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.924e-06/1.137, allocations: 0 / 1.039 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.812e-05/1.137, allocations: 4 kB / 1.039 GB, free: 1.941 MB / 0.6511 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.0006629/1.138, allocations: 447.9 kB / 1.04 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.138, allocations: 12.23 kB / 1.04 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/1.139, allocations: 31.75 kB / 1.04 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/1.139, allocations: 214.8 kB / 1.04 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/1.139, allocations: 29.89 kB / 1.04 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/1.139, allocations: 8 kB / 1.04 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002311/1.139, allocations: 67.84 kB / 1.04 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/1.14, allocations: 132.6 kB / 1.04 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.14, allocations: 0 / 1.04 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/1.14, allocations: 3.953 kB / 1.04 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.14, allocations: 7.812 kB / 1.04 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/1.141, allocations: 0.6046 MB / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.141, allocations: 48.62 kB / 1.041 GB, free: 320 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/1.141, allocations: 19.67 kB / 1.041 GB, free: 304 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/1.141, allocations: 3.938 kB / 1.041 GB, free: 300 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/1.141, allocations: 141.6 kB / 1.041 GB, free: 144 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/1.141, allocations: 0 / 1.041 GB, free: 144 kB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003252/1.142, allocations: 95.42 kB / 1.041 GB, free: 56 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.142, allocations: 128.5 kB / 1.041 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/1.142, allocations: 162.3 kB / 1.041 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/1.142, allocations: 29.7 kB / 1.041 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.142, allocations: 144.5 kB / 1.042 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/1.142, allocations: 19.31 kB / 1.042 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/1.142, allocations: 0 / 1.042 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.143, allocations: 326.1 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/1.143, allocations: 26.19 kB / 1.042 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/1.143, allocations: 102.2 kB / 1.042 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/1.143, allocations: 36.42 kB / 1.042 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.143, allocations: 0 / 1.042 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00041/1.143, allocations: 158.3 kB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/1.143, allocations: 59.41 kB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.143, allocations: 0 / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.143, allocations: 4 kB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/1.144, allocations: 31.92 kB / 1.042 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.144, allocations: 12.25 kB / 1.042 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.144, allocations: 30.09 kB / 1.042 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/1.144, allocations: 8 kB / 1.042 GB, free: 14.8 MB / 0.6667 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 () * 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.000144/1.144, allocations: 148.9 kB / 1.042 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/1.144, allocations: 11.91 kB / 1.042 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/1.144, allocations: 20.05 kB / 1.042 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.144, allocations: 0 / 1.042 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.144, allocations: 8 kB / 1.042 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.144, allocations: 3.953 kB / 1.042 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/1.145, allocations: 181.4 kB / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.145, allocations: 0 / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.145, allocations: 19.92 kB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.145, allocations: 3.938 kB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/1.145, allocations: 0 / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.145, allocations: 4 kB / 1.043 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.145, allocations: 0 / 1.043 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/1.145, allocations: 160.8 kB / 1.043 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/1.145, allocations: 84.52 kB / 1.043 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/1.145, allocations: 4.031 kB / 1.043 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/1.146, allocations: 11.98 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/1.146, allocations: 14.66 kB / 1.043 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/1.146, allocations: 4 kB / 1.043 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001533/1.146, allocations: 117.5 kB / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.146, allocations: 4.062 kB / 1.043 GB, free: 14 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004318/1.146, allocations: 31.91 kB / 1.043 GB, free: 13.97 MB / 0.6667 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) * 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.0001751/1.147, allocations: 101.1 kB / 1.043 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000369/1.147, allocations: 193.9 kB / 1.043 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.147, allocations: 0 / 1.043 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.147, allocations: 95.41 kB / 1.043 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.147, allocations: 22.64 kB / 1.043 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/1.148, allocations: 193.9 kB / 1.044 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.149, allocations: 0.7139 MB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001382/1.149, allocations: 20.77 kB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/1.149, allocations: 15 kB / 1.044 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/1.149, allocations: 0 / 1.044 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of Templates: time 0.005362/1.154, allocations: 1.095 MB / 1.045 GB, free: 11.53 MB / 0.6667 GB