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.1797/0.1817, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004542/0.1863, allocations: 2.872 MB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1891, allocations: 1.75 MB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1893, allocations: 4 kB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.1901, allocations: 223.1 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.1905, allocations: 191.1 kB / 0.6755 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.191, allocations: 227.4 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.1914, allocations: 318.8 kB / 0.676 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.1917, allocations: 170.4 kB / 0.6762 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1919, allocations: 131.5 kB / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1922, allocations: 151.5 kB / 0.6765 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.1923, allocations: 20 kB / 0.6765 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.1926, allocations: 247.5 kB / 0.6767 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1927, allocations: 83.8 kB / 0.6768 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1928, allocations: 111.4 kB / 0.6769 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.1933, allocations: 422.7 kB / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1933, allocations: 0 / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1933, allocations: 0 / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.1934, allocations: 0 / 0.6773 GB, free: 11.12 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.0008777/0.1942, allocations: 0.5341 MB / 0.6778 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1943, allocations: 8.031 kB / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.195, allocations: 88.56 kB / 0.6779 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1953, allocations: 264.5 kB / 0.6782 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1953, allocations: 12.73 kB / 0.6782 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.1954, allocations: 16.38 kB / 0.6782 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.196, allocations: 378.5 kB / 0.6786 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.196, allocations: 8 kB / 0.6786 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1961, allocations: 8 kB / 0.6786 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.1961, allocations: 28.25 kB / 0.6786 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.1967, allocations: 320.6 kB / 0.6789 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.1987, allocations: 1.516 MB / 0.6804 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.1995, allocations: 333 kB / 0.6807 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.1999, allocations: 157.5 kB / 0.6809 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.2001, allocations: 85.11 kB / 0.6809 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2001, allocations: 34.56 kB / 0.681 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.2001, allocations: 0 / 0.681 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.001383/0.2015, allocations: 0.6003 MB / 0.6816 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2016, allocations: 85.03 kB / 0.6816 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.2018, allocations: 207.6 kB / 0.6818 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.2018, allocations: 37.64 kB / 0.6819 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.2019, allocations: 151.9 kB / 0.682 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.202, allocations: 75.11 kB / 0.6821 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2021, allocations: 57.88 kB / 0.6822 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2022, allocations: 334.8 kB / 0.6825 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.2025, allocations: 129.9 kB / 0.6826 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.2028, allocations: 215.3 kB / 0.6828 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.2034, allocations: 379 kB / 0.6832 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2034, allocations: 0 / 0.6832 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007837/0.2042, allocations: 423.7 kB / 0.6836 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2042, allocations: 12.34 kB / 0.6836 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.2043, allocations: 4 kB / 0.6836 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.2045, allocations: 40.81 kB / 0.6836 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.2048, allocations: 63.89 kB / 0.6837 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.2064, allocations: 1.615 MB / 0.6853 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.2067, allocations: 31.88 kB / 0.6853 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2067, allocations: 12 kB / 0.6853 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003345/0.207, allocations: 240 kB / 0.6855 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002808/0.2073, allocations: 211.6 kB / 0.6857 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005459/0.2079, allocations: 350.3 kB / 0.6861 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.2079, allocations: 4 kB / 0.6861 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007741/0.2087, allocations: 409.8 kB / 0.6865 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2087, allocations: 9.25 kB / 0.6865 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.2087, allocations: 0 / 0.6865 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.2089, allocations: 41.2 kB / 0.6865 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.2091, allocations: 75.88 kB / 0.6866 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.2105, allocations: 1.595 MB / 0.6881 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2108, allocations: 31.81 kB / 0.6882 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2108, 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.0001676/0.211, allocations: 200.1 kB / 0.6884 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.211, allocations: 19.81 kB / 0.6884 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.2118, allocations: 367.9 kB / 0.6887 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2118, allocations: 7.984 kB / 0.6888 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2118, allocations: 3.938 kB / 0.6888 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.2118, allocations: 4.141 kB / 0.6888 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.2134, allocations: 0.9599 MB / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2134, allocations: 4 kB / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.2136, allocations: 51.89 kB / 0.6897 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.2138, allocations: 44.98 kB / 0.6898 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.2138, allocations: 12.06 kB / 0.6898 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.215, allocations: 1.508 MB / 0.6913 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2151, allocations: 0 / 0.6913 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.2158, allocations: 0.5383 MB / 0.6918 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.216, allocations: 120.8 kB / 0.6919 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.2161, allocations: 19.86 kB / 0.6919 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.2163, allocations: 15.98 kB / 0.692 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.2164, allocations: 23.97 kB / 0.692 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2164, allocations: 8 kB / 0.692 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001791/0.2166, allocations: 159 kB / 0.6921 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2166, allocations: 0 / 0.6921 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006312/0.2172, allocations: 104 kB / 0.6922 GB, free: 10.73 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.0001905/0.2174, allocations: 107.2 kB / 0.6923 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.2188, allocations: 0.744 MB / 0.6931 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2188, allocations: 0 / 0.6931 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.2192, allocations: 270.5 kB / 0.6933 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.2197, allocations: 37.94 kB / 0.6934 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.2207, allocations: 0.5676 MB / 0.6939 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.2211, allocations: 0.7679 MB / 0.6947 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000235/0.2213, allocations: 101.8 kB / 0.6948 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.2214, allocations: 27.44 kB / 0.6948 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.2214, allocations: 0 / 0.6948 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of Templates: time 0.006937/0.2284, allocations: 3.367 MB / 0.6981 GB, free: 4.645 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)