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.176/0.1781, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005001/0.1831, allocations: 3.047 MB / 0.6736 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.1863, allocations: 1.999 MB / 0.6755 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1865, allocations: 7.938 kB / 0.6755 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.1875, allocations: 282.4 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.188, allocations: 211.1 kB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.1887, allocations: 247.2 kB / 0.6763 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.1891, allocations: 323 kB / 0.6766 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.1894, allocations: 180.8 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1896, allocations: 131.5 kB / 0.6769 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.19, allocations: 151.5 kB / 0.677 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.19, allocations: 20 kB / 0.677 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.1906, allocations: 399.2 kB / 0.6774 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1907, allocations: 95.73 kB / 0.6775 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1909, allocations: 119.4 kB / 0.6776 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.1915, allocations: 486.7 kB / 0.6781 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1915, allocations: 4 kB / 0.6781 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1915, allocations: 0 / 0.6781 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.1916, 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.001014/0.1926, allocations: 0.5574 MB / 0.6786 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1926, allocations: 8.031 kB / 0.6786 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008771/0.1935, allocations: 108.5 kB / 0.6787 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.1939, allocations: 263.8 kB / 0.679 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.194, allocations: 20.8 kB / 0.679 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.194, allocations: 24.12 kB / 0.679 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.1946, allocations: 353.1 kB / 0.6794 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1946, allocations: 4 kB / 0.6794 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.1946, allocations: 8 kB / 0.6794 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.1947, allocations: 24.42 kB / 0.6794 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1952, allocations: 297.4 kB / 0.6797 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1973, allocations: 1.532 MB / 0.6812 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.1978, allocations: 326.1 kB / 0.6815 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.198, allocations: 101.7 kB / 0.6816 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1981, allocations: 93.08 kB / 0.6817 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1981, allocations: 34.56 kB / 0.6817 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1981, allocations: 0 / 0.6817 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.002501/0.2006, allocations: 0.9607 MB / 0.6826 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2007, allocations: 85.14 kB / 0.6827 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.201, allocations: 215.6 kB / 0.6829 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.201, allocations: 29.7 kB / 0.683 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2011, allocations: 172 kB / 0.6831 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.2012, allocations: 82.89 kB / 0.6832 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2013, allocations: 57.69 kB / 0.6833 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2015, allocations: 326.8 kB / 0.6836 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2017, allocations: 135.9 kB / 0.6837 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.202, allocations: 217.2 kB / 0.6839 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.2024, allocations: 361.8 kB / 0.6843 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2024, allocations: 4 kB / 0.6843 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008202/0.2033, allocations: 0.5119 MB / 0.6848 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2033, allocations: 4 kB / 0.6848 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.2033, allocations: 4.312 kB / 0.6848 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/0.2039, allocations: 155.4 kB / 0.6849 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2041, allocations: 59.84 kB / 0.685 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.2073, allocations: 4.191 MB / 0.6891 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2075, allocations: 19.98 kB / 0.6891 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2075, allocations: 8 kB / 0.6891 GB, free: 14.23 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.000185/0.2077, allocations: 177.7 kB / 0.6893 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.2078, allocations: 19.72 kB / 0.6893 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/0.2086, allocations: 478.5 kB / 0.6897 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.2086, allocations: 4 kB / 0.6897 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2086, allocations: 0 / 0.6897 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2086, allocations: 0 / 0.6897 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.2102, allocations: 1.003 MB / 0.6907 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2102, allocations: 3.984 kB / 0.6907 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2103, allocations: 31.98 kB / 0.6908 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.2107, allocations: 143.5 kB / 0.6909 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2107, allocations: 8 kB / 0.6909 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.2136, allocations: 4.166 MB / 0.695 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.2137, allocations: 4 kB / 0.695 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.2145, allocations: 0.618 MB / 0.6956 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2146, allocations: 132.8 kB / 0.6957 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.2146, allocations: 12 kB / 0.6957 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2149, allocations: 15.98 kB / 0.6957 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.2149, allocations: 23.97 kB / 0.6958 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2149, allocations: 8 kB / 0.6958 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001412/0.2151, allocations: 157.5 kB / 0.6959 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2151, allocations: 0 / 0.6959 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005194/0.2156, allocations: 87.98 kB / 0.696 GB, free: 6.629 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.0002405/0.2159, allocations: 135.2 kB / 0.6961 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.217, allocations: 0.587 MB / 0.6967 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.217, allocations: 0 / 0.6967 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.2176, allocations: 398.2 kB / 0.6971 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.2182, allocations: 49.03 kB / 0.6971 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2194, allocations: 0.6313 MB / 0.6977 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.2198, allocations: 0.7792 MB / 0.6985 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.2199, allocations: 58.23 kB / 0.6986 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.22, allocations: 19.44 kB / 0.6986 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.22, allocations: 0 / 0.6986 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of Templates: time 0.008807/0.2288, allocations: 4.233 MB / 0.7027 GB, free: 15.64 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)