Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [/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.2068/0.2076, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003865/0.2115, allocations: 2.708 MB / 0.596 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2137, allocations: 1.291 MB / 0.5973 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2139, allocations: 4 kB / 0.5973 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.2141, allocations: 43.7 kB / 0.5973 GB, free: 1.93 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.2145, allocations: 123.6 kB / 0.5974 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2148, allocations: 105.5 kB / 0.5975 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.2151, allocations: 187.6 kB / 0.5977 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.2155, allocations: 223.2 kB / 0.5979 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.2157, allocations: 91.69 kB / 0.598 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2159, allocations: 103.6 kB / 0.5981 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.216, allocations: 12 kB / 0.5981 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.2161, allocations: 79.83 kB / 0.5982 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.2162, allocations: 67.8 kB / 0.5983 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.2163, allocations: 61.64 kB / 0.5983 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.2166, allocations: 263.6 kB / 0.5986 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2166, allocations: 0 / 0.5986 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2166, allocations: 4 kB / 0.5986 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2166, allocations: 0 / 0.5986 GB, free: 0.6172 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008626/0.2175, allocations: 0.5065 MB / 0.5991 GB, free: 64 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2176, allocations: 8.031 kB / 0.5991 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/0.2182, allocations: 87.7 kB / 0.5992 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.2185, allocations: 247.7 kB / 0.5994 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2186, allocations: 16.44 kB / 0.5994 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2186, allocations: 16 kB / 0.5994 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.2192, allocations: 308.3 kB / 0.5997 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2192, allocations: 0 / 0.5997 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.2192, allocations: 15.98 kB / 0.5997 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.2193, allocations: 16.42 kB / 0.5998 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.2196, allocations: 217.5 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.2212, allocations: 1.204 MB / 0.6011 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.2217, allocations: 203.7 kB / 0.6013 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2218, allocations: 0 / 0.6013 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.2218, allocations: 34.56 kB / 0.6014 GB, free: 13.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.2218, allocations: 4 kB / 0.6014 GB, free: 13.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006895/0.2225, allocations: 267.5 kB / 0.6016 GB, free: 13.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2226, allocations: 51.41 kB / 0.6017 GB, free: 13.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.2228, allocations: 213.4 kB / 0.6019 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2228, allocations: 25.7 kB / 0.6019 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.223, allocations: 179.6 kB / 0.6021 GB, free: 12.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.223, allocations: 23.66 kB / 0.6021 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.223, allocations: 0 / 0.6021 GB, free: 12.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2232, allocations: 338.7 kB / 0.6024 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.2233, allocations: 39.98 kB / 0.6025 GB, free: 12.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2234, allocations: 119.4 kB / 0.6026 GB, free: 12.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2236, allocations: 63.92 kB / 0.6026 GB, free: 12.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2236, allocations: 4 kB / 0.6026 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003624/0.2239, allocations: 222.2 kB / 0.6028 GB, free: 11.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.224, allocations: 7.953 kB / 0.6029 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.224, allocations: 4 kB / 0.6029 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.2242, allocations: 28.78 kB / 0.6029 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2243, allocations: 31.98 kB / 0.6029 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.2255, allocations: 1.327 MB / 0.6042 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2257, allocations: 23.78 kB / 0.6042 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2257, allocations: 8.25 kB / 0.6042 GB, free: 10.33 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.2258, allocations: 153.8 kB / 0.6044 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2259, allocations: 19.77 kB / 0.6044 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.2259, allocations: 21.39 kB / 0.6044 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2259, allocations: 0 / 0.6044 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-05/0.226, allocations: 8.047 kB / 0.6044 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.226, allocations: 4 kB / 0.6044 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.2267, allocations: 491.2 kB / 0.6049 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2267, allocations: 0 / 0.6049 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.2267, allocations: 15.98 kB / 0.6049 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.627e-05/0.2268, allocations: 20.84 kB / 0.6049 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2268, allocations: 0 / 0.6049 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009846/0.2278, allocations: 1.331 MB / 0.6062 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2279, allocations: 0 / 0.6062 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2282, allocations: 248.3 kB / 0.6065 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2283, allocations: 104.8 kB / 0.6066 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2283, allocations: 0 / 0.6066 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2284, allocations: 8 kB / 0.6066 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.2285, allocations: 15.98 kB / 0.6066 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.2285, allocations: 0 / 0.6066 GB, free: 7.676 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.2286, allocations: 144.2 kB / 0.6067 GB, free: 7.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2286, allocations: 96 / 0.6067 GB, free: 7.535 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.229, allocations: 59.78 kB / 0.6068 GB, free: 7.477 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.2291, allocations: 103.1 kB / 0.6069 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.2297, allocations: 234.6 kB / 0.6071 GB, free: 7.125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2297, allocations: 0 / 0.6071 GB, free: 7.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.2299, allocations: 166.6 kB / 0.6073 GB, free: 6.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2303, allocations: 37.17 kB / 0.6073 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.2311, allocations: 467.3 kB / 0.6078 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.2316, allocations: 0.7709 MB / 0.6085 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.2317, allocations: 33.52 kB / 0.6085 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.2317, allocations: 11.44 kB / 0.6086 GB, free: 5.59 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2317, allocations: 0 / 0.6086 GB, free: 5.59 MB / 462.1 MB Notification: Performance of Templates: time 0.004767/0.2365, allocations: 1.761 MB / 0.6103 GB, free: 3.852 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: