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.391/2.391, allocations: 252.6 MB / 265.2 MB, free: 5.703 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.001411/0.00141, allocations: 179.9 kB / 324.5 MB, free: 14.43 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.072/2.072, allocations: 205.4 MB / 0.5754 GB, free: 10.41 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.001223/0.001223, allocations: 94.69 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.091e-05, allocations: 0 / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 106.2 MB / 0.8949 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8769/1.119, allocations: 148.3 MB / 1.04 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.119, allocations: 80.33 kB / 1.04 GB, free: 4.012 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.02233/1.141, allocations: 5.635 MB / 1.045 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.533e-06/1.141, allocations: 0 / 1.045 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.07e-05/1.141, allocations: 7.984 kB / 1.045 GB, free: 15.39 MB / 0.6667 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.0006471/1.142, allocations: 453.7 kB / 1.046 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.142, allocations: 8.25 kB / 1.046 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/1.142, allocations: 31.75 kB / 1.046 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/1.143, allocations: 216.2 kB / 1.046 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/1.143, allocations: 37.52 kB / 1.046 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/1.143, allocations: 11 kB / 1.046 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/1.143, allocations: 144.8 kB / 1.046 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.143, allocations: 0 / 1.046 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/1.143, allocations: 7.016 kB / 1.046 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/1.143, allocations: 4.188 kB / 1.046 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/1.144, allocations: 76.48 kB / 1.046 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.145, allocations: 0.6452 MB / 1.047 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/1.145, allocations: 50.88 kB / 1.047 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/1.145, allocations: 23.17 kB / 1.047 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/1.145, allocations: 0 / 1.047 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/1.145, allocations: 137.4 kB / 1.047 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/1.146, allocations: 0 / 1.047 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0003539/1.146, allocations: 137.1 kB / 1.047 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.146, allocations: 136 kB / 1.047 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/1.146, allocations: 163.1 kB / 1.047 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/1.146, allocations: 25.7 kB / 1.047 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/1.146, allocations: 141.6 kB / 1.048 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/1.146, allocations: 15.19 kB / 1.048 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.146, allocations: 3.25 kB / 1.048 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.147, allocations: 325.9 kB / 1.048 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/1.147, allocations: 38.42 kB / 1.048 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/1.147, allocations: 95.2 kB / 1.048 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/1.147, allocations: 97.75 kB / 1.048 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.147, allocations: 7.938 kB / 1.048 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004834/1.148, allocations: 232.7 kB / 1.048 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/1.148, allocations: 63.39 kB / 1.048 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/1.148, allocations: 0 / 1.048 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.148, allocations: 7.953 kB / 1.048 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/1.148, allocations: 31.92 kB / 1.048 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.148, allocations: 4 kB / 1.049 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/1.148, allocations: 39.83 kB / 1.049 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/1.148, allocations: 4 kB / 1.049 GB, free: 11.98 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.0001406/1.148, allocations: 153.3 kB / 1.049 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/1.148, allocations: 7.906 kB / 1.049 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/1.149, allocations: 16.89 kB / 1.049 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.149, allocations: 3.953 kB / 1.049 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.149, allocations: 4 kB / 1.049 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.149, allocations: 0 / 1.049 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/1.149, allocations: 217.9 kB / 1.049 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.149, allocations: 4 kB / 1.049 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/1.149, allocations: 8 kB / 1.049 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.149, allocations: 0 / 1.049 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.149, allocations: 7.984 kB / 1.049 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.149, allocations: 0 / 1.049 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.149, allocations: 3.953 kB / 1.049 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/1.15, allocations: 200.7 kB / 1.049 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/1.15, allocations: 92.98 kB / 1.049 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/1.15, allocations: 4 kB / 1.049 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/1.15, allocations: 11.98 kB / 1.049 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/1.15, allocations: 10.92 kB / 1.049 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.15, allocations: 7.953 kB / 1.049 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001577/1.15, allocations: 133.9 kB / 1.049 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/1.15, allocations: 0 / 1.049 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003427/1.151, allocations: 27.81 kB / 1.049 GB, free: 11.07 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.0001752/1.151, allocations: 109.1 kB / 1.05 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003778/1.151, allocations: 202.8 kB / 1.05 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.151, allocations: 0 / 1.05 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/1.151, allocations: 97.22 kB / 1.05 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/1.152, allocations: 25.58 kB / 1.05 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/1.152, allocations: 193.6 kB / 1.05 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/1.153, allocations: 0.7146 MB / 1.051 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001347/1.153, allocations: 20.77 kB / 1.051 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/1.153, allocations: 15.42 kB / 1.051 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of SimCode: time 1.664e-06/1.153, allocations: 0 / 1.051 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of Templates: time 0.00567/1.158, allocations: 1.186 MB / 1.052 GB, free: 8.523 MB / 0.6667 GB