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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8345/0.8345, allocations: 132.4 MB / 139.7 MB, free: 5.066 MB / 115 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001254/0.001254, allocations: 175.4 kB / 171.6 MB, free: 15.49 MB / 147 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.677/1.677, allocations: 170.5 MB / 373.9 MB, free: 15.68 MB / 291 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001847/0.001847, allocations: 109.8 kB / 444.4 MB, free: 26.31 MB / 339 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.5512/0.5512, allocations: 73.38 MB / 0.666 GB, free: 89.08 MB / 467 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.7314, allocations: 128.7 MB / 0.7917 GB, free: 8.148 MB / 0.5029 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004314/0.7319, allocations: 91.94 kB / 0.7918 GB, free: 8.059 MB / 0.5029 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: time 0.47/1.202, allocations: 19.24 MB / 0.8106 GB, free: 96.44 MB / 0.5029 GB Notification: Performance of Transformations before backend: time 4.137e-05/1.202, allocations: 10.75 kB / 0.8106 GB, free: 96.43 MB / 0.5029 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.001584/1.204, allocations: 0.6017 MB / 0.8112 GB, free: 95.98 MB / 0.5029 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.204, allocations: 12.75 kB / 0.8112 GB, free: 95.98 MB / 0.5029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/1.205, allocations: 103.8 kB / 0.8113 GB, free: 95.95 MB / 0.5029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/1.205, allocations: 287.9 kB / 0.8116 GB, free: 95.72 MB / 0.5029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/1.205, allocations: 8.969 kB / 0.8116 GB, free: 95.72 MB / 0.5029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/1.205, allocations: 20.56 kB / 0.8116 GB, free: 95.72 MB / 0.5029 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006401/1.206, allocations: 291.5 kB / 0.8119 GB, free: 95.72 MB / 0.5029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/1.207, allocations: 413.3 kB / 0.8123 GB, free: 95.61 MB / 0.5029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/1.207, allocations: 3.938 kB / 0.8123 GB, free: 95.61 MB / 0.5029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/1.207, allocations: 5.156 kB / 0.8123 GB, free: 95.61 MB / 0.5029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/1.207, allocations: 37.67 kB / 0.8123 GB, free: 95.6 MB / 0.5029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/1.209, allocations: 1.636 MB / 0.8139 GB, free: 94.52 MB / 0.5029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/1.21, allocations: 176.8 kB / 0.8141 GB, free: 94.49 MB / 0.5029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/1.21, allocations: 137.1 kB / 0.8142 GB, free: 94.48 MB / 0.5029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/1.21, allocations: 1.375 kB / 0.8142 GB, free: 94.48 MB / 0.5029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.21, allocations: 42.06 kB / 0.8143 GB, free: 94.43 MB / 0.5029 GB Notification: Performance of pre-optimization done (n=18): time 3.056e-06/1.21, allocations: 0 / 0.8143 GB, free: 94.43 MB / 0.5029 GB Notification: Performance of matching and sorting (n=18): time 0.000521/1.211, allocations: 188.8 kB / 0.8145 GB, free: 94.38 MB / 0.5029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/1.211, allocations: 57.91 kB / 0.8145 GB, free: 94.31 MB / 0.5029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/1.211, allocations: 195.9 kB / 0.8147 GB, free: 94.21 MB / 0.5029 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.211, allocations: 25.7 kB / 0.8147 GB, free: 94.18 MB / 0.5029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.211, allocations: 203 kB / 0.8149 GB, free: 94.03 MB / 0.5029 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/1.211, allocations: 64.33 kB / 0.815 GB, free: 93.98 MB / 0.5029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/1.211, allocations: 0 / 0.815 GB, free: 93.98 MB / 0.5029 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/1.211, allocations: 328 kB / 0.8153 GB, free: 93.67 MB / 0.5029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/1.212, allocations: 64.77 kB / 0.8153 GB, free: 93.67 MB / 0.5029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/1.212, allocations: 172.1 kB / 0.8155 GB, free: 93.53 MB / 0.5029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/1.212, allocations: 89.38 kB / 0.8156 GB, free: 93.52 MB / 0.5029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.212, allocations: 13.09 kB / 0.8156 GB, free: 93.51 MB / 0.5029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005332/1.213, allocations: 270.6 kB / 0.8159 GB, free: 93.45 MB / 0.5029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003452/1.213, allocations: 1.395 MB / 0.8172 GB, free: 91.98 MB / 0.5029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.213, allocations: 3.938 kB / 0.8172 GB, free: 91.98 MB / 0.5029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/1.213, allocations: 26.77 kB / 0.8173 GB, free: 91.97 MB / 0.5029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/1.213, allocations: 77.22 kB / 0.8173 GB, free: 91.96 MB / 0.5029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/1.214, allocations: 0.5559 MB / 0.8179 GB, free: 91.44 MB / 0.5029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/1.214, allocations: 45.58 kB / 0.8179 GB, free: 91.42 MB / 0.5029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/1.214, allocations: 15.34 kB / 0.8179 GB, free: 91.42 MB / 0.5029 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.214, allocations: 2.875 kB / 0.8179 GB, free: 91.42 MB / 0.5029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003717/1.215, allocations: 193.1 kB / 0.8181 GB, free: 91.4 MB / 0.5029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.215, allocations: 3.906 kB / 0.8181 GB, free: 91.4 MB / 0.5029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.215, allocations: 10.38 kB / 0.8181 GB, free: 91.39 MB / 0.5029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.215, allocations: 81.45 kB / 0.8182 GB, free: 91.39 MB / 0.5029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.215, allocations: 6.938 kB / 0.8182 GB, free: 91.39 MB / 0.5029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/1.215, allocations: 35.55 kB / 0.8183 GB, free: 91.38 MB / 0.5029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/1.215, allocations: 11.62 kB / 0.8183 GB, free: 91.38 MB / 0.5029 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.0001202/1.215, allocations: 114.8 kB / 0.8184 GB, free: 91.26 MB / 0.5029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/1.216, allocations: 23.25 kB / 0.8184 GB, free: 91.25 MB / 0.5029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/1.216, allocations: 30.62 kB / 0.8184 GB, free: 91.24 MB / 0.5029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.216, allocations: 2.656 kB / 0.8184 GB, free: 91.24 MB / 0.5029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.216, allocations: 0 / 0.8184 GB, free: 91.24 MB / 0.5029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/1.216, allocations: 1.453 kB / 0.8184 GB, free: 91.24 MB / 0.5029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/1.217, allocations: 0.5911 MB / 0.819 GB, free: 90.93 MB / 0.5029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.217, allocations: 0 / 0.819 GB, free: 90.93 MB / 0.5029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/1.217, allocations: 52.8 kB / 0.8191 GB, free: 90.93 MB / 0.5029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/1.217, allocations: 24.17 kB / 0.8191 GB, free: 90.92 MB / 0.5029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.217, allocations: 1.281 kB / 0.8191 GB, free: 90.92 MB / 0.5029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009328/1.218, allocations: 1.267 MB / 0.8203 GB, free: 89.71 MB / 0.5029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.218, allocations: 1.375 kB / 0.8203 GB, free: 89.71 MB / 0.5029 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004721/1.219, allocations: 330.9 kB / 0.8206 GB, free: 89.5 MB / 0.5029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/1.219, allocations: 118.2 kB / 0.8207 GB, free: 89.39 MB / 0.5029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/1.219, allocations: 2.172 kB / 0.8208 GB, free: 89.39 MB / 0.5029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.219, allocations: 22.41 kB / 0.8208 GB, free: 89.38 MB / 0.5029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/1.219, allocations: 16.56 kB / 0.8208 GB, free: 89.38 MB / 0.5029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/1.219, allocations: 8.688 kB / 0.8208 GB, free: 89.38 MB / 0.5029 GB Notification: Performance of sort global known variables: time 0.0001624/1.219, allocations: 156.1 kB / 0.8209 GB, free: 89.29 MB / 0.5029 GB Notification: Performance of remove unused functions: time 0.000802/1.22, allocations: 128.8 kB / 0.8211 GB, free: 89.27 MB / 0.5029 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.0001888/1.22, allocations: 102.3 kB / 0.8212 GB, free: 89.18 MB / 0.5029 GB Notification: Performance of simCode: created initialization part: time 0.0007446/1.221, allocations: 295.4 kB / 0.8214 GB, free: 89.15 MB / 0.5029 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.221, allocations: 0 / 0.8214 GB, free: 89.15 MB / 0.5029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/1.221, allocations: 193.2 kB / 0.8216 GB, free: 89.04 MB / 0.5029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/1.222, allocations: 44.03 kB / 0.8217 GB, free: 89.04 MB / 0.5029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/1.223, allocations: 391.1 kB / 0.822 GB, free: 88.88 MB / 0.5029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/1.223, allocations: 0.8378 MB / 0.8229 GB, free: 88.17 MB / 0.5029 GB Notification: Performance of SimCode: time 5.51e-07/1.223, allocations: 0 / 0.8229 GB, free: 88.17 MB / 0.5029 GB Notification: Performance of Templates: time 0.01279/1.236, allocations: 3.768 MB / 0.8265 GB, free: 87.91 MB / 0.5029 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)