Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 172.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009552/0.0009552, allocations: 92 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.187e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6598, allocations: 116.3 MB / 0.9732 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.8705, allocations: 155.1 MB / 1.125 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.8708, allocations: 76.58 kB / 1.125 GB, free: 11.05 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.01398/0.8848, allocations: 5.612 MB / 1.13 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8849, allocations: 0 / 1.13 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.8849, allocations: 4 kB / 1.13 GB, free: 5.43 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.0006001/0.8855, allocations: 447.6 kB / 1.131 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8855, allocations: 12.03 kB / 1.131 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.8858, allocations: 23.8 kB / 1.131 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.8861, allocations: 219.4 kB / 1.131 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.8861, allocations: 29.89 kB / 1.131 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.8862, allocations: 8.781 kB / 1.131 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001698/0.8864, allocations: 66.55 kB / 1.131 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.8866, allocations: 128.5 kB / 1.131 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8866, allocations: 0 / 1.131 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.8866, allocations: 4 kB / 1.131 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.8867, allocations: 11.7 kB / 1.131 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.8875, allocations: 0.6075 MB / 1.132 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.8878, allocations: 46.64 kB / 1.132 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.8878, allocations: 20.92 kB / 1.132 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.8878, allocations: 4.031 kB / 1.132 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.888, allocations: 138.6 kB / 1.132 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.888, allocations: 0 / 1.132 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002385/0.8883, allocations: 85.59 kB / 1.132 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.8884, allocations: 136.5 kB / 1.132 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.8885, allocations: 150 kB / 1.132 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.8886, allocations: 25.7 kB / 1.132 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.8887, allocations: 139.4 kB / 1.132 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.8887, allocations: 19.8 kB / 1.132 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.8887, allocations: 4 kB / 1.132 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8889, allocations: 326.8 kB / 1.133 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.8889, allocations: 28 kB / 1.133 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.889, allocations: 106.2 kB / 1.133 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.058e-05/0.8891, allocations: 35.98 kB / 1.133 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8891, allocations: 7.938 kB / 1.133 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002568/0.8894, allocations: 157.4 kB / 1.133 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.8895, allocations: 68.8 kB / 1.133 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8895, allocations: 4 kB / 1.133 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8895, allocations: 4 kB / 1.133 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.8896, allocations: 27.98 kB / 1.133 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.8897, allocations: 7.938 kB / 1.133 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.8898, allocations: 23.83 kB / 1.133 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.8898, allocations: 10.12 kB / 1.133 GB, free: 2.047 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.0001162/0.8899, allocations: 150.6 kB / 1.133 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.89, allocations: 15.81 kB / 1.133 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.89, allocations: 13.83 kB / 1.133 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.89, allocations: 4 kB / 1.133 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8901, allocations: 0 / 1.133 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8901, allocations: 0 / 1.133 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.8902, allocations: 189.2 kB / 1.134 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8903, allocations: 3.938 kB / 1.134 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.8904, allocations: 15.98 kB / 1.134 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.8904, allocations: 7 kB / 1.134 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.8904, allocations: 0 / 1.134 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8904, allocations: 0 / 1.134 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8904, allocations: 0 / 1.134 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.8907, allocations: 153 kB / 1.134 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.8908, allocations: 92.95 kB / 1.134 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.8908, allocations: 4 kB / 1.134 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.8909, allocations: 16.05 kB / 1.134 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.891, allocations: 7.984 kB / 1.134 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.891, allocations: 4 kB / 1.134 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.396e-05/0.8911, allocations: 124.8 kB / 1.134 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8911, allocations: 0 / 1.134 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002686/0.8914, allocations: 28 kB / 1.134 GB, free: 1.148 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.0001307/0.8915, allocations: 111.2 kB / 1.134 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.8918, allocations: 190.7 kB / 1.134 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8918, allocations: 0 / 1.134 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.8919, allocations: 99.34 kB / 1.134 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.8921, allocations: 23.88 kB / 1.134 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.8925, allocations: 181.6 kB / 1.135 GB, free: 496 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.8929, allocations: 0.7164 MB / 1.135 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.112e-05/0.893, allocations: 20.73 kB / 1.135 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.893, allocations: 19.44 kB / 1.135 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.893, allocations: 0 / 1.135 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of Templates: time 0.003547/0.8966, allocations: 1.09 MB / 1.136 GB, free: 14.68 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)