Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.726/0.726, allocations: 132.3 MB / 144.9 MB, free: 10.68 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.001095/0.001095, allocations: 177.1 kB / 176.9 MB, free: 2.172 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.409/1.409, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001613/0.001613, allocations: 105.8 kB / 450 MB, free: 5.789 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.493/0.493, allocations: 73.39 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.998/5.491, allocations: 2.164 GB / 2.838 GB, free: 211.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/5.491, allocations: 94.81 kB / 2.838 GB, free: 211.6 MB / 0.6198 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.1812/5.672, allocations: 92.38 MB / 2.928 GB, free: 149 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/5.672, allocations: 0 / 2.928 GB, free: 149 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001367/5.672, allocations: 35.94 kB / 2.928 GB, free: 148.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.004181/5.677, allocations: 1.575 MB / 2.929 GB, free: 147.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/5.677, allocations: 12.03 kB / 2.929 GB, free: 147.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006077/5.683, allocations: 0.9187 MB / 2.93 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/5.685, allocations: 0.7985 MB / 2.931 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.266e-05/5.685, allocations: 106.8 kB / 2.931 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/5.685, allocations: 136 kB / 2.931 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/5.689, allocations: 1.719 MB / 2.933 GB, free: 143.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/5.689, allocations: 3.938 kB / 2.933 GB, free: 143.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/5.689, allocations: 60 kB / 2.933 GB, free: 143.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/5.689, allocations: 66.72 kB / 2.933 GB, free: 143.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/5.692, allocations: 1.97 MB / 2.935 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009813/5.702, allocations: 5.828 MB / 2.941 GB, free: 135.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/5.704, allocations: 1.335 MB / 2.942 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/5.705, allocations: 0.6403 MB / 2.943 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/5.705, allocations: 498.5 kB / 2.943 GB, free: 132.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/5.707, allocations: 0.812 MB / 2.944 GB, free: 132 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=127): time 4.969e-06/5.707, allocations: 0 / 2.944 GB, free: 132 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127): time 0.002254/5.709, allocations: 1.266 MB / 2.945 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/5.709, allocations: 278 kB / 2.945 GB, free: 130.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/5.71, allocations: 0.6879 MB / 2.946 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/5.71, allocations: 53.7 kB / 2.946 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/5.71, allocations: 0.5351 MB / 2.947 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/5.711, allocations: 425.8 kB / 2.947 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/5.711, allocations: 24 kB / 2.947 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001154/5.711, allocations: 402.7 kB / 2.948 GB, free: 128.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/5.712, allocations: 498.5 kB / 2.948 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/5.713, allocations: 0.6734 MB / 2.949 GB, free: 127 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008667/5.713, allocations: 0.594 MB / 2.949 GB, free: 126.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/5.713, allocations: 0 / 2.949 GB, free: 126.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002304/5.716, allocations: 1.507 MB / 2.951 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002385/5.716, allocations: 1.108 MB / 2.952 GB, free: 123.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/5.716, allocations: 0 / 2.952 GB, free: 123.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/5.716, allocations: 32.84 kB / 2.952 GB, free: 123.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/5.718, allocations: 343.5 kB / 2.952 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002747/5.718, allocations: 0.5444 MB / 2.953 GB, free: 122.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/5.72, allocations: 190.9 kB / 2.953 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/5.72, allocations: 59.95 kB / 2.953 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/5.72, allocations: 4 kB / 2.953 GB, free: 122.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002007/5.722, allocations: 1.385 MB / 2.954 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/5.722, allocations: 4.344 kB / 2.954 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/5.722, allocations: 12 kB / 2.954 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/5.724, allocations: 351.5 kB / 2.955 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/5.724, allocations: 8 kB / 2.955 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/5.725, allocations: 182.8 kB / 2.955 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/5.725, allocations: 63.97 kB / 2.955 GB, free: 120.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003017/5.726, allocations: 172.7 kB / 2.955 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/5.726, allocations: 110.7 kB / 2.955 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/5.729, allocations: 1.665 MB / 2.957 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/5.729, allocations: 12 kB / 2.957 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/5.729, allocations: 4 kB / 2.957 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/5.729, allocations: 11.92 kB / 2.957 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/5.734, allocations: 3.391 MB / 2.96 GB, free: 115 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/5.734, allocations: 0 / 2.96 GB, free: 115 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/5.735, allocations: 319.6 kB / 2.96 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/5.736, allocations: 32.8 kB / 2.96 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/5.736, allocations: 43.95 kB / 2.96 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006413/5.736, allocations: 1.288 MB / 2.962 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/5.736, allocations: 4.031 kB / 2.962 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/5.738, allocations: 1.512 MB / 2.963 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/5.739, allocations: 411.1 kB / 2.964 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/5.739, allocations: 28 kB / 2.964 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/5.741, allocations: 139.8 kB / 2.964 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/5.741, allocations: 81.2 kB / 2.964 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/5.741, allocations: 55.95 kB / 2.964 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006736/5.742, allocations: 0.5538 MB / 2.964 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/5.742, allocations: 4 kB / 2.964 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002093/5.744, allocations: 0.7435 MB / 2.965 GB, free: 109.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/5.745, allocations: 0.6007 MB / 2.966 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003142/5.748, allocations: 2.239 MB / 2.968 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/5.748, allocations: 0 / 2.968 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009878/5.749, allocations: 0.7754 MB / 2.969 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/5.75, allocations: 225.6 kB / 2.969 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/5.754, allocations: 1.951 MB / 2.971 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/5.754, allocations: 1.224 MB / 2.972 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00289/5.757, allocations: 0.6169 MB / 2.973 GB, free: 102 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/5.758, allocations: 127.3 kB / 2.973 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/5.758, allocations: 0 / 2.973 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.02956/5.787, allocations: 19.4 MB / 2.992 GB, free: 82.57 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)