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.1861/0.1868, allocations: 82.22 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003126/0.19, allocations: 2.062 MB / 0.5955 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1923, allocations: 1.389 MB / 0.5968 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1924, allocations: 7.938 kB / 0.5969 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1926, allocations: 15.86 kB / 0.5969 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.193, allocations: 115.5 kB / 0.597 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.1934, allocations: 143.6 kB / 0.5971 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1937, allocations: 255.2 kB / 0.5974 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.1942, allocations: 218.3 kB / 0.5976 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1943, allocations: 75.69 kB / 0.5976 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1946, allocations: 103.7 kB / 0.5977 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1946, allocations: 4 kB / 0.5977 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.1948, allocations: 107.8 kB / 0.5978 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.1949, allocations: 55.86 kB / 0.5979 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.195, allocations: 49.64 kB / 0.5979 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1953, allocations: 203.5 kB / 0.5981 GB, free: 1.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.1953, allocations: 0 / 0.5981 GB, free: 1.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1953, allocations: 0 / 0.5981 GB, free: 1.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1953, allocations: 0 / 0.5981 GB, free: 1.16 MB / 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.0006141/0.1959, allocations: 447 kB / 0.5986 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.196, allocations: 12.03 kB / 0.5986 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.1965, allocations: 67.64 kB / 0.5986 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1967, allocations: 214.9 kB / 0.5988 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1968, allocations: 8.281 kB / 0.5989 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.1968, allocations: 12 kB / 0.5989 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.1973, allocations: 278.7 kB / 0.5991 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1973, allocations: 3.906 kB / 0.5991 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1973, allocations: 8 kB / 0.5991 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.1974, allocations: 12.23 kB / 0.5992 GB, free: 16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1977, allocations: 212.4 kB / 0.5994 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.1994, allocations: 1.379 MB / 0.6007 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.1998, allocations: 327.2 kB / 0.601 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.1999, allocations: 65.61 kB / 0.6011 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1999, allocations: 4 kB / 0.6011 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2, allocations: 30.56 kB / 0.6011 GB, free: 13.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2, allocations: 0 / 0.6011 GB, free: 13.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005694/0.2005, allocations: 252.8 kB / 0.6014 GB, free: 13.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.2006, allocations: 89 kB / 0.6014 GB, free: 13.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.2008, allocations: 199.3 kB / 0.6016 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2008, allocations: 25.7 kB / 0.6017 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.201, allocations: 151.7 kB / 0.6018 GB, free: 13.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.201, allocations: 35.56 kB / 0.6018 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.201, allocations: 0 / 0.6018 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2012, allocations: 326.8 kB / 0.6021 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2013, allocations: 68.14 kB / 0.6022 GB, free: 12.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2015, allocations: 153.1 kB / 0.6024 GB, free: 12.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2016, allocations: 95.91 kB / 0.6024 GB, free: 12.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2016, allocations: 0 / 0.6024 GB, free: 12.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003777/0.202, allocations: 264.7 kB / 0.6027 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.2021, allocations: 179.6 kB / 0.6029 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2022, allocations: 4 kB / 0.6029 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2022, allocations: 11.95 kB / 0.6029 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.2024, allocations: 51.91 kB / 0.6029 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2024, allocations: 4 kB / 0.6029 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2026, allocations: 15.92 kB / 0.603 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2026, allocations: 15.98 kB / 0.603 GB, free: 11.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/0.2026, allocations: 6.031 kB / 0.603 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003029/0.2029, allocations: 195.7 kB / 0.6032 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2029, allocations: 4 kB / 0.6032 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.203, allocations: 4 kB / 0.6032 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2031, allocations: 51.84 kB / 0.6032 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2031, allocations: 4 kB / 0.6032 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.2032, allocations: 15.98 kB / 0.6032 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2033, allocations: 8.125 kB / 0.6032 GB, free: 11.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.2034, allocations: 229.3 kB / 0.6035 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.2035, allocations: 15.81 kB / 0.6035 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.2037, allocations: 154.9 kB / 0.6036 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2038, allocations: 0 / 0.6036 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2038, allocations: 4 kB / 0.6036 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2038, allocations: 0 / 0.6036 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.2048, allocations: 0.7273 MB / 0.6043 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2048, allocations: 7.938 kB / 0.6043 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.813e-05/0.2049, allocations: 19.98 kB / 0.6044 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.2049, allocations: 4.344 kB / 0.6044 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2049, allocations: 15.89 kB / 0.6044 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2049, allocations: 4 kB / 0.6044 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2049, allocations: 4 kB / 0.6044 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.2053, allocations: 382.2 kB / 0.6048 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.2054, allocations: 101 kB / 0.6049 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.2054, allocations: 8 kB / 0.6049 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.2056, allocations: 11.94 kB / 0.6049 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.2056, allocations: 19.92 kB / 0.6049 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2056, allocations: 8 kB / 0.6049 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2058, allocations: 143.7 kB / 0.605 GB, free: 9.512 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2058, allocations: 4 kB / 0.605 GB, free: 9.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.2063, allocations: 64 kB / 0.6051 GB, free: 9.445 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.2065, allocations: 115.2 kB / 0.6052 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.2069, allocations: 261 kB / 0.6055 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2069, allocations: 3.938 kB / 0.6055 GB, free: 9.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.207, allocations: 60.45 kB / 0.6055 GB, free: 9.008 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.2075, allocations: 39.42 kB / 0.6056 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.2083, allocations: 0.501 MB / 0.606 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2086, allocations: 0.7324 MB / 0.6068 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.2088, allocations: 89.47 kB / 0.6068 GB, free: 7.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.2089, allocations: 15.44 kB / 0.6069 GB, free: 7.547 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2089, allocations: 0 / 0.6069 GB, free: 7.547 MB / 462.1 MB Notification: Performance of Templates: time 0.004352/0.2133, allocations: 1.626 MB / 0.6085 GB, free: 5.961 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: