Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.642/2.642, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 180.9 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.2 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 92.06 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 0 / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8009, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/1.061, allocations: 153.9 MB / 1.114 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.062, allocations: 75.95 kB / 1.114 GB, free: 2.434 MB / 0.7136 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.02205/1.084, allocations: 5.61 MB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.743e-06/1.084, allocations: 0 / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.604e-05/1.084, allocations: 7.938 kB / 1.119 GB, free: 12.83 MB / 0.7292 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.0006368/1.084, allocations: 454.9 kB / 1.12 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.084, allocations: 12.03 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/1.085, allocations: 23.8 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/1.085, allocations: 222.5 kB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/1.085, allocations: 29.89 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/1.085, allocations: 8 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002201/1.085, allocations: 60.11 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/1.086, allocations: 128.8 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.086, allocations: 0 / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.086, allocations: 4 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/1.086, allocations: 8.141 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/1.087, allocations: 0.5995 MB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/1.087, allocations: 49.12 kB / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/1.087, allocations: 24.98 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/1.087, allocations: 4 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/1.088, allocations: 141.6 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.534e-06/1.088, allocations: 0 / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003042/1.088, allocations: 85.59 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/1.088, allocations: 132.5 kB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/1.088, allocations: 150.3 kB / 1.121 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.088, allocations: 29.64 kB / 1.121 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.088, allocations: 147.4 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.088, allocations: 15.81 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/1.088, allocations: 0 / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.089, allocations: 330.8 kB / 1.122 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/1.089, allocations: 28 kB / 1.122 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/1.089, allocations: 98.38 kB / 1.122 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/1.089, allocations: 35.92 kB / 1.122 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.089, allocations: 8 kB / 1.122 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003973/1.089, allocations: 155.5 kB / 1.122 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/1.089, allocations: 63.34 kB / 1.122 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.089, allocations: 4 kB / 1.122 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.09, allocations: 4 kB / 1.122 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/1.09, allocations: 36.22 kB / 1.122 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.09, allocations: 8 kB / 1.122 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/1.09, allocations: 23.8 kB / 1.122 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.09, allocations: 12 kB / 1.122 GB, free: 9.441 MB / 0.7292 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.0001358/1.09, allocations: 153 kB / 1.122 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/1.09, allocations: 11.81 kB / 1.122 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/1.09, allocations: 17.83 kB / 1.122 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.09, allocations: 4 kB / 1.122 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.09, allocations: 4 kB / 1.122 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.09, allocations: 4.031 kB / 1.122 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/1.091, allocations: 186.1 kB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.091, allocations: 0 / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/1.091, allocations: 11.98 kB / 1.123 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.091, allocations: 0 / 1.123 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.091, allocations: 4 kB / 1.123 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.091, allocations: 0 / 1.123 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.091, allocations: 0 / 1.123 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/1.091, allocations: 163.8 kB / 1.123 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/1.091, allocations: 92.89 kB / 1.123 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/1.091, allocations: 4 kB / 1.123 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.092, allocations: 17.8 kB / 1.123 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/1.092, allocations: 11.98 kB / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.092, allocations: 0 / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001419/1.092, allocations: 125.3 kB / 1.123 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.092, allocations: 4 kB / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003674/1.092, allocations: 24 kB / 1.123 GB, free: 8.547 MB / 0.7292 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.0001612/1.092, allocations: 103.2 kB / 1.123 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003335/1.093, allocations: 194.7 kB / 1.123 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.093, allocations: 0 / 1.123 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.093, allocations: 95.41 kB / 1.123 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.093, allocations: 20.56 kB / 1.124 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/1.094, allocations: 185.2 kB / 1.124 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.094, allocations: 0.7197 MB / 1.124 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001328/1.094, allocations: 16.77 kB / 1.124 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/1.094, allocations: 11.44 kB / 1.124 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/1.094, allocations: 4 kB / 1.124 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of Templates: time 0.005124/1.099, allocations: 1.098 MB / 1.125 GB, free: 6.066 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)