Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [/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.1673/0.1695, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004848/0.1744, allocations: 3.059 MB / 0.6736 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1775, allocations: 1.992 MB / 0.6755 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1776, allocations: 4 kB / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008954/0.1786, allocations: 290.9 kB / 0.6758 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.1791, allocations: 199.1 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.1797, allocations: 243.2 kB / 0.6763 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.1801, allocations: 326.9 kB / 0.6766 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.1804, allocations: 188.7 kB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1806, allocations: 135.5 kB / 0.6769 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.1809, allocations: 147.4 kB / 0.677 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.1809, allocations: 24 kB / 0.677 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000577/0.1815, allocations: 399.2 kB / 0.6774 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.1816, allocations: 83.8 kB / 0.6775 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1817, allocations: 123.4 kB / 0.6776 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.1823, allocations: 478.7 kB / 0.6781 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1823, allocations: 3.984 kB / 0.6781 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1823, allocations: 0 / 0.6781 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.1823, allocations: 0 / 0.6781 GB, free: 10.34 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000869/0.1832, allocations: 0.5575 MB / 0.6786 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1833, allocations: 12.03 kB / 0.6786 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007669/0.184, allocations: 108.5 kB / 0.6787 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1844, allocations: 267.7 kB / 0.679 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1844, allocations: 12.81 kB / 0.679 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.1845, allocations: 24.11 kB / 0.679 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.185, allocations: 361.1 kB / 0.6794 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.185, allocations: 3.984 kB / 0.6794 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.185, allocations: 8 kB / 0.6794 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.1851, allocations: 28.36 kB / 0.6794 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.1855, allocations: 289.5 kB / 0.6797 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.1875, allocations: 1.532 MB / 0.6812 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.188, allocations: 333.2 kB / 0.6815 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1881, allocations: 101.7 kB / 0.6816 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.1883, allocations: 93.09 kB / 0.6817 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1883, allocations: 34.56 kB / 0.6817 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1883, allocations: 0 / 0.6817 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.002385/0.1907, allocations: 0.9681 MB / 0.6827 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1908, allocations: 81.11 kB / 0.6827 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.191, allocations: 219.6 kB / 0.6829 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.191, allocations: 25.7 kB / 0.683 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1911, allocations: 172.1 kB / 0.6831 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.1912, allocations: 82.84 kB / 0.6832 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1913, allocations: 61.69 kB / 0.6833 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1915, allocations: 330.8 kB / 0.6836 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1917, allocations: 131.9 kB / 0.6837 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1919, allocations: 209.2 kB / 0.6839 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.1924, allocations: 369.8 kB / 0.6843 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1924, allocations: 0 / 0.6843 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008219/0.1932, allocations: 0.5122 MB / 0.6848 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1933, allocations: 4 kB / 0.6848 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1933, allocations: 4 kB / 0.6848 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.1938, allocations: 151.2 kB / 0.6849 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.194, allocations: 60 kB / 0.685 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.1974, allocations: 4.187 MB / 0.6891 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.1976, allocations: 24.17 kB / 0.6891 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.1976, allocations: 15.98 kB / 0.6891 GB, free: 14.21 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1978, allocations: 165.6 kB / 0.6893 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.1979, allocations: 19.72 kB / 0.6893 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008381/0.1987, allocations: 482.4 kB / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1988, allocations: 0 / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1988, allocations: 4 kB / 0.6897 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1988, allocations: 0 / 0.6897 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.2004, allocations: 0.9978 MB / 0.6907 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2004, allocations: 4.344 kB / 0.6907 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.2005, allocations: 43.86 kB / 0.6908 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.2009, allocations: 139.3 kB / 0.6909 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.2009, allocations: 8 kB / 0.6909 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.204, allocations: 4.162 MB / 0.695 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.204, allocations: 0 / 0.695 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.2048, allocations: 0.6258 MB / 0.6956 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.2049, allocations: 132.8 kB / 0.6957 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2049, allocations: 8 kB / 0.6957 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2052, allocations: 15.98 kB / 0.6957 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2052, allocations: 27.91 kB / 0.6958 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2052, allocations: 8 kB / 0.6958 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001533/0.2054, allocations: 165.5 kB / 0.6959 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2054, allocations: 0 / 0.6959 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000515/0.2059, allocations: 84 kB / 0.696 GB, free: 6.609 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * 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.0002183/0.2062, allocations: 135.2 kB / 0.6961 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009719/0.2071, allocations: 0.579 MB / 0.6967 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2072, allocations: 0 / 0.6967 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.2077, allocations: 402.4 kB / 0.6971 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.2082, allocations: 45.88 kB / 0.6971 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.2091, allocations: 0.6296 MB / 0.6977 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2095, allocations: 0.7792 MB / 0.6985 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.2097, allocations: 54.25 kB / 0.6986 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.2098, allocations: 23.44 kB / 0.6986 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.2098, allocations: 0 / 0.6986 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.008555/0.2183, allocations: 4.243 MB / 0.7027 GB, free: 15.62 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)