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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7746/0.7746, allocations: 132.4 MB / 139.7 MB, free: 5.031 MB / 115 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001405/0.001405, allocations: 182.4 kB / 171.6 MB, free: 15.44 MB / 147 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.618/1.618, allocations: 170.5 MB / 373.9 MB, free: 15.58 MB / 291 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00183/0.00183, allocations: 112.1 kB / 444.4 MB, free: 26.27 MB / 339 MB [/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.4864/0.4864, allocations: 73.4 MB / 0.666 GB, free: 89 MB / 467 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.6435, allocations: 128.1 MB / 0.7911 GB, free: 8.723 MB / 0.5029 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.6438, allocations: 91.94 kB / 0.7912 GB, free: 8.633 MB / 0.5029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.4285/1.072, allocations: 11.41 MB / 0.8023 GB, free: 127.1 MB / 0.5029 GB Notification: Performance of Transformations before backend: time 2.025e-05/1.072, allocations: 10.41 kB / 0.8023 GB, free: 127.1 MB / 0.5029 GB 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.0006627/1.073, allocations: 0.4905 MB / 0.8028 GB, free: 126.7 MB / 0.5029 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.073, allocations: 7.344 kB / 0.8028 GB, free: 126.7 MB / 0.5029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006567/1.074, allocations: 91.09 kB / 0.8029 GB, free: 126.7 MB / 0.5029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/1.074, allocations: 247.5 kB / 0.8032 GB, free: 126.5 MB / 0.5029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/1.074, allocations: 7.344 kB / 0.8032 GB, free: 126.5 MB / 0.5029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/1.074, allocations: 9.531 kB / 0.8032 GB, free: 126.5 MB / 0.5029 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003101/1.074, allocations: 180.1 kB / 0.8033 GB, free: 126.5 MB / 0.5029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/1.075, allocations: 277.9 kB / 0.8036 GB, free: 126.4 MB / 0.5029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.075, allocations: 0 / 0.8036 GB, free: 126.4 MB / 0.5029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/1.075, allocations: 0.8438 kB / 0.8036 GB, free: 126.4 MB / 0.5029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/1.075, allocations: 18.22 kB / 0.8036 GB, free: 126.4 MB / 0.5029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/1.076, allocations: 1.139 MB / 0.8047 GB, free: 125.6 MB / 0.5029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/1.076, allocations: 99.73 kB / 0.8048 GB, free: 125.6 MB / 0.5029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/1.077, allocations: 40.08 kB / 0.8049 GB, free: 125.6 MB / 0.5029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/1.077, allocations: 3.875 kB / 0.8049 GB, free: 125.6 MB / 0.5029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/1.077, allocations: 34.12 kB / 0.8049 GB, free: 125.5 MB / 0.5029 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.077, allocations: 0 / 0.8049 GB, free: 125.5 MB / 0.5029 GB Notification: Performance of matching and sorting (n=8): time 0.0003118/1.077, allocations: 122.7 kB / 0.805 GB, free: 125.5 MB / 0.5029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/1.077, allocations: 57.28 kB / 0.8051 GB, free: 125.4 MB / 0.5029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/1.077, allocations: 169.2 kB / 0.8052 GB, free: 125.3 MB / 0.5029 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.077, allocations: 25.7 kB / 0.8053 GB, free: 125.3 MB / 0.5029 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/1.077, allocations: 169.2 kB / 0.8054 GB, free: 125.1 MB / 0.5029 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.077, allocations: 25.69 kB / 0.8054 GB, free: 125.1 MB / 0.5029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.077, allocations: 0 / 0.8054 GB, free: 125.1 MB / 0.5029 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/1.077, allocations: 331.6 kB / 0.8058 GB, free: 124.8 MB / 0.5029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/1.077, allocations: 38.31 kB / 0.8058 GB, free: 124.8 MB / 0.5029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/1.077, allocations: 98.5 kB / 0.8059 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.051e-05/1.078, allocations: 60.03 kB / 0.806 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.078, allocations: 3.844 kB / 0.806 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002623/1.078, allocations: 178.4 kB / 0.8061 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.078, allocations: 9.031 kB / 0.8061 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.078, allocations: 4 kB / 0.8061 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/1.078, allocations: 28.28 kB / 0.8062 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/1.078, allocations: 31.98 kB / 0.8062 GB, free: 124.7 MB / 0.5029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008092/1.079, allocations: 1.252 MB / 0.8074 GB, free: 123.5 MB / 0.5029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/1.079, allocations: 19.66 kB / 0.8074 GB, free: 123.5 MB / 0.5029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.079, allocations: 7.812 kB / 0.8074 GB, free: 123.5 MB / 0.5029 GB 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 () * 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 8.11e-05/1.079, allocations: 112.7 kB / 0.8076 GB, free: 123.3 MB / 0.5029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/1.079, allocations: 15.66 kB / 0.8076 GB, free: 123.3 MB / 0.5029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/1.079, allocations: 16.84 kB / 0.8076 GB, free: 123.3 MB / 0.5029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.079, allocations: 0 / 0.8076 GB, free: 123.3 MB / 0.5029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.079, allocations: 7.781 kB / 0.8076 GB, free: 123.3 MB / 0.5029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.079, allocations: 0 / 0.8076 GB, free: 123.3 MB / 0.5029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/1.08, allocations: 225.1 kB / 0.8078 GB, free: 123.2 MB / 0.5029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.08, allocations: 0 / 0.8078 GB, free: 123.2 MB / 0.5029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/1.08, allocations: 19.5 kB / 0.8078 GB, free: 123.2 MB / 0.5029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-05/1.08, allocations: 22.16 kB / 0.8078 GB, free: 123.2 MB / 0.5029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/1.08, allocations: 0 / 0.8078 GB, free: 123.2 MB / 0.5029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006601/1.08, allocations: 1.252 MB / 0.8091 GB, free: 122 MB / 0.5029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.08, allocations: 3.938 kB / 0.8091 GB, free: 122 MB / 0.5029 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/1.081, allocations: 221.6 kB / 0.8093 GB, free: 121.8 MB / 0.5029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/1.081, allocations: 104.7 kB / 0.8094 GB, free: 121.7 MB / 0.5029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/1.081, allocations: 0 / 0.8094 GB, free: 121.7 MB / 0.5029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.081, allocations: 9.031 kB / 0.8094 GB, free: 121.7 MB / 0.5029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/1.081, allocations: 3.906 kB / 0.8094 GB, free: 121.7 MB / 0.5029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.081, allocations: 7.375 kB / 0.8094 GB, free: 121.7 MB / 0.5029 GB Notification: Performance of sort global known variables: time 8.89e-05/1.081, allocations: 128.9 kB / 0.8095 GB, free: 121.6 MB / 0.5029 GB Notification: Performance of remove unused functions: time 0.0003171/1.081, allocations: 50.72 kB / 0.8096 GB, free: 121.6 MB / 0.5029 GB 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 () * 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.0001373/1.082, allocations: 101.8 kB / 0.8097 GB, free: 121.5 MB / 0.5029 GB Notification: Performance of simCode: created initialization part: time 0.0003564/1.082, allocations: 198.5 kB / 0.8099 GB, free: 121.4 MB / 0.5029 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.082, allocations: 3.812 kB / 0.8099 GB, free: 121.4 MB / 0.5029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/1.082, allocations: 148.3 kB / 0.81 GB, free: 121.3 MB / 0.5029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/1.082, allocations: 33.31 kB / 0.81 GB, free: 121.3 MB / 0.5029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/1.083, allocations: 228.9 kB / 0.8103 GB, free: 121.2 MB / 0.5029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/1.083, allocations: 0.7799 MB / 0.811 GB, free: 120.5 MB / 0.5029 GB Notification: Performance of SimCode: time 2.6e-07/1.083, allocations: 0 / 0.811 GB, free: 120.5 MB / 0.5029 GB Notification: Performance of Templates: time 0.004547/1.088, allocations: 1.769 MB / 0.8127 GB, free: 120.4 MB / 0.5029 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (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)