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.1778/0.1798, allocations: 80.84 MB / 0.5899 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004369/0.1842, allocations: 3.103 MB / 0.5929 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.1873, allocations: 1.984 MB / 0.5948 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.1876, allocations: 7.938 kB / 0.5948 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.1885, allocations: 263.1 kB / 0.5951 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.189, allocations: 191.3 kB / 0.5953 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007579/0.1898, allocations: 223.5 kB / 0.5955 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.1902, allocations: 322.9 kB / 0.5958 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.1907, allocations: 208.9 kB / 0.596 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.191, allocations: 135.5 kB / 0.5961 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.1913, allocations: 155.4 kB / 0.5963 GB, free: 388 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1914, allocations: 20 kB / 0.5963 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007096/0.1921, allocations: 399.2 kB / 0.5967 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1922, allocations: 87.78 kB / 0.5968 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.1924, allocations: 123.3 kB / 0.5969 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.1931, allocations: 0.4908 MB / 0.5974 GB, free: 15.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1931, allocations: 0 / 0.5974 GB, free: 15.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1932, allocations: 0 / 0.5974 GB, free: 15.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1932, allocations: 0 / 0.5974 GB, free: 15.27 MB / 462.1 MB 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.0009391/0.1941, allocations: 0.564 MB / 0.5979 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.1942, allocations: 16.02 kB / 0.5979 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/0.1951, allocations: 108.4 kB / 0.598 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1954, allocations: 267.5 kB / 0.5983 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1954, allocations: 12.81 kB / 0.5983 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.1955, allocations: 20.12 kB / 0.5983 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.196, allocations: 356.9 kB / 0.5987 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.196, allocations: 0 / 0.5987 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.1961, allocations: 8 kB / 0.5987 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.1961, allocations: 32.41 kB / 0.5987 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.1966, allocations: 293.5 kB / 0.599 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.1989, allocations: 1.529 MB / 0.6005 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.1995, allocations: 337.6 kB / 0.6008 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1996, allocations: 101.7 kB / 0.6009 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1997, allocations: 89.09 kB / 0.601 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1998, allocations: 38.56 kB / 0.601 GB, free: 11.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.1998, allocations: 3.938 kB / 0.601 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002539/0.2023, allocations: 0.9642 MB / 0.602 GB, free: 10.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.2024, allocations: 77.11 kB / 0.602 GB, free: 10.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.2026, allocations: 213.5 kB / 0.6022 GB, free: 9.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2027, allocations: 29.64 kB / 0.6023 GB, free: 9.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2028, allocations: 180 kB / 0.6024 GB, free: 9.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.2029, allocations: 74.86 kB / 0.6025 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.203, allocations: 69.62 kB / 0.6026 GB, free: 9.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2031, allocations: 330.8 kB / 0.6029 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2034, allocations: 135.9 kB / 0.603 GB, free: 9.102 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2036, allocations: 209.2 kB / 0.6032 GB, free: 8.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.2041, allocations: 367.8 kB / 0.6036 GB, free: 8.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2041, allocations: 0 / 0.6036 GB, free: 8.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008524/0.205, allocations: 0.5089 MB / 0.6041 GB, free: 7.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.205, allocations: 13.97 kB / 0.6041 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.205, allocations: 0 / 0.6041 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/0.2056, allocations: 151.4 kB / 0.6042 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2058, allocations: 55.91 kB / 0.6043 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.2092, allocations: 4.199 MB / 0.6084 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.2094, allocations: 15.98 kB / 0.6084 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.2095, allocations: 16 kB / 0.6084 GB, free: 3.16 MB / 462.1 MB 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.0002722/0.2098, allocations: 168.2 kB / 0.6086 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.2098, allocations: 15.81 kB / 0.6086 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008993/0.2107, allocations: 482.4 kB / 0.609 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2108, allocations: 7.938 kB / 0.609 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2108, allocations: 0 / 0.609 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2108, allocations: 0 / 0.609 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.2123, allocations: 1.015 MB / 0.61 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2123, allocations: 0 / 0.61 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2124, allocations: 35.98 kB / 0.6101 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.2129, allocations: 147.5 kB / 0.6102 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2129, allocations: 4 kB / 0.6102 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.2161, allocations: 4.167 MB / 0.6143 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2161, allocations: 3.938 kB / 0.6143 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.217, allocations: 0.6255 MB / 0.6149 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2171, allocations: 128.7 kB / 0.615 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.2171, allocations: 15.98 kB / 0.615 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2174, allocations: 19.98 kB / 0.6151 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.2174, allocations: 31.91 kB / 0.6151 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.2175, allocations: 8 kB / 0.6151 GB, free: 11.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.2176, allocations: 156.2 kB / 0.6152 GB, free: 11.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2176, allocations: 0 / 0.6152 GB, free: 11.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.2182, allocations: 95.92 kB / 0.6153 GB, free: 11.52 MB / 478.1 MB 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.0002701/0.2184, allocations: 137.3 kB / 0.6155 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2195, allocations: 0.5914 MB / 0.616 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2195, allocations: 0.625 kB / 0.616 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.22, allocations: 402.8 kB / 0.6164 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.2205, allocations: 39.97 kB / 0.6165 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2217, allocations: 0.7323 MB / 0.6172 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.2222, allocations: 0.7792 MB / 0.6179 GB, free: 8.711 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.2224, allocations: 54.25 kB / 0.618 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.2225, allocations: 23.44 kB / 0.618 GB, free: 8.637 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2225, allocations: 0 / 0.618 GB, free: 8.637 MB / 478.1 MB Notification: Performance of Templates: time 0.008284/0.2308, allocations: 4.214 MB / 0.6221 GB, free: 4.453 MB / 478.1 MB 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)