Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.GeneratorLoadGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [/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.179/0.181, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004536/0.1856, allocations: 2.857 MB / 0.6734 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1882, allocations: 1.742 MB / 0.6751 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1884, allocations: 7.938 kB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.1892, allocations: 238.1 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.1896, allocations: 195.1 kB / 0.6755 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1901, allocations: 219.4 kB / 0.6757 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.1905, allocations: 314.8 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1909, allocations: 178.3 kB / 0.6762 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1911, allocations: 123.5 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.1913, allocations: 155.5 kB / 0.6765 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1914, allocations: 20 kB / 0.6765 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.1918, allocations: 251.5 kB / 0.6767 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.1919, allocations: 79.8 kB / 0.6768 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.192, allocations: 119.4 kB / 0.6769 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.1925, allocations: 406.7 kB / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1925, allocations: 0 / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1926, allocations: 0 / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1926, allocations: 0 / 0.6773 GB, free: 11.14 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009556/0.1935, allocations: 0.538 MB / 0.6778 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1936, allocations: 12.03 kB / 0.6778 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.1943, allocations: 84.56 kB / 0.6779 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1946, allocations: 264.5 kB / 0.6782 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1947, allocations: 16.75 kB / 0.6782 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1947, allocations: 20.31 kB / 0.6782 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.1953, allocations: 378.5 kB / 0.6786 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1953, allocations: 0 / 0.6786 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.1954, allocations: 11.98 kB / 0.6786 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.1954, allocations: 28.31 kB / 0.6786 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.196, allocations: 328.6 kB / 0.6789 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1976, allocations: 1.508 MB / 0.6804 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.1983, allocations: 333 kB / 0.6807 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.1986, allocations: 149.6 kB / 0.6809 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.1988, allocations: 89.11 kB / 0.6809 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1988, allocations: 38.55 kB / 0.681 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.1988, allocations: 3.938 kB / 0.681 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.001343/0.2002, allocations: 0.5887 MB / 0.6816 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.2002, allocations: 85.11 kB / 0.6816 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.2004, allocations: 215.6 kB / 0.6819 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2005, allocations: 25.7 kB / 0.6819 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.2006, allocations: 159.9 kB / 0.682 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.2006, allocations: 70.98 kB / 0.6821 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2007, allocations: 61.89 kB / 0.6822 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2009, allocations: 330.8 kB / 0.6825 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.2011, allocations: 133.9 kB / 0.6826 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.2015, allocations: 215.3 kB / 0.6828 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.2021, allocations: 375.1 kB / 0.6832 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2021, allocations: 0 / 0.6832 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008514/0.203, allocations: 431.7 kB / 0.6836 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.203, allocations: 4 kB / 0.6836 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.203, allocations: 4.047 kB / 0.6836 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.2033, allocations: 45.14 kB / 0.6836 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.2036, allocations: 75.89 kB / 0.6837 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2051, allocations: 1.599 MB / 0.6853 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.2054, allocations: 31.81 kB / 0.6853 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.2054, allocations: 16 kB / 0.6853 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003282/0.2057, allocations: 236 kB / 0.6855 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002679/0.206, allocations: 207.7 kB / 0.6857 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005358/0.2065, allocations: 358.3 kB / 0.6861 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.2066, allocations: 3.984 kB / 0.6861 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007532/0.2073, allocations: 410.1 kB / 0.6865 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2073, allocations: 5.25 kB / 0.6865 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2074, allocations: 4.062 kB / 0.6865 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.2075, allocations: 52.75 kB / 0.6865 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.2078, allocations: 63.89 kB / 0.6866 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2091, allocations: 1.603 MB / 0.6881 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2093, allocations: 31.81 kB / 0.6882 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.2094, allocations: 12 kB / 0.6882 GB, free: 15.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.2095, allocations: 204.2 kB / 0.6884 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2096, allocations: 19.81 kB / 0.6884 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/0.2103, allocations: 359.9 kB / 0.6887 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2103, allocations: 7.938 kB / 0.6888 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2103, allocations: 4 kB / 0.6888 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2103, allocations: 3.938 kB / 0.6888 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2118, allocations: 0.9599 MB / 0.6897 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2118, allocations: 4 kB / 0.6897 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.212, allocations: 51.89 kB / 0.6898 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.2122, allocations: 36.77 kB / 0.6898 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.2122, allocations: 8 kB / 0.6898 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.2134, allocations: 1.516 MB / 0.6913 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2134, allocations: 4.031 kB / 0.6913 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.2142, allocations: 0.5462 MB / 0.6918 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2143, allocations: 116.9 kB / 0.6919 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2144, allocations: 15.88 kB / 0.6919 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.2146, allocations: 23.97 kB / 0.692 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.2147, allocations: 19.92 kB / 0.692 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2147, allocations: 8 kB / 0.692 GB, free: 11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001526/0.2149, allocations: 159 kB / 0.6921 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2149, allocations: 0 / 0.6921 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000635/0.2155, allocations: 104 kB / 0.6922 GB, free: 10.74 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.2158, allocations: 99.25 kB / 0.6923 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.2172, allocations: 0.751 MB / 0.6931 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.2172, allocations: 0 / 0.6931 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.2176, allocations: 271.9 kB / 0.6933 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.2182, allocations: 34.56 kB / 0.6934 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2193, allocations: 0.567 MB / 0.6939 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.2198, allocations: 0.7678 MB / 0.6947 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002445/0.22, allocations: 97.84 kB / 0.6948 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.2201, allocations: 19.44 kB / 0.6948 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.2201, allocations: 0 / 0.6948 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of Templates: time 0.007705/0.2278, allocations: 3.312 MB / 0.698 GB, free: 4.719 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)