Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1845/0.1852, allocations: 82.22 MB / 0.5941 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003238/0.1885, allocations: 2 MB / 0.5961 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1901, allocations: 0.8191 MB / 0.5969 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1902, allocations: 0 / 0.5969 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1904, allocations: 15.86 kB / 0.5969 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.1907, allocations: 67.72 kB / 0.5969 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1909, allocations: 39.91 kB / 0.597 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.1912, allocations: 199.4 kB / 0.5972 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.1915, allocations: 189.8 kB / 0.5973 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1917, allocations: 55.77 kB / 0.5974 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1919, allocations: 63.69 kB / 0.5975 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1919, allocations: 8 kB / 0.5975 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1921, allocations: 59.88 kB / 0.5975 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.1922, allocations: 31.89 kB / 0.5976 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1923, allocations: 81.38 kB / 0.5976 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1925, allocations: 171.4 kB / 0.5978 GB, free: 1.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1926, allocations: 0 / 0.5978 GB, free: 1.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1926, allocations: 3.938 kB / 0.5978 GB, free: 1.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1926, allocations: 0 / 0.5978 GB, free: 1.75 MB / 446.1 MB 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.0007679/0.1933, allocations: 466.7 kB / 0.5982 GB, free: 1.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1934, allocations: 8.031 kB / 0.5983 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.1936, allocations: 28.73 kB / 0.5983 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1939, allocations: 212 kB / 0.5985 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.194, allocations: 42.45 kB / 0.5985 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.194, allocations: 23.98 kB / 0.5985 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.1943, allocations: 148.7 kB / 0.5987 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1944, allocations: 0 / 0.5987 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1944, allocations: 8 kB / 0.5987 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1944, allocations: 4 kB / 0.5987 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1946, allocations: 95.88 kB / 0.5988 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.1955, allocations: 0.6441 MB / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1958, allocations: 58.56 kB / 0.5995 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.1959, allocations: 32.91 kB / 0.5995 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1959, allocations: 0 / 0.5995 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.1961, allocations: 142.7 kB / 0.5996 GB, free: 15.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1961, allocations: 0 / 0.5996 GB, free: 15.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004028/0.1966, allocations: 171.3 kB / 0.5998 GB, free: 15.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.1966, allocations: 136.5 kB / 0.5999 GB, free: 15.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1968, allocations: 190.2 kB / 0.6001 GB, free: 15.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1968, allocations: 29.7 kB / 0.6001 GB, free: 15.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.197, allocations: 139.8 kB / 0.6003 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.197, allocations: 19.72 kB / 0.6003 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.197, allocations: 21.7 kB / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1972, allocations: 326.8 kB / 0.6006 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.1973, allocations: 39.92 kB / 0.6007 GB, free: 14.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1974, allocations: 109.4 kB / 0.6008 GB, free: 14.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1977, allocations: 234.4 kB / 0.601 GB, free: 14.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1977, allocations: 0 / 0.601 GB, free: 14.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003585/0.198, allocations: 248.6 kB / 0.6012 GB, free: 13.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.1981, allocations: 59.72 kB / 0.6013 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1981, allocations: 7.938 kB / 0.6013 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1981, allocations: 4 kB / 0.6013 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1983, allocations: 31.92 kB / 0.6013 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1983, allocations: 4 kB / 0.6013 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1984, allocations: 39.73 kB / 0.6014 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1985, allocations: 8 kB / 0.6014 GB, free: 13.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.1986, allocations: 176.3 kB / 0.6016 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1986, allocations: 15.84 kB / 0.6016 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.1987, allocations: 21.33 kB / 0.6016 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1987, allocations: 0 / 0.6016 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1987, allocations: 0 / 0.6016 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1987, allocations: 0 / 0.6016 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1989, allocations: 209.6 kB / 0.6018 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1989, allocations: 4 kB / 0.6018 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.199, allocations: 8 kB / 0.6018 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.199, allocations: 0 / 0.6018 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.199, allocations: 19.86 kB / 0.6018 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.199, allocations: 0 / 0.6018 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.199, allocations: 0 / 0.6018 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1994, allocations: 214.6 kB / 0.602 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1995, allocations: 89.05 kB / 0.6021 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1995, allocations: 12 kB / 0.6021 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.1996, allocations: 11.98 kB / 0.6021 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.1997, allocations: 12.08 kB / 0.6021 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1997, allocations: 4 kB / 0.6021 GB, free: 12.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1999, allocations: 128.3 kB / 0.6023 GB, free: 12.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1999, allocations: 0 / 0.6023 GB, free: 12.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.2001, allocations: 31.91 kB / 0.6023 GB, free: 12.62 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.2003, allocations: 107.2 kB / 0.6024 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.2006, allocations: 218.9 kB / 0.6026 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2007, allocations: 0 / 0.6026 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.2008, allocations: 111.3 kB / 0.6027 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2011, allocations: 22.67 kB / 0.6027 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006752/0.2018, allocations: 350.1 kB / 0.6031 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2021, allocations: 0.7199 MB / 0.6038 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.906e-05/0.2022, allocations: 16.64 kB / 0.6038 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.2022, allocations: 15.44 kB / 0.6038 GB, free: 10.98 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2022, allocations: 0 / 0.6038 GB, free: 10.98 MB / 462.1 MB Notification: Performance of Templates: time 0.003889/0.2061, allocations: 1.235 MB / 0.605 GB, free: 9.773 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) Environment - environmentSimulation: