Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [/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.183/0.1838, allocations: 82.21 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003267/0.1871, allocations: 2.13 MB / 0.5962 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1898, allocations: 1.489 MB / 0.5977 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.19, allocations: 4 kB / 0.5977 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.1902, allocations: 15.86 kB / 0.5977 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.1907, allocations: 131.5 kB / 0.5978 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.1914, allocations: 171.6 kB / 0.598 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.1918, allocations: 319.2 kB / 0.5983 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.1924, allocations: 238.2 kB / 0.5985 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1926, allocations: 63.77 kB / 0.5986 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.1929, allocations: 103.6 kB / 0.5987 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1929, allocations: 8 kB / 0.5987 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.1933, allocations: 223.5 kB / 0.5989 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.1934, allocations: 55.86 kB / 0.5989 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1935, allocations: 93.31 kB / 0.599 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.194, allocations: 279.1 kB / 0.5993 GB, free: 236 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.194, allocations: 4 kB / 0.5993 GB, free: 232 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.194, allocations: 0 / 0.5993 GB, free: 232 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.194, allocations: 0 / 0.5993 GB, free: 232 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007561/0.1948, allocations: 435.3 kB / 0.5997 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1948, allocations: 11.97 kB / 0.5997 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.1955, allocations: 76.58 kB / 0.5998 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1958, allocations: 220.1 kB / 0.6 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1958, allocations: 16.64 kB / 0.6 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.1959, allocations: 8.375 kB / 0.6 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1963, allocations: 279 kB / 0.6003 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1963, allocations: 3.938 kB / 0.6003 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1964, allocations: 11.98 kB / 0.6003 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.1964, allocations: 20.22 kB / 0.6003 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.1968, allocations: 204.5 kB / 0.6005 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.1986, allocations: 1.371 MB / 0.6019 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.199, allocations: 315.3 kB / 0.6022 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.1991, allocations: 77.59 kB / 0.6022 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1991, allocations: 4.141 kB / 0.6022 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.1992, allocations: 38.5 kB / 0.6023 GB, free: 12.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1992, allocations: 0 / 0.6023 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005914/0.1998, allocations: 240.6 kB / 0.6025 GB, free: 12.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1998, allocations: 81.23 kB / 0.6026 GB, free: 12.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.2001, allocations: 203.4 kB / 0.6028 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2001, allocations: 29.7 kB / 0.6028 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.2002, allocations: 151.7 kB / 0.6029 GB, free: 12.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.2002, allocations: 43.44 kB / 0.603 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.2003, allocations: 33.64 kB / 0.603 GB, free: 12.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2004, allocations: 322.8 kB / 0.6033 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2006, allocations: 67.95 kB / 0.6034 GB, free: 11.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.2008, allocations: 157 kB / 0.6035 GB, free: 11.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.2011, allocations: 242.1 kB / 0.6038 GB, free: 11.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2011, allocations: 0 / 0.6038 GB, free: 11.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000406/0.2015, allocations: 261.2 kB / 0.604 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2016, allocations: 171.6 kB / 0.6042 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2017, allocations: 4 kB / 0.6042 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2017, allocations: 7.938 kB / 0.6042 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2019, allocations: 56.03 kB / 0.6042 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2019, allocations: 7.984 kB / 0.6043 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2021, allocations: 23.78 kB / 0.6043 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.2021, allocations: 19.98 kB / 0.6043 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.2021, allocations: 4 kB / 0.6043 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003005/0.2024, allocations: 191.7 kB / 0.6045 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2025, allocations: 4 kB / 0.6045 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.2025, allocations: 4 kB / 0.6045 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2026, allocations: 44.3 kB / 0.6045 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2027, allocations: 15.92 kB / 0.6045 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2028, allocations: 8 kB / 0.6046 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2028, allocations: 15.94 kB / 0.6046 GB, free: 10.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.203, allocations: 221 kB / 0.6048 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.203, allocations: 15.81 kB / 0.6048 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.2033, allocations: 139 kB / 0.6049 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2033, allocations: 0 / 0.6049 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2033, allocations: 4 kB / 0.6049 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2033, allocations: 11.88 kB / 0.6049 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.2043, allocations: 0.7236 MB / 0.6057 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.2044, allocations: 4 kB / 0.6057 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2045, allocations: 23.92 kB / 0.6057 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2045, allocations: 4 kB / 0.6057 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2045, allocations: 11.94 kB / 0.6057 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2045, allocations: 7.984 kB / 0.6057 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.2045, allocations: 7.938 kB / 0.6057 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.2049, allocations: 382.1 kB / 0.6061 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.205, allocations: 104.9 kB / 0.6062 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.205, allocations: 11.98 kB / 0.6062 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2052, allocations: 4 kB / 0.6062 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2053, allocations: 19.92 kB / 0.6062 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2053, allocations: 4 kB / 0.6062 GB, free: 8.508 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.2054, allocations: 151.7 kB / 0.6064 GB, free: 8.359 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2054, allocations: 0 / 0.6064 GB, free: 8.359 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005355/0.206, allocations: 64 kB / 0.6064 GB, free: 8.297 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001829/0.2062, allocations: 115 kB / 0.6065 GB, free: 8.176 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.2066, allocations: 268.6 kB / 0.6068 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2067, allocations: 0 / 0.6068 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.2068, allocations: 63.83 kB / 0.6068 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.2073, allocations: 32.28 kB / 0.6069 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.2082, allocations: 492.2 kB / 0.6073 GB, free: 7.281 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.2087, allocations: 0.7402 MB / 0.6081 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.2089, allocations: 89.47 kB / 0.6082 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.209, allocations: 15.44 kB / 0.6082 GB, free: 6.41 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.209, allocations: 0 / 0.6082 GB, free: 6.41 MB / 462.1 MB Notification: Performance of Templates: time 0.00518/0.2142, allocations: 1.66 MB / 0.6098 GB, free: 4.793 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: