Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.536/2.536, allocations: 287.5 MB / 303.2 MB, free: 8.156 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.001358/0.001358, allocations: 176.8 kB / 371.8 MB, free: 10.81 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.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009613/0.0009609, allocations: 94.08 kB / 0.7438 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 11.55 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9907/1.21, allocations: 154.7 MB / 1.13 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.21, allocations: 79.33 kB / 1.13 GB, free: 15.63 MB / 0.6823 GB [/home/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.02009/1.23, allocations: 5.693 MB / 1.136 GB, free: 30.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.23, allocations: 0 / 1.136 GB, free: 30.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.693e-05/1.23, allocations: 0 / 1.136 GB, free: 30.37 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.0007035/1.231, allocations: 472.2 kB / 1.136 GB, free: 29.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.231, allocations: 15.34 kB / 1.136 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/1.231, allocations: 24.16 kB / 1.136 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/1.232, allocations: 217.7 kB / 1.137 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/1.232, allocations: 37.48 kB / 1.137 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/1.232, allocations: 11.25 kB / 1.137 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/1.232, allocations: 146.6 kB / 1.137 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.232, allocations: 4 kB / 1.137 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.232, allocations: 3.312 kB / 1.137 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.232, allocations: 3.812 kB / 1.137 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/1.232, allocations: 92.62 kB / 1.137 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/1.233, allocations: 0.6404 MB / 1.138 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/1.234, allocations: 59.61 kB / 1.138 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.234, allocations: 38.3 kB / 1.138 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.234, allocations: 3.984 kB / 1.138 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/1.234, allocations: 144.3 kB / 1.138 GB, free: 28.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/1.234, allocations: 0 / 1.138 GB, free: 28.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005243/1.235, allocations: 161.1 kB / 1.138 GB, free: 28.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/1.235, allocations: 136 kB / 1.138 GB, free: 28.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/1.235, allocations: 192.4 kB / 1.138 GB, free: 28.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.235, allocations: 25.7 kB / 1.138 GB, free: 28.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/1.235, allocations: 136.5 kB / 1.138 GB, free: 28.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/1.235, allocations: 23.03 kB / 1.138 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.235, allocations: 3.75 kB / 1.138 GB, free: 28.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.235, allocations: 328.6 kB / 1.139 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/1.236, allocations: 39.75 kB / 1.139 GB, free: 27.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/1.236, allocations: 109.7 kB / 1.139 GB, free: 27.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/1.236, allocations: 234.9 kB / 1.139 GB, free: 27.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/1.236, allocations: 0 / 1.139 GB, free: 27.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005042/1.237, allocations: 240.4 kB / 1.139 GB, free: 27.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/1.237, allocations: 61.66 kB / 1.139 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.237, allocations: 7.906 kB / 1.139 GB, free: 27.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.237, allocations: 11.73 kB / 1.139 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.237, allocations: 26.89 kB / 1.139 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.237, allocations: 8.062 kB / 1.139 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/1.237, allocations: 34.34 kB / 1.14 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/1.237, allocations: 11.55 kB / 1.14 GB, free: 27.39 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.0001903/1.237, allocations: 160 kB / 1.14 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/1.238, allocations: 15.42 kB / 1.14 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/1.238, allocations: 16.81 kB / 1.14 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.238, allocations: 3.938 kB / 1.14 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.238, allocations: 3.875 kB / 1.14 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.238, allocations: 0 / 1.14 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.238, allocations: 216.9 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.238, allocations: 0 / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/1.238, allocations: 15.55 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.238, allocations: 3.938 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/1.238, allocations: 0 / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.238, allocations: 3.938 kB / 1.14 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.238, allocations: 0 / 1.14 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/1.239, allocations: 226.4 kB / 1.14 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/1.239, allocations: 81.02 kB / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/1.239, allocations: 3.688 kB / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.239, allocations: 19.33 kB / 1.14 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/1.239, allocations: 7.609 kB / 1.14 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/1.239, allocations: 3.688 kB / 1.14 GB, free: 26.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001404/1.239, allocations: 140.3 kB / 1.14 GB, free: 26.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.332e-06/1.239, allocations: 0 / 1.14 GB, free: 26.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003454/1.239, allocations: 42.25 kB / 1.14 GB, free: 26.65 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.000152/1.24, allocations: 109.8 kB / 1.141 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004258/1.24, allocations: 212.4 kB / 1.141 GB, free: 26.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.24, allocations: 4.062 kB / 1.141 GB, free: 26.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.24, allocations: 106.3 kB / 1.141 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/1.241, allocations: 18.33 kB / 1.141 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/1.241, allocations: 335.7 kB / 1.141 GB, free: 26.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.242, allocations: 0.7099 MB / 1.142 GB, free: 25.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001193/1.242, allocations: 20.12 kB / 1.142 GB, free: 25.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/1.242, allocations: 11.16 kB / 1.142 GB, free: 25.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.884e-06/1.242, allocations: 3.938 kB / 1.142 GB, free: 25.36 MB / 0.698 GB Notification: Performance of Templates: time 0.00487/1.247, allocations: 1.187 MB / 1.143 GB, free: 24.79 MB / 0.698 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)