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.624/1.624, allocations: 289.7 MB / 302.2 MB, free: 2.109 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.000998/0.000998, allocations: 184.4 kB / 371.6 MB, free: 3.387 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.652/1.652, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.0009619/0.000962, allocations: 90.06 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.317e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.836/1.127, allocations: 155.7 MB / 1.132 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.128, allocations: 73.03 kB / 1.132 GB, free: 32.84 MB / 0.7448 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.0131/1.141, allocations: 5.63 MB / 1.137 GB, free: 29.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/1.141, allocations: 0 / 1.137 GB, free: 29.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.141, allocations: 3.984 kB / 1.137 GB, free: 29.88 MB / 0.7448 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.0004309/1.141, allocations: 450.6 kB / 1.138 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.141, allocations: 10.98 kB / 1.138 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/1.141, allocations: 25.09 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/1.142, allocations: 215.8 kB / 1.138 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/1.142, allocations: 38.52 kB / 1.138 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/1.142, allocations: 11.69 kB / 1.138 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/1.142, allocations: 140.9 kB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.142, allocations: 0 / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/1.142, allocations: 3.688 kB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/1.142, allocations: 7.703 kB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/1.142, allocations: 77.56 kB / 1.138 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/1.143, allocations: 0.6512 MB / 1.139 GB, free: 28.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/1.143, allocations: 52.14 kB / 1.139 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/1.143, allocations: 21.11 kB / 1.139 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/1.143, allocations: 0.6562 kB / 1.139 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/1.143, allocations: 137.5 kB / 1.139 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/1.143, allocations: 6.469 kB / 1.139 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000228/1.144, allocations: 126.1 kB / 1.139 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.144, allocations: 136 kB / 1.139 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.144, allocations: 172.8 kB / 1.14 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/1.144, allocations: 25.7 kB / 1.14 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/1.144, allocations: 138.1 kB / 1.14 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/1.144, allocations: 19.17 kB / 1.14 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/1.144, allocations: 7.188 kB / 1.14 GB, free: 27.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/1.144, allocations: 322.2 kB / 1.14 GB, free: 27.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/1.144, allocations: 30.38 kB / 1.14 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/1.144, allocations: 103 kB / 1.14 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/1.144, allocations: 105 kB / 1.14 GB, free: 27.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.144, allocations: 0 / 1.14 GB, free: 27.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002439/1.144, allocations: 231.4 kB / 1.141 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.144, allocations: 62.66 kB / 1.141 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.144, allocations: 4 kB / 1.141 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.144, allocations: 0.6875 kB / 1.141 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.145, allocations: 31.45 kB / 1.141 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.145, allocations: 11.42 kB / 1.141 GB, free: 26.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/1.145, allocations: 30.25 kB / 1.141 GB, free: 26.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.145, allocations: 11.56 kB / 1.141 GB, free: 26.68 MB / 0.7448 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 7.652e-05/1.145, allocations: 154.9 kB / 1.141 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/1.145, allocations: 17.31 kB / 1.141 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/1.145, allocations: 12.91 kB / 1.141 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.145, allocations: 4 kB / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.145, allocations: 0 / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.145, allocations: 3.953 kB / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/1.145, allocations: 211 kB / 1.141 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/1.145, allocations: 8.453 kB / 1.141 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/1.145, allocations: 8 kB / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.145, allocations: 0 / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/1.145, allocations: 4 kB / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.145, allocations: 0 / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.145, allocations: 4.062 kB / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/1.145, allocations: 200.9 kB / 1.141 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/1.145, allocations: 89.12 kB / 1.141 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/1.145, allocations: 8.031 kB / 1.141 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/1.146, allocations: 14.19 kB / 1.141 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/1.146, allocations: 7.656 kB / 1.141 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.146, allocations: 4 kB / 1.141 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.913e-05/1.146, allocations: 137 kB / 1.142 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.134e-06/1.146, allocations: 0 / 1.142 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002146/1.146, allocations: 31.5 kB / 1.142 GB, free: 25.83 MB / 0.7448 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.0001152/1.146, allocations: 104.9 kB / 1.142 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002096/1.146, allocations: 200.7 kB / 1.142 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.146, allocations: 0 / 1.142 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/1.146, allocations: 108.8 kB / 1.142 GB, free: 25.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/1.147, allocations: 20.19 kB / 1.142 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/1.147, allocations: 186.6 kB / 1.142 GB, free: 25.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/1.147, allocations: 0.7199 MB / 1.143 GB, free: 24.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.88e-05/1.147, allocations: 16.16 kB / 1.143 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/1.147, allocations: 14.91 kB / 1.143 GB, free: 24.52 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.147, allocations: 0 / 1.143 GB, free: 24.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.003734/1.151, allocations: 1.174 MB / 1.144 GB, free: 23.86 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)