Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [/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.1506/0.1513, allocations: 82.21 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004025/0.1553, allocations: 3.277 MB / 0.5966 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1577, allocations: 1.751 MB / 0.5983 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1579, allocations: 11.94 kB / 0.5983 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.1581, allocations: 47.69 kB / 0.5983 GB, free: 0.8945 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.1587, allocations: 187.4 kB / 0.5985 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.1592, allocations: 190.5 kB / 0.5987 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.1597, allocations: 295.3 kB / 0.599 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.1601, allocations: 332.3 kB / 0.5993 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1603, allocations: 131.5 kB / 0.5994 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.1606, allocations: 163.4 kB / 0.5996 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.1606, allocations: 16 kB / 0.5996 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1609, allocations: 83.88 kB / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.161, allocations: 111.6 kB / 0.5998 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1611, allocations: 81.52 kB / 0.5998 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1614, allocations: 359.4 kB / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1615, allocations: 3.938 kB / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1615, allocations: 0 / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1615, allocations: 0 / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001024/0.1625, allocations: 0.6071 MB / 0.6008 GB, free: 14.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1626, allocations: 8.031 kB / 0.6008 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.1631, allocations: 91.41 kB / 0.6009 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.1635, allocations: 286.4 kB / 0.6012 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.1636, allocations: 20.66 kB / 0.6012 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.1636, allocations: 35.98 kB / 0.6012 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.1644, allocations: 489.8 kB / 0.6017 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1644, allocations: 0 / 0.6017 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1644, allocations: 12 kB / 0.6017 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.1645, allocations: 44.61 kB / 0.6017 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.1652, allocations: 390.2 kB / 0.6021 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.1672, allocations: 1.685 MB / 0.6037 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.1677, allocations: 234.7 kB / 0.604 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1677, allocations: 4 kB / 0.604 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1678, allocations: 30.56 kB / 0.604 GB, free: 10.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1678, allocations: 0 / 0.604 GB, free: 10.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.001015/0.1688, allocations: 469.4 kB / 0.6044 GB, free: 10.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1688, allocations: 59.34 kB / 0.6045 GB, free: 10.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1691, allocations: 262.7 kB / 0.6048 GB, free: 9.977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1691, allocations: 29.7 kB / 0.6048 GB, free: 9.941 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1693, allocations: 215.6 kB / 0.605 GB, free: 9.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.1694, allocations: 67.08 kB / 0.6051 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.1694, allocations: 4 kB / 0.6051 GB, free: 9.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1695, allocations: 330.8 kB / 0.6054 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1697, allocations: 108.5 kB / 0.6055 GB, free: 9.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.17, allocations: 214.7 kB / 0.6057 GB, free: 8.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1703, allocations: 135.9 kB / 0.6058 GB, free: 8.828 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1703, allocations: 4 kB / 0.6058 GB, free: 8.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007134/0.1711, allocations: 374.1 kB / 0.6062 GB, free: 8.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.1716, allocations: 1.323 MB / 0.6075 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1716, allocations: 0 / 0.6075 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.1718, allocations: 32.83 kB / 0.6075 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.1721, allocations: 71.91 kB / 0.6076 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.1733, allocations: 1.357 MB / 0.6089 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.1736, allocations: 43.67 kB / 0.6089 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1736, allocations: 16 kB / 0.6089 GB, free: 5.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.1736, allocations: 4 kB / 0.6089 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005857/0.1742, allocations: 313.5 kB / 0.6092 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1742, allocations: 0 / 0.6092 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.1743, allocations: 8 kB / 0.6093 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.1745, allocations: 75.89 kB / 0.6093 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1745, allocations: 4 kB / 0.6093 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1747, allocations: 40.02 kB / 0.6094 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1748, allocations: 15.95 kB / 0.6094 GB, free: 4.922 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.175, allocations: 249 kB / 0.6096 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.175, allocations: 31.61 kB / 0.6097 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.1751, allocations: 30.19 kB / 0.6097 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1751, allocations: 7.938 kB / 0.6097 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1751, allocations: 7.984 kB / 0.6097 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1751, allocations: 0 / 0.6097 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.1755, allocations: 349.4 kB / 0.61 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1756, allocations: 0 / 0.61 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.1757, allocations: 39.97 kB / 0.6101 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-05/0.1758, allocations: 24.84 kB / 0.6101 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1759, allocations: 11.98 kB / 0.6101 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009863/0.1769, allocations: 1.323 MB / 0.6114 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1769, allocations: 3.938 kB / 0.6114 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.1775, allocations: 381.6 kB / 0.6118 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1776, allocations: 120.8 kB / 0.6119 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1777, allocations: 8 kB / 0.6119 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1778, allocations: 23.97 kB / 0.6119 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.1779, allocations: 19.94 kB / 0.6119 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1779, allocations: 4 kB / 0.6119 GB, free: 2.078 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1781, allocations: 182 kB / 0.6121 GB, free: 1.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1781, allocations: 3.938 kB / 0.6121 GB, free: 1.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.1786, allocations: 143.5 kB / 0.6122 GB, free: 1.754 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.1787, allocations: 103.2 kB / 0.6123 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1797, allocations: 0.523 MB / 0.6129 GB, free: 1.109 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1798, allocations: 0 / 0.6129 GB, free: 1.109 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.1801, allocations: 229.2 kB / 0.6131 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1805, allocations: 63.52 kB / 0.6131 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.1814, allocations: 0.6611 MB / 0.6138 GB, free: 132 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1818, allocations: 0.8072 MB / 0.6146 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.182, allocations: 78.2 kB / 0.6146 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1821, allocations: 19.44 kB / 0.6147 GB, free: 15.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1821, allocations: 0 / 0.6147 GB, free: 15.2 MB / 478.1 MB Notification: Performance of Templates: time 0.00636/0.1884, allocations: 3.059 MB / 0.6176 GB, free: 12.18 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: