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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001263, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.737/1.737, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006033, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.643, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002948/0.646, allocations: 1.959 MB / 0.73 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.6473, allocations: 0.7763 MB / 0.7308 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.6474, allocations: 0 / 0.7308 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.6475, allocations: 19.86 kB / 0.7308 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.6478, allocations: 51.67 kB / 0.7309 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.648, allocations: 39.95 kB / 0.7309 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.6482, allocations: 159.5 kB / 0.731 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.6486, allocations: 193.8 kB / 0.7312 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.6487, allocations: 55.77 kB / 0.7313 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.6489, allocations: 67.69 kB / 0.7314 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.649, allocations: 4 kB / 0.7314 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.6491, allocations: 19.98 kB / 0.7314 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.6492, allocations: 31.91 kB / 0.7314 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.6492, allocations: 49.64 kB / 0.7315 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.6495, allocations: 121.7 kB / 0.7316 GB, free: 7.824 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6495, allocations: 4 kB / 0.7316 GB, free: 7.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6495, allocations: 0 / 0.7316 GB, free: 7.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6495, allocations: 0 / 0.7316 GB, free: 7.82 MB / 0.545 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.00105/0.6506, allocations: 474.4 kB / 0.732 GB, free: 7.297 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.6506, allocations: 8.031 kB / 0.732 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.651, allocations: 31.75 kB / 0.7321 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.6513, allocations: 206.9 kB / 0.7323 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.6514, allocations: 33.89 kB / 0.7323 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.6515, allocations: 12 kB / 0.7323 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.6518, allocations: 152.8 kB / 0.7324 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6519, allocations: 0 / 0.7324 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.6519, allocations: 7.938 kB / 0.7325 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.6519, allocations: 8.172 kB / 0.7325 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.6521, allocations: 100.4 kB / 0.7326 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.653, allocations: 0.6412 MB / 0.7332 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.6533, allocations: 62.61 kB / 0.7332 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.6534, allocations: 20.86 kB / 0.7333 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.6534, allocations: 0 / 0.7333 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.6536, allocations: 158.6 kB / 0.7334 GB, free: 5.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.6536, allocations: 0 / 0.7334 GB, free: 5.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000375/0.654, allocations: 167.2 kB / 0.7336 GB, free: 5.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.6541, allocations: 132.5 kB / 0.7337 GB, free: 5.371 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.6543, allocations: 179.7 kB / 0.7339 GB, free: 5.188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.6543, allocations: 29.7 kB / 0.7339 GB, free: 5.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.6544, allocations: 147.7 kB / 0.734 GB, free: 5.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.6545, allocations: 23.73 kB / 0.7341 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.6545, allocations: 0 / 0.7341 GB, free: 4.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6546, allocations: 326.8 kB / 0.7344 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.6547, allocations: 39.98 kB / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.6548, allocations: 116.6 kB / 0.7345 GB, free: 4.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.655, allocations: 107.4 kB / 0.7346 GB, free: 4.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.655, allocations: 0 / 0.7346 GB, free: 4.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003398/0.6554, allocations: 252.6 kB / 0.7349 GB, free: 4.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.6554, allocations: 59.41 kB / 0.7349 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6554, allocations: 4 kB / 0.7349 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6554, allocations: 4 kB / 0.7349 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.6556, allocations: 35.92 kB / 0.735 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6556, allocations: 4 kB / 0.735 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.6557, allocations: 28.08 kB / 0.735 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.6557, allocations: 8 kB / 0.735 GB, free: 3.934 MB / 0.545 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.0001378/0.6559, allocations: 167.5 kB / 0.7352 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.6559, allocations: 15.86 kB / 0.7352 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.6559, allocations: 21.33 kB / 0.7352 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.656, allocations: 0 / 0.7352 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.656, allocations: 0 / 0.7352 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.656, allocations: 0 / 0.7352 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.6562, allocations: 221.4 kB / 0.7354 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6562, allocations: 4 kB / 0.7354 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.6563, allocations: 12 kB / 0.7354 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6563, allocations: 0 / 0.7354 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6563, allocations: 15.88 kB / 0.7354 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6563, allocations: 0 / 0.7354 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.6563, allocations: 0 / 0.7354 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.6567, allocations: 222.7 kB / 0.7357 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.6568, allocations: 92.89 kB / 0.7357 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.6568, allocations: 4 kB / 0.7357 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.6569, allocations: 15.94 kB / 0.7358 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.657, allocations: 11.98 kB / 0.7358 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.657, allocations: 0 / 0.7358 GB, free: 3.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001127/0.6571, allocations: 131.5 kB / 0.7359 GB, free: 2.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6571, allocations: 4.062 kB / 0.7359 GB, free: 2.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002532/0.6574, allocations: 32 kB / 0.7359 GB, free: 2.875 MB / 0.545 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.000123/0.6575, allocations: 107.2 kB / 0.736 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.6579, allocations: 214.6 kB / 0.7362 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6579, allocations: 0.625 kB / 0.7362 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.658, allocations: 111.3 kB / 0.7363 GB, free: 2.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.6583, allocations: 19.98 kB / 0.7364 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.6589, allocations: 330.1 kB / 0.7367 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6592, allocations: 0.716 MB / 0.7374 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.163e-05/0.6593, allocations: 20.62 kB / 0.7374 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.6593, allocations: 15.44 kB / 0.7374 GB, free: 1.262 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.6593, allocations: 3.938 kB / 0.7374 GB, free: 1.258 MB / 0.545 GB Notification: Performance of Templates: time 0.004017/0.6634, allocations: 1.204 MB / 0.7386 GB, free: 76 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: