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.676/1.676, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001133/0.001133, allocations: 181 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.6367 GB, free: 8.617 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.00096/0.0009599, allocations: 90.53 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 11.98 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9276/1.25, allocations: 155.8 MB / 1.141 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.251, allocations: 79.91 kB / 1.141 GB, free: 22.07 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.01612/1.267, allocations: 5.693 MB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/1.267, allocations: 3.938 kB / 1.146 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.591e-05/1.267, allocations: 1.406 kB / 1.146 GB, free: 17.94 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.0006185/1.267, allocations: 467.2 kB / 1.147 GB, free: 17.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.267, allocations: 16.02 kB / 1.147 GB, free: 17.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/1.268, allocations: 25.16 kB / 1.147 GB, free: 17.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/1.268, allocations: 211 kB / 1.147 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/1.268, allocations: 35.06 kB / 1.147 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/1.268, allocations: 12 kB / 1.147 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/1.268, allocations: 152.1 kB / 1.147 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.268, allocations: 0 / 1.147 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/1.268, allocations: 8 kB / 1.147 GB, free: 16.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/1.268, allocations: 4.938 kB / 1.147 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/1.269, allocations: 95.92 kB / 1.147 GB, free: 16.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/1.269, allocations: 0.6364 MB / 1.148 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/1.27, allocations: 56.25 kB / 1.148 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/1.27, allocations: 0 / 1.148 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/1.27, allocations: 153.2 kB / 1.148 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/1.27, allocations: 0 / 1.148 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004209/1.27, allocations: 242.9 kB / 1.148 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.27, allocations: 137.6 kB / 1.148 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.27, allocations: 167 kB / 1.148 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/1.271, allocations: 26.41 kB / 1.148 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/1.271, allocations: 138.3 kB / 1.149 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/1.271, allocations: 29.7 kB / 1.149 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/1.271, allocations: 4 kB / 1.149 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/1.271, allocations: 328.3 kB / 1.149 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.795e-05/1.271, allocations: 38.33 kB / 1.149 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/1.271, allocations: 114.5 kB / 1.149 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/1.271, allocations: 104.4 kB / 1.149 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.271, allocations: 0 / 1.149 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003111/1.271, allocations: 241.1 kB / 1.149 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.271, allocations: 75.47 kB / 1.15 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.271, allocations: 0 / 1.15 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.271, allocations: 4.562 kB / 1.15 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/1.272, allocations: 27.75 kB / 1.15 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.272, allocations: 10.23 kB / 1.15 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/1.272, allocations: 34.23 kB / 1.15 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/1.272, allocations: 8 kB / 1.15 GB, free: 14.27 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 () * 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.0001166/1.272, allocations: 159.3 kB / 1.15 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/1.272, allocations: 18.52 kB / 1.15 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/1.272, allocations: 11.94 kB / 1.15 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.272, allocations: 0.75 kB / 1.15 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.272, allocations: 0 / 1.15 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.272, allocations: 0 / 1.15 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/1.272, allocations: 217.4 kB / 1.15 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.272, allocations: 0 / 1.15 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/1.272, allocations: 18 kB / 1.15 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.272, allocations: 4.562 kB / 1.15 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.272, allocations: 0.7969 kB / 1.15 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.272, allocations: 7.938 kB / 1.15 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.272, allocations: 0.5625 kB / 1.15 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/1.273, allocations: 214.8 kB / 1.15 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/1.273, allocations: 95.14 kB / 1.15 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/1.273, allocations: 5.062 kB / 1.15 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/1.273, allocations: 10.81 kB / 1.15 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/1.273, allocations: 11.66 kB / 1.15 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.273, allocations: 5.297 kB / 1.15 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.47e-05/1.273, allocations: 134.5 kB / 1.15 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.273, allocations: 0 / 1.15 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002288/1.273, allocations: 35.94 kB / 1.151 GB, free: 13.31 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) * 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.0001667/1.273, allocations: 114 kB / 1.151 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003259/1.274, allocations: 212.3 kB / 1.151 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.274, allocations: 0 / 1.151 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/1.274, allocations: 112.7 kB / 1.151 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1.274, allocations: 25.06 kB / 1.151 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/1.275, allocations: 329.3 kB / 1.151 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.275, allocations: 0.7154 MB / 1.152 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.098e-05/1.275, allocations: 20.39 kB / 1.152 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/1.275, allocations: 12.09 kB / 1.152 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.275, allocations: 4 kB / 1.152 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.004543/1.28, allocations: 1.162 MB / 1.153 GB, free: 11.12 MB / 0.7292 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)