Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001208, allocations: 178.1 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007585/0.0007586, allocations: 98.39 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 5.969 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2319, allocations: 106.3 MB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002442/0.2344, allocations: 1.956 MB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2355, allocations: 0.7881 MB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.2356, allocations: 4 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2357, allocations: 11.86 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.2359, allocations: 43.73 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.2361, allocations: 51.83 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.2363, allocations: 163.4 kB / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.2365, allocations: 189.7 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2366, allocations: 55.77 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2368, allocations: 63.75 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2368, allocations: 8 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.2369, allocations: 23.92 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.2369, allocations: 31.91 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.237, allocations: 49.64 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2371, allocations: 120 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2371, allocations: 0 / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2372, allocations: 4 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.2372, allocations: 0 / 0.9043 GB, free: 60.36 MB / 0.6042 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.0005952/0.2378, allocations: 470.4 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2378, allocations: 8.031 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.238, allocations: 39.75 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.2382, allocations: 210.8 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.2383, allocations: 37.89 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.2383, allocations: 8 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.2386, allocations: 150.9 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2386, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.2386, allocations: 8 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.2387, allocations: 8.188 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2388, allocations: 88.45 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.2396, allocations: 0.6412 MB / 0.9059 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.2398, allocations: 66.48 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.2399, allocations: 28.91 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.2399, allocations: 11.98 kB / 0.906 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.2401, allocations: 138.7 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.2401, allocations: 0 / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.2405, allocations: 167.1 kB / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2405, allocations: 152.4 kB / 0.9064 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2407, allocations: 175.7 kB / 0.9066 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2407, allocations: 25.7 kB / 0.9066 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2408, allocations: 139.7 kB / 0.9067 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2408, allocations: 23.73 kB / 0.9068 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.2408, allocations: 8 kB / 0.9068 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.2408, allocations: 318.8 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.2409, allocations: 47.97 kB / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.241, allocations: 108 kB / 0.9072 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2412, allocations: 111.3 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2412, allocations: 0 / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002853/0.2415, allocations: 252.6 kB / 0.9076 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.2415, allocations: 67.39 kB / 0.9076 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2415, allocations: 0 / 0.9076 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2415, allocations: 4 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2417, allocations: 31.92 kB / 0.9077 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2417, allocations: 4.312 kB / 0.9077 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2418, allocations: 31.83 kB / 0.9077 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2418, allocations: 8 kB / 0.9077 GB, free: 56.47 MB / 0.6042 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.0001101/0.242, allocations: 163.5 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.242, allocations: 15.86 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.242, allocations: 13.41 kB / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.242, allocations: 0 / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.242, allocations: 0 / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.242, allocations: 4 kB / 0.9079 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2422, allocations: 217.5 kB / 0.9081 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2422, allocations: 0 / 0.9081 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.2423, allocations: 15.98 kB / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2423, allocations: 0 / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2423, allocations: 3.953 kB / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2423, allocations: 4 kB / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2423, allocations: 0 / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.2426, allocations: 226.9 kB / 0.9084 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.2427, allocations: 92.89 kB / 0.9084 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.2427, allocations: 4 kB / 0.9084 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.2428, allocations: 19.94 kB / 0.9085 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2429, allocations: 11.98 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2429, allocations: 8.062 kB / 0.9085 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.243, allocations: 131.5 kB / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.243, allocations: 4 kB / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002143/0.2432, allocations: 28 kB / 0.9086 GB, free: 55.42 MB / 0.6042 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 9.755e-05/0.2433, allocations: 99.25 kB / 0.9087 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.2436, allocations: 227.2 kB / 0.909 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2436, allocations: 0 / 0.909 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.2437, allocations: 111.4 kB / 0.9091 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2439, allocations: 19.92 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.2445, allocations: 371.7 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2446, allocations: 0.716 MB / 0.9101 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.2446, allocations: 11.44 kB / 0.9101 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2447, allocations: 0 / 0.9101 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.002864/0.2475, allocations: 1.671 MB / 0.9118 GB, free: 52.12 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)