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.8225/0.8225, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.001165/0.001165, allocations: 168.1 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.714/1.714, allocations: 170.7 MB / 383.7 MB, free: 16.3 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.001691/0.001691, allocations: 112.6 kB / 454.6 MB, free: 9.875 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.1707/0.1712, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.998/5.169, allocations: 2.164 GB / 2.845 GB, free: 163.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004569/5.169, allocations: 101.6 kB / 2.845 GB, free: 163.8 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.2081/5.378, allocations: 92.79 MB / 2.936 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.747e-06/5.378, allocations: 3.938 kB / 2.936 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000122/5.378, allocations: 35.88 kB / 2.936 GB, free: 142.1 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.004105/5.382, allocations: 1.702 MB / 2.938 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/5.382, allocations: 10.75 kB / 2.938 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007124/5.389, allocations: 0.9215 MB / 2.939 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/5.392, allocations: 0.8044 MB / 2.939 GB, free: 139.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/5.392, allocations: 105.6 kB / 2.939 GB, free: 139.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/5.392, allocations: 144.2 kB / 2.94 GB, free: 139.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004484/5.397, allocations: 1.954 MB / 2.941 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/5.397, allocations: 0 / 2.941 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/5.397, allocations: 59.5 kB / 2.942 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-05/5.397, allocations: 64.09 kB / 2.942 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006114/5.403, allocations: 2.446 MB / 2.944 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/5.415, allocations: 5.822 MB / 2.95 GB, free: 132.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004615/5.42, allocations: 1.689 MB / 2.951 GB, free: 132 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007398/5.421, allocations: 490.6 kB / 2.952 GB, free: 131.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/5.423, allocations: 0.9707 MB / 2.953 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=127): time 5.801e-06/5.423, allocations: 0 / 2.953 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127): time 0.006259/5.429, allocations: 2.314 MB / 2.955 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/5.429, allocations: 269.7 kB / 2.955 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/5.431, allocations: 0.7003 MB / 2.956 GB, free: 129 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/5.431, allocations: 49.33 kB / 2.956 GB, free: 128.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/5.431, allocations: 0.5476 MB / 2.956 GB, free: 128.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/5.432, allocations: 415.5 kB / 2.957 GB, free: 128.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/5.432, allocations: 23.47 kB / 2.957 GB, free: 128.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001964/5.432, allocations: 405.7 kB / 2.957 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/5.434, allocations: 0.6546 MB / 2.958 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/5.436, allocations: 0.8197 MB / 2.959 GB, free: 126.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/5.437, allocations: 0.7632 MB / 2.959 GB, free: 126 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/5.437, allocations: 0 / 2.959 GB, free: 126 MB / 0.6198 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004539/5.442, allocations: 1.824 MB / 2.961 GB, free: 124.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003391/5.442, allocations: 1.102 MB / 2.962 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/5.442, allocations: 7.938 kB / 2.962 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/5.443, allocations: 36.83 kB / 2.962 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/5.445, allocations: 335.5 kB / 2.963 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/5.445, allocations: 0.5484 MB / 2.963 GB, free: 122 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/5.447, allocations: 186.8 kB / 2.963 GB, free: 121.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/5.447, allocations: 59.95 kB / 2.963 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/5.447, allocations: 4 kB / 2.963 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004344/5.451, allocations: 1.709 MB / 2.965 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/5.451, allocations: 4 kB / 2.965 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/5.451, allocations: 12.19 kB / 2.965 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/5.453, allocations: 343.5 kB / 2.965 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/5.453, allocations: 11.94 kB / 2.965 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/5.455, allocations: 182.9 kB / 2.966 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/5.455, allocations: 59.89 kB / 2.966 GB, free: 119.4 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 () * Number of clocked 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.001338/5.457, allocations: 428.7 kB / 2.966 GB, free: 119 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/5.457, allocations: 110.6 kB / 2.966 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005674/5.463, allocations: 1.97 MB / 2.968 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/5.463, allocations: 20 kB / 2.968 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/5.463, allocations: 0 / 2.968 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/5.463, allocations: 7.938 kB / 2.968 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007601/5.47, allocations: 3.606 MB / 2.972 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/5.47, allocations: 4 kB / 2.972 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/5.472, allocations: 311.6 kB / 2.972 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/5.472, allocations: 36.78 kB / 2.972 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/5.473, allocations: 43.91 kB / 2.972 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008046/5.473, allocations: 1.288 MB / 2.973 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.473, allocations: 0 / 2.973 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/5.478, allocations: 1.785 MB / 2.975 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009459/5.479, allocations: 411.1 kB / 2.975 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/5.479, allocations: 24 kB / 2.976 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/5.481, allocations: 135.9 kB / 2.976 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/5.481, allocations: 85.12 kB / 2.976 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/5.481, allocations: 55.95 kB / 2.976 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001003/5.482, allocations: 0.5732 MB / 2.976 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/5.482, allocations: 0 / 2.976 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002968/5.485, allocations: 0.7475 MB / 2.977 GB, free: 107.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 133 * 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.001958/5.487, allocations: 0.6259 MB / 2.978 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006879/5.494, allocations: 2.688 MB / 2.98 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/5.494, allocations: 0 / 2.98 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/5.496, allocations: 0.943 MB / 2.981 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/5.498, allocations: 221.1 kB / 2.981 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/5.506, allocations: 3.239 MB / 2.985 GB, free: 99.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/5.507, allocations: 1.226 MB / 2.986 GB, free: 98.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003247/5.51, allocations: 0.5273 MB / 2.986 GB, free: 98.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/5.511, allocations: 143.3 kB / 2.986 GB, free: 98.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.724e-06/5.511, allocations: 0 / 2.986 GB, free: 98.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.0317/5.542, allocations: 18.12 MB / 3.004 GB, free: 80 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)