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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7904/0.7904, allocations: 132.4 MB / 139.9 MB, free: 15.37 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001059/0.00106, allocations: 170.4 kB / 171.8 MB, free: 2.047 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.73/1.73, allocations: 170.6 MB / 374.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001827/0.001828, allocations: 113.7 kB / 444.8 MB, free: 9.234 MB / 346.7 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.5633/0.5633, allocations: 73.39 MB / 0.6666 GB, free: 46.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.751, allocations: 128.2 MB / 0.7918 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.7514, allocations: 100.5 kB / 0.7919 GB, free: 8.5 MB / 0.4948 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 - DAE generated: time 0.03046/0.7819, allocations: 11.74 MB / 0.8033 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7819, allocations: 0 / 0.8033 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.782, allocations: 8 kB / 0.8033 GB, free: 12.73 MB / 0.5105 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.0009427/0.7829, allocations: 492.9 kB / 0.8038 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.783, allocations: 12.02 kB / 0.8038 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007593/0.7837, allocations: 86.34 kB / 0.8039 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.7842, allocations: 255.3 kB / 0.8041 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.7842, allocations: 4 kB / 0.8041 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.7843, allocations: 12 kB / 0.8042 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003494/0.7847, allocations: 176.8 kB / 0.8043 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.7851, allocations: 271.1 kB / 0.8046 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.7851, allocations: 3.984 kB / 0.8046 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.7852, allocations: 0 / 0.8046 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.7852, allocations: 14.69 kB / 0.8046 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.7869, allocations: 1.13 MB / 0.8057 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.7873, allocations: 191.6 kB / 0.8059 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.7874, allocations: 36.84 kB / 0.8059 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.7874, allocations: 4.094 kB / 0.8059 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7875, allocations: 38.52 kB / 0.806 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.814e-06/0.7875, allocations: 7.938 kB / 0.806 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0003466/0.7879, allocations: 110.4 kB / 0.8061 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.7879, allocations: 51.41 kB / 0.8061 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.7881, allocations: 173.8 kB / 0.8063 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.7882, allocations: 29.64 kB / 0.8063 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.7883, allocations: 175.6 kB / 0.8065 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.7883, allocations: 23.66 kB / 0.8065 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.7883, allocations: 0 / 0.8065 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7885, allocations: 326.8 kB / 0.8068 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.7886, allocations: 35.98 kB / 0.8069 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.7887, allocations: 97.44 kB / 0.8069 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.407e-05/0.7888, allocations: 53.62 kB / 0.807 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7888, allocations: 7.953 kB / 0.807 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003106/0.7891, allocations: 174.2 kB / 0.8072 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.7891, allocations: 8 kB / 0.8072 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7892, allocations: 0 / 0.8072 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.7893, allocations: 28.84 kB / 0.8072 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.7895, allocations: 31.92 kB / 0.8072 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.7907, allocations: 1.265 MB / 0.8085 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.7908, allocations: 17.97 kB / 0.8085 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.7908, allocations: 4 kB / 0.8085 GB, free: 7.023 MB / 0.5105 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 0.0001063/0.7909, allocations: 121 kB / 0.8086 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.791, allocations: 15.81 kB / 0.8086 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.791, allocations: 17.84 kB / 0.8086 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.791, allocations: 0 / 0.8086 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7911, allocations: 0 / 0.8086 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7911, allocations: 0 / 0.8086 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.7916, allocations: 427.8 kB / 0.809 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7916, allocations: 3.938 kB / 0.8091 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.7917, allocations: 15.98 kB / 0.8091 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.16e-05/0.7918, allocations: 20.84 kB / 0.8091 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7918, allocations: 0 / 0.8091 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.7928, allocations: 1.258 MB / 0.8103 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7929, allocations: 0 / 0.8103 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.7931, allocations: 217.7 kB / 0.8105 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.7932, allocations: 100.9 kB / 0.8106 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.7932, allocations: 3.938 kB / 0.8106 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.7934, allocations: 11.94 kB / 0.8106 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.7934, allocations: 11.94 kB / 0.8106 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.7934, allocations: 0 / 0.8106 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001296/0.7936, allocations: 135.2 kB / 0.8108 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7936, allocations: 0 / 0.8108 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003351/0.7939, allocations: 55.75 kB / 0.8108 GB, free: 4.43 MB / 0.5105 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.0001505/0.7941, allocations: 99.23 kB / 0.8109 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.7945, allocations: 200.3 kB / 0.8111 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7945, allocations: 0 / 0.8111 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.7947, allocations: 146.3 kB / 0.8113 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.795, allocations: 36.27 kB / 0.8113 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.7955, allocations: 230.2 kB / 0.8115 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.796, allocations: 0.7631 MB / 0.8123 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.7961, allocations: 17.2 kB / 0.8123 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.7962, allocations: 19.44 kB / 0.8123 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7962, allocations: 0 / 0.8123 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of Templates: time 0.004881/0.8011, allocations: 1.549 MB / 0.8138 GB, free: 1.352 MB / 0.5105 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)