Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [/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.1685/0.1692, allocations: 82.22 MB / 0.5934 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004486/0.1738, allocations: 3.464 MB / 0.5968 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1761, allocations: 1.556 MB / 0.5983 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1763, allocations: 11.94 kB / 0.5983 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1765, allocations: 59.61 kB / 0.5983 GB, free: 0.9023 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. [/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.000434/0.1769, allocations: 163.5 kB / 0.5985 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1774, allocations: 174.8 kB / 0.5987 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.1777, allocations: 307.3 kB / 0.599 GB, free: 280 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.1782, allocations: 382.6 kB / 0.5993 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1784, allocations: 151.5 kB / 0.5995 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1787, allocations: 171.4 kB / 0.5996 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.1787, allocations: 20 kB / 0.5996 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1789, allocations: 83.83 kB / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.179, allocations: 115.7 kB / 0.5998 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.1791, allocations: 85.52 kB / 0.5999 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.1795, allocations: 403.1 kB / 0.6003 GB, free: 14.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1795, allocations: 0 / 0.6003 GB, free: 14.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1795, allocations: 4 kB / 0.6003 GB, free: 14.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1795, allocations: 0 / 0.6003 GB, free: 14.85 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001015/0.1806, allocations: 0.6192 MB / 0.6009 GB, free: 14.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1806, allocations: 8.031 kB / 0.6009 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000702/0.1813, allocations: 115.5 kB / 0.601 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.1817, allocations: 298.3 kB / 0.6013 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.1818, allocations: 54.7 kB / 0.6014 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.1818, allocations: 28 kB / 0.6014 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.1826, allocations: 0.5046 MB / 0.6019 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1827, allocations: 4 kB / 0.6019 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.1827, allocations: 15.98 kB / 0.6019 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.1828, allocations: 28.98 kB / 0.6019 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.1834, allocations: 387.7 kB / 0.6023 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.1856, allocations: 1.671 MB / 0.6039 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.1863, allocations: 273.1 kB / 0.6042 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1864, allocations: 8 kB / 0.6042 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1864, allocations: 38.86 kB / 0.6042 GB, free: 10.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.1864, allocations: 0 / 0.6042 GB, free: 10.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001452/0.1879, allocations: 0.5908 MB / 0.6048 GB, free: 9.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1879, allocations: 51.41 kB / 0.6049 GB, free: 9.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1881, allocations: 225 kB / 0.6051 GB, free: 9.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.1882, allocations: 29.7 kB / 0.6051 GB, free: 9.625 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1883, allocations: 207.7 kB / 0.6053 GB, free: 9.418 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.1884, allocations: 74.92 kB / 0.6054 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.1884, allocations: 4 kB / 0.6054 GB, free: 9.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1885, allocations: 330.8 kB / 0.6057 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1888, allocations: 111.9 kB / 0.6058 GB, free: 8.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.189, allocations: 182.4 kB / 0.606 GB, free: 8.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.1893, allocations: 112.9 kB / 0.6061 GB, free: 8.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1893, allocations: 4 kB / 0.6061 GB, free: 8.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008237/0.1901, allocations: 391 kB / 0.6065 GB, free: 8.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.1904, allocations: 0.8692 MB / 0.6073 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1904, allocations: 4 kB / 0.6073 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.1909, allocations: 117.5 kB / 0.6074 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.1912, allocations: 55.91 kB / 0.6075 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.1942, allocations: 2.856 MB / 0.6103 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.1944, allocations: 35.67 kB / 0.6103 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1945, allocations: 11.94 kB / 0.6103 GB, free: 3.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.1945, allocations: 4 kB / 0.6103 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007426/0.1952, allocations: 317.9 kB / 0.6106 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1952, allocations: 7.938 kB / 0.6106 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.1955, allocations: 81.23 kB / 0.6107 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.1958, allocations: 63.84 kB / 0.6108 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.1976, allocations: 1.509 MB / 0.6122 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1979, allocations: 35.73 kB / 0.6123 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1979, allocations: 12 kB / 0.6123 GB, free: 1.734 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.1981, allocations: 253 kB / 0.6125 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.1982, allocations: 15.81 kB / 0.6125 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.1982, allocations: 34.17 kB / 0.6126 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1983, allocations: 0 / 0.6126 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1983, allocations: 3.953 kB / 0.6126 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1983, allocations: 0 / 0.6126 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.1987, allocations: 373.4 kB / 0.6129 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1987, allocations: 4 kB / 0.6129 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1989, allocations: 39.97 kB / 0.613 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.1992, allocations: 101.9 kB / 0.6131 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1993, allocations: 8 kB / 0.6131 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.2019, allocations: 2.826 MB / 0.6158 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2019, allocations: 0 / 0.6158 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.2026, allocations: 415.2 kB / 0.6162 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.2028, allocations: 120.8 kB / 0.6164 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.2028, allocations: 0 / 0.6164 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.203, allocations: 19.97 kB / 0.6164 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.203, allocations: 15.98 kB / 0.6164 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2031, allocations: 4 kB / 0.6164 GB, free: 13.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.2032, allocations: 164.4 kB / 0.6165 GB, free: 13 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2032, allocations: 0 / 0.6165 GB, free: 13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006043/0.2038, allocations: 167.4 kB / 0.6167 GB, free: 12.84 MB / 478.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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.204, allocations: 103.2 kB / 0.6168 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.2058, allocations: 0.7811 MB / 0.6176 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2058, allocations: 3.938 kB / 0.6176 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.2066, allocations: 373.6 kB / 0.6179 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2069, allocations: 44.17 kB / 0.618 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.208, allocations: 0.7187 MB / 0.6187 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.2085, allocations: 0.823 MB / 0.6195 GB, free: 9.883 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.2087, allocations: 58.23 kB / 0.6195 GB, free: 9.828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.2087, allocations: 19.44 kB / 0.6195 GB, free: 9.809 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2087, allocations: 4 kB / 0.6196 GB, free: 9.805 MB / 478.1 MB Notification: Performance of Templates: time 0.007909/0.2166, allocations: 4.069 MB / 0.6235 GB, free: 5.777 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: