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.1651/0.1671, allocations: 80.84 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00667/0.1738, allocations: 4.048 MB / 0.6746 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.1771, allocations: 1.687 MB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.1775, allocations: 8 kB / 0.6762 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.1796, allocations: 0.5798 MB / 0.6768 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009664/0.1807, allocations: 254.8 kB / 0.677 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.1816, allocations: 215.6 kB / 0.6772 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1828, allocations: 0.5413 MB / 0.6778 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.1841, allocations: 469.8 kB / 0.6782 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.1847, allocations: 239.2 kB / 0.6784 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008002/0.1855, allocations: 251.1 kB / 0.6787 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.1856, allocations: 32 kB / 0.6787 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.186, allocations: 167.7 kB / 0.6789 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.1862, allocations: 155.6 kB / 0.679 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1864, allocations: 187.1 kB / 0.6792 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.1872, allocations: 0.5218 MB / 0.6797 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1872, allocations: 3.938 kB / 0.6797 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1872, allocations: 0 / 0.6797 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.1872, allocations: 0 / 0.6797 GB, free: 8.688 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001486/0.1887, allocations: 0.6786 MB / 0.6804 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1888, allocations: 12.03 kB / 0.6804 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.1896, allocations: 104.4 kB / 0.6805 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.1901, allocations: 311.6 kB / 0.6808 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/0.1902, allocations: 55.25 kB / 0.6808 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.1903, allocations: 36.38 kB / 0.6809 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.1912, allocations: 0.5009 MB / 0.6814 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1912, allocations: 0 / 0.6814 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.1913, allocations: 16 kB / 0.6814 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/0.1914, allocations: 32.98 kB / 0.6814 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.1922, allocations: 383.6 kB / 0.6818 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.1949, allocations: 1.64 MB / 0.6834 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.1957, allocations: 262.6 kB / 0.6836 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.1961, allocations: 148.8 kB / 0.6838 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.1961, allocations: 8 kB / 0.6838 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1962, allocations: 30.56 kB / 0.6838 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.1962, allocations: 0 / 0.6838 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001611/0.1978, allocations: 0.5784 MB / 0.6844 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1979, allocations: 51.41 kB / 0.6844 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1982, allocations: 225 kB / 0.6846 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1982, allocations: 29.64 kB / 0.6847 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1984, allocations: 215.7 kB / 0.6849 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.1984, allocations: 67 kB / 0.6849 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1986, allocations: 53.7 kB / 0.685 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1988, allocations: 334.8 kB / 0.6853 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.199, allocations: 96.73 kB / 0.6854 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.1993, allocations: 175.6 kB / 0.6856 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.1998, allocations: 277.1 kB / 0.6858 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1998, allocations: 7.938 kB / 0.6858 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008939/0.2007, allocations: 377.5 kB / 0.6862 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2007, allocations: 8 kB / 0.6862 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2008, allocations: 0 / 0.6862 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.2013, allocations: 105.8 kB / 0.6863 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.2015, allocations: 55.91 kB / 0.6864 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.205, allocations: 3.042 MB / 0.6893 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.2053, allocations: 39.8 kB / 0.6894 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2053, allocations: 12.05 kB / 0.6894 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003328/0.2057, allocations: 224 kB / 0.6896 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002782/0.2059, allocations: 187.8 kB / 0.6898 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004808/0.2064, allocations: 273.1 kB / 0.69 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.2064, allocations: 0 / 0.69 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007919/0.2072, allocations: 343.7 kB / 0.6904 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2073, allocations: 15.92 kB / 0.6904 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2073, allocations: 0 / 0.6904 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.2076, allocations: 85.09 kB / 0.6905 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2078, allocations: 55.91 kB / 0.6905 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.21, allocations: 1.61 MB / 0.6921 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.2103, allocations: 31.89 kB / 0.6921 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2103, allocations: 15.88 kB / 0.6921 GB, free: 11.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.2104, allocations: 192.2 kB / 0.6923 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.2105, allocations: 23.72 kB / 0.6923 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.2106, allocations: 30.17 kB / 0.6924 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2106, allocations: 4.141 kB / 0.6924 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2106, allocations: 3.984 kB / 0.6924 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2106, allocations: 3.938 kB / 0.6924 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.212, allocations: 0.7839 MB / 0.6931 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.212, allocations: 4.062 kB / 0.6931 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2122, allocations: 31.97 kB / 0.6932 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.2126, allocations: 101.6 kB / 0.6933 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.2126, allocations: 11.94 kB / 0.6933 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.2157, allocations: 3.015 MB / 0.6962 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.2157, allocations: 11.97 kB / 0.6962 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.2166, allocations: 407.1 kB / 0.6966 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2167, allocations: 124.7 kB / 0.6967 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2167, allocations: 0 / 0.6967 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.2169, allocations: 15.98 kB / 0.6968 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.217, allocations: 15.98 kB / 0.6968 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.217, allocations: 4 kB / 0.6968 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001634/0.2172, allocations: 172.5 kB / 0.6969 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2172, allocations: 0 / 0.6969 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006514/0.2178, allocations: 163.4 kB / 0.6971 GB, free: 5.547 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.218, allocations: 103.2 kB / 0.6972 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.2199, allocations: 0.761 MB / 0.6979 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.22, allocations: 4 kB / 0.6979 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.2207, allocations: 375.8 kB / 0.6983 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2212, allocations: 56.56 kB / 0.6984 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2225, allocations: 0.614 MB / 0.699 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.223, allocations: 0.8107 MB / 0.6997 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001965/0.2232, allocations: 54.25 kB / 0.6998 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.2233, allocations: 19.44 kB / 0.6998 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.2233, allocations: 0 / 0.6998 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of Templates: time 0.01066/0.2339, allocations: 4.714 MB / 0.7044 GB, free: 13.95 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (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)