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.9117/0.9117, allocations: 132.4 MB / 139.9 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001427/0.001427, allocations: 174.6 kB / 171.8 MB, free: 4.922 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.488/1.488, allocations: 170.6 MB / 374.2 MB, free: 196 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001602/0.001602, allocations: 105.1 kB / 444.8 MB, free: 14.18 MB / 314.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.1605/0.1606, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/0.8215, allocations: 128.2 MB / 0.7918 GB, free: 3.418 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.822, allocations: 87.94 kB / 0.7919 GB, free: 3.332 MB / 490.7 MB [/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.03334/0.8553, allocations: 11.75 MB / 0.8033 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8554, allocations: 0 / 0.8033 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.8554, allocations: 4 kB / 0.8033 GB, free: 7.441 MB / 0.4948 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.0009334/0.8563, allocations: 0.4917 MB / 0.8038 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8564, allocations: 8.031 kB / 0.8038 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000786/0.8572, allocations: 79.66 kB / 0.8039 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.8577, allocations: 243.4 kB / 0.8041 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.8577, allocations: 8 kB / 0.8041 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.8578, allocations: 15.94 kB / 0.8042 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003593/0.8581, allocations: 180.7 kB / 0.8043 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.8586, allocations: 267.5 kB / 0.8046 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.8586, allocations: 3.938 kB / 0.8046 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.8587, allocations: 4 kB / 0.8046 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.8587, allocations: 12.44 kB / 0.8046 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.8603, allocations: 1.141 MB / 0.8057 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.8607, allocations: 187.7 kB / 0.8059 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.8608, allocations: 32.84 kB / 0.8059 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.8608, allocations: 7.953 kB / 0.8059 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.8609, allocations: 34.56 kB / 0.806 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.8609, allocations: 0 / 0.806 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003467/0.8612, allocations: 114.4 kB / 0.8061 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.8613, allocations: 51.41 kB / 0.8061 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.8615, allocations: 169.8 kB / 0.8063 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.8615, allocations: 25.7 kB / 0.8063 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.8616, allocations: 183.6 kB / 0.8065 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.8617, allocations: 23.64 kB / 0.8065 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.8617, allocations: 0 / 0.8065 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8619, allocations: 334.8 kB / 0.8068 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.8619, allocations: 32 kB / 0.8069 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.8621, allocations: 103.7 kB / 0.807 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/0.8622, allocations: 53.69 kB / 0.807 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8622, allocations: 0 / 0.807 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000325/0.8625, allocations: 178.3 kB / 0.8072 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.8625, allocations: 7.938 kB / 0.8072 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8625, allocations: 4 kB / 0.8072 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.8627, allocations: 20.84 kB / 0.8072 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.8629, allocations: 31.98 kB / 0.8072 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.864, allocations: 1.256 MB / 0.8085 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.8642, allocations: 19.86 kB / 0.8085 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.8642, allocations: 12 kB / 0.8085 GB, free: 1.723 MB / 0.4948 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.0001112/0.8643, allocations: 117 kB / 0.8086 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.8644, allocations: 19.75 kB / 0.8086 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.8644, allocations: 21.83 kB / 0.8086 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.8644, allocations: 4 kB / 0.8086 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8644, allocations: 0 / 0.8086 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.8645, allocations: 64 / 0.8086 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.865, allocations: 427.7 kB / 0.8091 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.865, allocations: 4 kB / 0.8091 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.8651, allocations: 8 kB / 0.8091 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.629e-05/0.8652, allocations: 24.84 kB / 0.8091 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.8652, allocations: 0 / 0.8091 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.8662, allocations: 1.248 MB / 0.8103 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8663, allocations: 3.938 kB / 0.8103 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.8665, allocations: 216.2 kB / 0.8105 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8666, allocations: 105 kB / 0.8106 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.8667, allocations: 0 / 0.8106 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.8668, allocations: 12.02 kB / 0.8106 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.8669, allocations: 11.89 kB / 0.8106 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.8669, allocations: 4 kB / 0.8106 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001264/0.867, allocations: 131.2 kB / 0.8108 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.867, allocations: 0 / 0.8108 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003579/0.8674, allocations: 55.75 kB / 0.8108 GB, free: 15.13 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.0001502/0.8675, allocations: 100.2 kB / 0.8109 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.8679, allocations: 197.8 kB / 0.8111 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.868, allocations: 0 / 0.8111 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.8681, allocations: 150.3 kB / 0.8113 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.8685, allocations: 29.73 kB / 0.8113 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.869, allocations: 233.4 kB / 0.8115 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.8694, allocations: 0.7592 MB / 0.8122 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000123/0.8696, allocations: 21.19 kB / 0.8123 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.8696, allocations: 15.44 kB / 0.8123 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.8696, allocations: 4 kB / 0.8123 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.005145/0.8748, allocations: 1.55 MB / 0.8138 GB, free: 12.02 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)