Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [: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.7376/0.7376, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001282/0.001282, allocations: 171.7 kB / 171.6 MB, free: 1.992 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.571/1.571, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.00189/0.001889, allocations: 117.9 kB / 444.4 MB, free: 9.375 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.4568/0.4568, allocations: 73.4 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.625, allocations: 131.4 MB / 0.7944 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.6253, allocations: 87.94 kB / 0.7944 GB, free: 4.699 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd: time 0.04571/0.671, allocations: 17.51 MB / 0.8115 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.504e-05/0.6711, allocations: 7.938 kB / 0.8115 GB, free: 3.148 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001136/0.6723, allocations: 0.5238 MB / 0.8121 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.6723, allocations: 8.031 kB / 0.8121 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.6735, allocations: 107.6 kB / 0.8122 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.6739, allocations: 263.3 kB / 0.8124 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.674, allocations: 8 kB / 0.8124 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.674, allocations: 8 kB / 0.8124 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004496/0.6745, allocations: 240.8 kB / 0.8127 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.6751, allocations: 325.3 kB / 0.813 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6751, allocations: 0 / 0.813 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.6751, allocations: 0 / 0.813 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.6752, allocations: 20.42 kB / 0.813 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.6776, allocations: 1.493 MB / 0.8144 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.6779, allocations: 201.1 kB / 0.8146 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.678, allocations: 101.7 kB / 0.8147 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.6782, allocations: 89.09 kB / 0.8148 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.6782, allocations: 44.06 kB / 0.8149 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.6783, allocations: 4 kB / 0.8149 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001988/0.6802, allocations: 0.6954 MB / 0.8155 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6803, allocations: 81.3 kB / 0.8156 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.6805, allocations: 177.6 kB / 0.8158 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.6806, allocations: 29.7 kB / 0.8158 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6807, allocations: 163.8 kB / 0.816 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.6808, allocations: 78.91 kB / 0.8161 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.6808, allocations: 0 / 0.8161 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6809, allocations: 330.8 kB / 0.8164 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.6811, allocations: 125.2 kB / 0.8165 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.6814, allocations: 209.1 kB / 0.8167 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.6818, allocations: 194.2 kB / 0.8169 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6819, allocations: 0 / 0.8169 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001092/0.6829, allocations: 0.516 MB / 0.8174 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.683, allocations: 8.25 kB / 0.8174 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.683, allocations: 12.53 kB / 0.8174 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.6835, allocations: 131.3 kB / 0.8175 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.6838, allocations: 63.84 kB / 0.8176 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.6873, allocations: 3.831 MB / 0.8213 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.6876, allocations: 10.73 kB / 0.8213 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.6876, allocations: 16 kB / 0.8214 GB, free: 8.445 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: idealACDCConverter1.P_n[1]:DUMMY_STATE(unit = "W" protected = true ) "Power transmitted at pin n (primary)" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.6878, allocations: 120.9 kB / 0.8215 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.6879, allocations: 23.72 kB / 0.8215 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.689, allocations: 492.7 kB / 0.822 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6891, allocations: 4 kB / 0.822 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6891, allocations: 0 / 0.822 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6891, allocations: 0 / 0.822 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.691, allocations: 0.9809 MB / 0.8229 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.691, allocations: 4 kB / 0.8229 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.6912, allocations: 31.92 kB / 0.823 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/0.6917, allocations: 139.5 kB / 0.8231 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.6917, allocations: 11.94 kB / 0.8231 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/0.6954, allocations: 3.816 MB / 0.8268 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.6955, allocations: 0 / 0.8268 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001516/0.697, allocations: 0.7407 MB / 0.8275 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.6973, allocations: 124.9 kB / 0.8277 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.6974, allocations: 3.984 kB / 0.8277 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.6977, allocations: 11.91 kB / 0.8277 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.6977, allocations: 23.97 kB / 0.8277 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.6978, allocations: 15.06 kB / 0.8277 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001674/0.6979, allocations: 139.2 kB / 0.8279 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006618/0.6986, allocations: 91.88 kB / 0.8279 GB, free: 1.184 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.699, allocations: 135.1 kB / 0.8281 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009858/0.6999, allocations: 0.5266 MB / 0.8286 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7, allocations: 4 kB / 0.8286 GB, free: 500 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.7005, allocations: 367.2 kB / 0.8289 GB, free: 112 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.7009, allocations: 34.02 kB / 0.829 GB, free: 80 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.7022, allocations: 471.3 kB / 0.8294 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.7028, allocations: 0.8103 MB / 0.8302 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of SimCode: time 1.412e-06/0.7028, allocations: 0 / 0.8302 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.009718/0.7125, allocations: 4.115 MB / 0.8342 GB, free: 10.69 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)