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.477/2.477, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 186.7 kB / 325.6 MB, free: 2.836 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.32/2.32, allocations: 205.4 MB / 0.5766 GB, free: 21.15 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.001179/0.001179, allocations: 97.78 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006259, allocations: 9.031 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2295, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/0.4811, allocations: 148.4 MB / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.4815, allocations: 83.95 kB / 1.044 GB, free: 13.3 MB / 0.698 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.02294/0.5044, allocations: 5.696 MB / 1.049 GB, free: 7.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5045, allocations: 4 kB / 1.049 GB, free: 7.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.5045, allocations: 4 kB / 1.049 GB, free: 7.523 MB / 0.698 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.0007807/0.5053, allocations: 478.3 kB / 1.05 GB, free: 6.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5054, allocations: 12.03 kB / 1.05 GB, free: 6.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.5056, allocations: 27.75 kB / 1.05 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.506, allocations: 202.9 kB / 1.05 GB, free: 6.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.506, allocations: 37.83 kB / 1.05 GB, free: 6.672 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.5061, allocations: 16 kB / 1.05 GB, free: 6.656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.5065, allocations: 149.6 kB / 1.05 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5065, allocations: 0 / 1.05 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.5066, allocations: 7.953 kB / 1.05 GB, free: 6.488 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.5066, allocations: 8.172 kB / 1.05 GB, free: 6.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.5069, allocations: 96.45 kB / 1.05 GB, free: 6.387 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.5081, allocations: 0.6311 MB / 1.051 GB, free: 5.691 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.5084, allocations: 54.56 kB / 1.051 GB, free: 5.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.5084, allocations: 4.062 kB / 1.051 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.5087, allocations: 146.7 kB / 1.051 GB, free: 5.457 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.5087, allocations: 4 kB / 1.051 GB, free: 5.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006114/0.5094, allocations: 240.3 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.5095, allocations: 136.5 kB / 1.052 GB, free: 5.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.5097, allocations: 162 kB / 1.052 GB, free: 4.859 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5097, allocations: 29.7 kB / 1.052 GB, free: 4.824 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5099, allocations: 135.8 kB / 1.052 GB, free: 4.684 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.5099, allocations: 23.75 kB / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.5099, allocations: 11.94 kB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5101, allocations: 318.8 kB / 1.052 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.5102, allocations: 47.91 kB / 1.052 GB, free: 4.281 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.5104, allocations: 112.3 kB / 1.052 GB, free: 4.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.5107, allocations: 107.3 kB / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5107, allocations: 0 / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005639/0.5113, allocations: 240.7 kB / 1.053 GB, free: 3.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.5114, allocations: 63.72 kB / 1.053 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5114, allocations: 3.984 kB / 1.053 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.5114, allocations: 7.953 kB / 1.053 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.5116, allocations: 27.98 kB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.5117, allocations: 7.938 kB / 1.053 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.5119, allocations: 27.84 kB / 1.053 GB, free: 3.621 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.5119, allocations: 15.92 kB / 1.053 GB, free: 3.605 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.000178/0.5121, allocations: 168.6 kB / 1.053 GB, free: 3.426 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.5122, allocations: 15.86 kB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.5122, allocations: 17.39 kB / 1.053 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5122, allocations: 0 / 1.053 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5123, allocations: 3.953 kB / 1.053 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5123, allocations: 0 / 1.053 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.5125, allocations: 209.6 kB / 1.053 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5125, allocations: 7.938 kB / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.5127, allocations: 15.98 kB / 1.053 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5127, allocations: 4 kB / 1.053 GB, free: 3.109 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5127, allocations: 0 / 1.053 GB, free: 3.109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5127, allocations: 4.312 kB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5127, allocations: 0 / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.5134, allocations: 222.5 kB / 1.053 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.5134, allocations: 85.11 kB / 1.054 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.5135, allocations: 4 kB / 1.054 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5137, allocations: 15.98 kB / 1.054 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.5137, allocations: 7.984 kB / 1.054 GB, free: 2.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.5138, allocations: 7.938 kB / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001626/0.5139, allocations: 139.2 kB / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.514, allocations: 0 / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000347/0.5143, allocations: 35.94 kB / 1.054 GB, free: 2.555 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.0001615/0.5145, allocations: 111.2 kB / 1.054 GB, free: 2.434 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.515, allocations: 214.6 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.515, allocations: 0 / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.5152, allocations: 104 kB / 1.054 GB, free: 2.086 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.5155, allocations: 20.84 kB / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.5163, allocations: 329.9 kB / 1.055 GB, free: 1.719 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.5166, allocations: 0.716 MB / 1.055 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.5168, allocations: 16.64 kB / 1.055 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.5168, allocations: 11.44 kB / 1.055 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of SimCode: time 2.995e-06/0.5168, allocations: 0 / 1.055 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of Templates: time 0.5799/1.097, allocations: 1.176 MB / 1.056 GB, free: 153 MB / 0.698 GB