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.7895/0.7895, allocations: 132.4 MB / 139.9 MB, free: 15.4 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.001168/0.001168, allocations: 173.8 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.728/1.728, allocations: 170.6 MB / 374.2 MB, free: 15.77 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.002012/0.002012, allocations: 111.2 kB / 444.8 MB, free: 9.289 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.6216/0.6216, allocations: 73.4 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.8245, allocations: 128.8 MB / 0.7924 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.8249, allocations: 93.19 kB / 0.7925 GB, free: 7.875 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.04965/0.8745, allocations: 19.6 MB / 0.8116 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8746, allocations: 0 / 0.8116 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.683e-05/0.8746, allocations: 8 kB / 0.8116 GB, free: 4.18 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.001518/0.8761, allocations: 0.5986 MB / 0.8122 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.8762, allocations: 8.031 kB / 0.8122 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.8772, allocations: 95.45 kB / 0.8123 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.8778, allocations: 301.9 kB / 0.8126 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.8778, allocations: 12 kB / 0.8126 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.8779, allocations: 19.94 kB / 0.8126 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005881/0.8785, allocations: 281.4 kB / 0.8129 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.8792, allocations: 402.9 kB / 0.8133 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.8793, allocations: 9.5 kB / 0.8133 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.8793, allocations: 0 / 0.8133 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.8794, allocations: 28.77 kB / 0.8133 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.8818, allocations: 1.628 MB / 0.8149 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.8824, allocations: 178.6 kB / 0.8151 GB, free: 436 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.8827, allocations: 136.9 kB / 0.8152 GB, free: 296 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.8827, allocations: 4 kB / 0.8152 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.8827, allocations: 34.5 kB / 0.8153 GB, free: 248 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.194e-06/0.8827, allocations: 0 / 0.8153 GB, free: 248 kB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.000492/0.8832, allocations: 188.3 kB / 0.8154 GB, free: 52 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.8833, allocations: 55.41 kB / 0.8155 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.8836, allocations: 192.4 kB / 0.8157 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.8836, allocations: 25.7 kB / 0.8157 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.8838, allocations: 212 kB / 0.8159 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.8838, allocations: 63.05 kB / 0.816 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.8838, allocations: 3.938 kB / 0.816 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.884, allocations: 334.8 kB / 0.8163 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.8842, allocations: 56.55 kB / 0.8163 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.8844, allocations: 171.4 kB / 0.8165 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.8846, allocations: 95.81 kB / 0.8166 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8846, allocations: 4 kB / 0.8166 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005158/0.8851, allocations: 268.5 kB / 0.8168 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007716/0.8859, allocations: 1.399 MB / 0.8182 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8859, allocations: 4 kB / 0.8182 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.8861, allocations: 28.84 kB / 0.8182 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.8864, allocations: 71.89 kB / 0.8183 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004936/0.8869, allocations: 0.5562 MB / 0.8189 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.8872, allocations: 37.86 kB / 0.8189 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.8873, allocations: 12 kB / 0.8189 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8873, allocations: 4 kB / 0.8189 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000357/0.8877, allocations: 191.7 kB / 0.8191 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8877, allocations: 4 kB / 0.8191 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8877, allocations: 8 kB / 0.8191 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.888, allocations: 84.25 kB / 0.8192 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.888, allocations: 9.703 kB / 0.8192 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.8883, allocations: 31.83 kB / 0.8192 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.8883, allocations: 12 kB / 0.8192 GB, free: 11.93 MB / 0.5261 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.0001423/0.8885, allocations: 112.9 kB / 0.8193 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.8885, allocations: 27.72 kB / 0.8194 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.8886, allocations: 25.95 kB / 0.8194 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.8886, allocations: 4 kB / 0.8194 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.8887, allocations: 3.953 kB / 0.8194 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8887, allocations: 0 / 0.8194 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.8896, allocations: 0.5853 MB / 0.82 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.8896, allocations: 4 kB / 0.82 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.8898, allocations: 47.92 kB / 0.82 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.8899, allocations: 24.84 kB / 0.82 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.8899, allocations: 10.55 kB / 0.8201 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.8911, allocations: 1.256 MB / 0.8213 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.8911, allocations: 3.938 kB / 0.8213 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.8915, allocations: 334.3 kB / 0.8216 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.8917, allocations: 112.8 kB / 0.8217 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.8917, allocations: 3.984 kB / 0.8217 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.8919, allocations: 23.98 kB / 0.8217 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.892, allocations: 11.98 kB / 0.8218 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.892, allocations: 4 kB / 0.8218 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001646/0.8922, allocations: 152.5 kB / 0.8219 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8922, allocations: 0 / 0.8219 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006309/0.8928, allocations: 127.5 kB / 0.822 GB, free: 8.848 MB / 0.5261 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.0002064/0.893, allocations: 107.2 kB / 0.8221 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006295/0.8937, allocations: 287.6 kB / 0.8224 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.8937, allocations: 3.938 kB / 0.8224 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.894, allocations: 186.3 kB / 0.8226 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.8944, allocations: 50.42 kB / 0.8226 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.8954, allocations: 371.4 kB / 0.823 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.8959, allocations: 0.812 MB / 0.8238 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.8962, allocations: 72.8 kB / 0.8238 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.8963, allocations: 19.44 kB / 0.8239 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.8963, allocations: 4 kB / 0.8239 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of Templates: time 0.008373/0.9047, allocations: 2.976 MB / 0.8268 GB, free: 3.973 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)