Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") [: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.7504/0.7504, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.0009778/0.0009779, allocations: 169.4 kB / 171.6 MB, free: 2.008 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.486/1.486, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001813/0.001813, allocations: 123 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.5667/0.5667, allocations: 73.4 MB / 0.666 GB, free: 62.54 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.994/5.56, allocations: 2.178 GB / 2.844 GB, free: 214.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/5.561, allocations: 101.7 kB / 2.844 GB, free: 214.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.4716/6.032, allocations: 212.2 MB / 3.051 GB, free: 45.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004106/6.033, allocations: 99.88 kB / 3.051 GB, free: 45.6 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: 1111 * Number of variables: 1111 Notification: Performance of Generate backend data structure: time 0.01569/6.049, allocations: 3.736 MB / 3.055 GB, free: 41.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/6.049, allocations: 12.03 kB / 3.055 GB, free: 41.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/6.064, allocations: 2.074 MB / 3.057 GB, free: 39.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00904/6.073, allocations: 2.304 MB / 3.059 GB, free: 37.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/6.073, allocations: 136 kB / 3.059 GB, free: 37.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/6.076, allocations: 244 kB / 3.059 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01475/6.091, allocations: 5.28 MB / 3.065 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/6.108, allocations: 5.48 MB / 3.07 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/6.108, allocations: 15.92 kB / 3.07 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005191/6.109, allocations: 8 kB / 3.07 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/6.109, allocations: 227.3 kB / 3.07 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0352/6.144, allocations: 21.01 MB / 3.091 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/6.15, allocations: 3.452 MB / 3.094 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3236/6.474, allocations: 1.828 MB / 3.096 GB, free: 196.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009031/6.474, allocations: 0.509 MB / 3.096 GB, free: 196.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002934/6.477, allocations: 1.984 MB / 3.098 GB, free: 196.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=252): time 3.967e-06/6.477, allocations: 0 / 3.098 GB, free: 196.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=255): time 0.01198/6.489, allocations: 5.856 MB / 3.104 GB, free: 195 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/6.49, allocations: 366.5 kB / 3.104 GB, free: 194.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/6.492, allocations: 1.313 MB / 3.106 GB, free: 194.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002698/6.492, allocations: 32.08 kB / 3.106 GB, free: 194.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/6.493, allocations: 1.434 MB / 3.107 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007843/6.494, allocations: 0.8067 MB / 3.108 GB, free: 193.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/6.494, allocations: 0 / 3.108 GB, free: 193.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001563/6.494, allocations: 419 kB / 3.108 GB, free: 193 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/6.497, allocations: 1.436 MB / 3.11 GB, free: 193 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/6.499, allocations: 2.104 MB / 3.112 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/6.504, allocations: 2.06 MB / 3.114 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/6.504, allocations: 7.656 kB / 3.114 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.008455/6.512, allocations: 4.14 MB / 3.118 GB, free: 192 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001404/6.514, allocations: 6.702 MB / 3.124 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/6.514, allocations: 17.22 kB / 3.124 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-05/6.514, allocations: 35.59 kB / 3.124 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/6.518, allocations: 0.8217 MB / 3.125 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.084e-05/6.518, allocations: 37.02 kB / 3.125 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/6.522, allocations: 324.2 kB / 3.126 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/6.523, allocations: 140 kB / 3.126 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/6.523, allocations: 6.312 kB / 3.126 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007947/6.531, allocations: 3.551 MB / 3.129 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/6.531, allocations: 26.34 kB / 3.129 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/6.531, allocations: 30.75 kB / 3.129 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/6.535, allocations: 0.7824 MB / 3.13 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.561e-05/6.535, allocations: 41.81 kB / 3.13 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/6.539, allocations: 286 kB / 3.13 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/6.539, allocations: 143.3 kB / 3.13 GB, free: 185 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 344 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009037/6.54, allocations: 170 kB / 3.131 GB, free: 184.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/6.541, allocations: 226.3 kB / 3.131 GB, free: 184.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/6.551, allocations: 4.387 MB / 3.135 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/6.551, allocations: 29.53 kB / 3.135 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/6.551, allocations: 3.25 kB / 3.135 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/6.552, allocations: 11.58 kB / 3.135 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/6.569, allocations: 9.251 MB / 3.144 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/6.569, allocations: 3.656 kB / 3.144 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/6.573, allocations: 0.7112 MB / 3.145 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-05/6.573, allocations: 18.16 kB / 3.145 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/6.573, allocations: 42.3 kB / 3.145 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/6.573, allocations: 20.78 kB / 3.145 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/6.573, allocations: 3.875 kB / 3.145 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008301/6.581, allocations: 4.555 MB / 3.149 GB, free: 182.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/6.584, allocations: 0.8103 MB / 3.15 GB, free: 182.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006698/6.585, allocations: 12.22 kB / 3.15 GB, free: 182.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/6.588, allocations: 235.6 kB / 3.15 GB, free: 182.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/6.588, allocations: 147.6 kB / 3.151 GB, free: 182.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/6.589, allocations: 99.17 kB / 3.151 GB, free: 182.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.002078/6.591, allocations: 1.055 MB / 3.152 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006905/6.598, allocations: 1.288 MB / 3.153 GB, free: 182.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 268 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/6.6, allocations: 0.6656 MB / 3.154 GB, free: 182 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.009804/6.61, allocations: 5.516 MB / 3.159 GB, free: 181.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/6.61, allocations: 3.875 kB / 3.159 GB, free: 181.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/6.613, allocations: 1.79 MB / 3.161 GB, free: 181.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/6.616, allocations: 464 kB / 3.161 GB, free: 181.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/6.631, allocations: 6.101 MB / 3.167 GB, free: 180.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004236/6.635, allocations: 2.994 MB / 3.17 GB, free: 179.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.723e-06/6.635, allocations: 0 / 3.17 GB, free: 179.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.1189/6.754, allocations: 65.63 MB / 3.234 GB, free: 159.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)