Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8858/0.8858, allocations: 132.4 MB / 139.9 MB, free: 2.809 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.00104/0.00104, allocations: 168.2 kB / 171.8 MB, free: 4.934 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.514/1.514, allocations: 170.6 MB / 374.2 MB, free: 188 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.001351/0.001351, allocations: 112.7 kB / 444.8 MB, free: 14.14 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.2177/0.2177, allocations: 73.42 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6729/0.8907, allocations: 128.8 MB / 0.7924 GB, free: 2.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.891, allocations: 87.94 kB / 0.7925 GB, free: 2.684 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.05047/0.9415, allocations: 19.59 MB / 0.8116 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9416, allocations: 0 / 0.8116 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.45e-05/0.9416, allocations: 11.94 kB / 0.8116 GB, free: 14.84 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001445/0.9431, allocations: 0.5928 MB / 0.8122 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.9431, allocations: 12.03 kB / 0.8122 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.9442, allocations: 99.45 kB / 0.8123 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.9449, allocations: 295.3 kB / 0.8126 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.9449, allocations: 11.95 kB / 0.8126 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.945, allocations: 19.98 kB / 0.8126 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006047/0.9456, allocations: 281.5 kB / 0.8129 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.9463, allocations: 406 kB / 0.8133 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.9464, allocations: 3.938 kB / 0.8133 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.9464, allocations: 3.938 kB / 0.8133 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.9465, allocations: 32.77 kB / 0.8133 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.9492, allocations: 1.619 MB / 0.8149 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.9498, allocations: 182.8 kB / 0.8151 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.9501, allocations: 132.8 kB / 0.8152 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.9501, allocations: 0 / 0.8152 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.9502, allocations: 42.45 kB / 0.8153 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/0.9502, allocations: 0 / 0.8153 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.000563/0.9508, allocations: 179.9 kB / 0.8154 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.9508, allocations: 55.41 kB / 0.8155 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.9511, allocations: 192.4 kB / 0.8157 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.9512, allocations: 29.69 kB / 0.8157 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.9514, allocations: 212 kB / 0.8159 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.9515, allocations: 63.05 kB / 0.816 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.9515, allocations: 0 / 0.816 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.9517, allocations: 330.8 kB / 0.8163 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.9519, allocations: 60.55 kB / 0.8163 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.9521, allocations: 175.4 kB / 0.8165 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.9523, allocations: 92.77 kB / 0.8166 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9523, allocations: 4 kB / 0.8166 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005396/0.9529, allocations: 271.7 kB / 0.8168 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008091/0.9537, allocations: 1.398 MB / 0.8182 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.9537, allocations: 4 kB / 0.8182 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.954, allocations: 28.84 kB / 0.8182 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.9543, allocations: 71.89 kB / 0.8183 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005265/0.9548, allocations: 0.5524 MB / 0.8188 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.9551, allocations: 39.72 kB / 0.8189 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.9552, allocations: 12 kB / 0.8189 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.9552, allocations: 4 kB / 0.8189 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003522/0.9556, allocations: 196.2 kB / 0.8191 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.9556, allocations: 4 kB / 0.8191 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.9556, allocations: 7.953 kB / 0.8191 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.9559, allocations: 84.3 kB / 0.8192 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.956, allocations: 11.94 kB / 0.8192 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.9562, allocations: 35.81 kB / 0.8192 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.9563, allocations: 12 kB / 0.8192 GB, free: 6.582 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.9564, allocations: 112.9 kB / 0.8193 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.9565, allocations: 27.72 kB / 0.8194 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.9566, allocations: 29.95 kB / 0.8194 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.9566, allocations: 3.953 kB / 0.8194 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.9566, allocations: 0 / 0.8194 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.9566, allocations: 7.984 kB / 0.8194 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.9576, allocations: 0.5899 MB / 0.82 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9576, allocations: 0 / 0.82 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.9578, allocations: 43.97 kB / 0.82 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.9579, allocations: 24.84 kB / 0.8201 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.958, allocations: 0 / 0.8201 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.959, allocations: 1.26 MB / 0.8213 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.959, allocations: 160 / 0.8213 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.9594, allocations: 326.3 kB / 0.8216 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.9596, allocations: 120.7 kB / 0.8217 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.9596, allocations: 4 kB / 0.8217 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.9598, allocations: 19.97 kB / 0.8217 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.9599, allocations: 15.98 kB / 0.8217 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.96, allocations: 4 kB / 0.8218 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000152/0.9601, allocations: 152.5 kB / 0.8219 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9601, allocations: 0 / 0.8219 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006366/0.9608, allocations: 127.5 kB / 0.822 GB, free: 3.504 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.9609, allocations: 99.2 kB / 0.8221 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006009/0.9616, allocations: 288.9 kB / 0.8224 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9616, allocations: 0.5625 kB / 0.8224 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.9618, allocations: 193.8 kB / 0.8226 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.9623, allocations: 49.89 kB / 0.8226 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.9632, allocations: 378.5 kB / 0.823 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.9638, allocations: 0.808 MB / 0.8238 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003272/0.9642, allocations: 73.98 kB / 0.8238 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.9642, allocations: 23.44 kB / 0.8239 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/0.9642, allocations: 0 / 0.8239 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of Templates: time 0.008114/0.9723, allocations: 2.971 MB / 0.8268 GB, free: 14.6 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)