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.1872/0.1892, allocations: 80.84 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004239/0.1935, allocations: 2.303 MB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1949, allocations: 0.819 MB / 0.6736 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.1951, allocations: 0 / 0.6736 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.1957, allocations: 155.3 kB / 0.6738 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1959, allocations: 67.61 kB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1961, allocations: 51.88 kB / 0.6739 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1964, allocations: 159.5 kB / 0.6741 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.1967, allocations: 96.78 kB / 0.6742 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1969, allocations: 63.78 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1971, allocations: 75.61 kB / 0.6743 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1972, allocations: 12 kB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.1973, allocations: 55.89 kB / 0.6744 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.1974, allocations: 35.91 kB / 0.6744 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1976, allocations: 63.66 kB / 0.6744 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.1979, allocations: 171.5 kB / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1979, allocations: 0 / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1979, allocations: 0 / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.198, allocations: 0 / 0.6746 GB, free: 13.91 MB / 0.5137 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.001033/0.199, allocations: 494.5 kB / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.199, allocations: 8.031 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.1993, allocations: 24.83 kB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.1997, allocations: 224 kB / 0.6753 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/0.1998, allocations: 38.44 kB / 0.6754 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1998, allocations: 12.12 kB / 0.6754 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.2002, allocations: 148.1 kB / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2002, allocations: 0 / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.2002, allocations: 8 kB / 0.6755 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.2002, allocations: 8 kB / 0.6755 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.2005, allocations: 83.89 kB / 0.6756 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.2014, allocations: 0.644 MB / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.2017, allocations: 62.61 kB / 0.6763 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.2018, allocations: 32.78 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2018, allocations: 0 / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.202, allocations: 134.8 kB / 0.6765 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2021, allocations: 0 / 0.6765 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004178/0.2025, allocations: 171.5 kB / 0.6766 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.2026, allocations: 136.5 kB / 0.6768 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.2028, allocations: 182.3 kB / 0.6769 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.2028, allocations: 29.7 kB / 0.677 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.2029, allocations: 139.7 kB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2029, allocations: 19.8 kB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.203, allocations: 41.72 kB / 0.6771 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2032, allocations: 326.8 kB / 0.6775 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.2033, allocations: 35.98 kB / 0.6775 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2034, allocations: 120.7 kB / 0.6776 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.2037, allocations: 230.4 kB / 0.6778 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2037, allocations: 0 / 0.6778 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003588/0.2041, allocations: 237 kB / 0.6781 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.2041, allocations: 67.44 kB / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2042, allocations: 7.938 kB / 0.6781 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2042, allocations: 4 kB / 0.6781 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2043, allocations: 31.92 kB / 0.6782 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2043, allocations: 8.062 kB / 0.6782 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2045, allocations: 23.83 kB / 0.6782 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2045, allocations: 8 kB / 0.6782 GB, free: 9.824 MB / 0.5137 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 (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.0001496/0.2047, allocations: 171.4 kB / 0.6784 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.2047, allocations: 15.81 kB / 0.6784 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.2047, allocations: 21.33 kB / 0.6784 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2047, allocations: 3.938 kB / 0.6784 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2047, allocations: 0 / 0.6784 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2048, allocations: 0 / 0.6784 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.205, allocations: 213.6 kB / 0.6786 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.205, allocations: 3.938 kB / 0.6786 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.739e-05/0.205, allocations: 8 kB / 0.6786 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2051, allocations: 0 / 0.6786 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2051, allocations: 7.938 kB / 0.6786 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2051, allocations: 4 kB / 0.6786 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2051, allocations: 0 / 0.6786 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2055, allocations: 218.5 kB / 0.6788 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.2056, allocations: 89 kB / 0.6789 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.2056, allocations: 7.938 kB / 0.6789 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.2057, allocations: 15.98 kB / 0.6789 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.2058, allocations: 8.156 kB / 0.679 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.2058, allocations: 3.984 kB / 0.679 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001183/0.2059, allocations: 132.3 kB / 0.6791 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2059, allocations: 0 / 0.6791 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002388/0.2062, allocations: 32 kB / 0.6791 GB, free: 8.77 MB / 0.5137 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 (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.000115/0.2063, allocations: 99.98 kB / 0.6792 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.2066, allocations: 223 kB / 0.6794 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2066, allocations: 0 / 0.6794 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.2068, allocations: 103.4 kB / 0.6795 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2071, allocations: 27.88 kB / 0.6795 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.2078, allocations: 290.3 kB / 0.6798 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2081, allocations: 0.7121 MB / 0.6805 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.173e-05/0.2082, allocations: 20.64 kB / 0.6805 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.2082, allocations: 15.44 kB / 0.6806 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.2082, allocations: 0 / 0.6806 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.004207/0.2124, allocations: 1.419 MB / 0.6819 GB, free: 5.793 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (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)