Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [: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 8.1.4-maint.8.1.x/package.mo): time 1.345/1.345, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009039/0.000904, allocations: 181.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007443/0.0007442, allocations: 92.33 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4202, allocations: 116.3 MB / 0.9726 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.996/3.417, allocations: 2.121 GB / 3.094 GB, free: 340 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/3.417, allocations: 112.6 kB / 3.094 GB, free: 339.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.3175/3.734, allocations: 163 MB / 3.253 GB, free: 176 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001483/3.734, allocations: 95.92 kB / 3.253 GB, free: 175.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.005538/3.74, allocations: 3.495 MB / 3.256 GB, free: 172.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/3.74, allocations: 8.031 kB / 3.256 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/3.751, allocations: 1.872 MB / 3.258 GB, free: 170.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/3.755, allocations: 2.219 MB / 3.26 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/3.755, allocations: 131.9 kB / 3.26 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005616/3.755, allocations: 228 kB / 3.261 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007198/3.763, allocations: 4.951 MB / 3.266 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006567/3.769, allocations: 5.06 MB / 3.27 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-05/3.769, allocations: 11.92 kB / 3.27 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/3.77, allocations: 4 kB / 3.27 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/3.77, allocations: 198.9 kB / 3.271 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02322/3.793, allocations: 22.58 MB / 3.293 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/3.797, allocations: 3.086 MB / 3.296 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/3.798, allocations: 1.562 MB / 3.297 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/3.799, allocations: 0.5111 MB / 3.298 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001995/3.801, allocations: 1.741 MB / 3.299 GB, free: 126.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 4.829e-06/3.801, allocations: 0 / 3.299 GB, free: 126.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.008105/3.809, allocations: 5.129 MB / 3.304 GB, free: 121.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/3.809, allocations: 445.2 kB / 3.305 GB, free: 120.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/3.811, allocations: 1.349 MB / 3.306 GB, free: 119.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/3.811, allocations: 29.7 kB / 3.306 GB, free: 119.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008716/3.812, allocations: 1.375 MB / 3.308 GB, free: 117.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/3.812, allocations: 0.7736 MB / 3.308 GB, free: 117 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/3.813, allocations: 4.219 kB / 3.308 GB, free: 117 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001197/3.813, allocations: 411.3 kB / 3.309 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/3.814, allocations: 1.282 MB / 3.31 GB, free: 115.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/3.816, allocations: 1.98 MB / 3.312 GB, free: 113 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/3.819, allocations: 1.709 MB / 3.314 GB, free: 111.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/3.819, allocations: 8 kB / 3.314 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0055/3.825, allocations: 3.6 MB / 3.317 GB, free: 107.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/3.826, allocations: 7.083 MB / 3.324 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/3.826, allocations: 16 kB / 3.324 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.813e-05/3.826, allocations: 36 kB / 3.324 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/3.83, allocations: 0.78 MB / 3.325 GB, free: 99.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.175e-05/3.83, allocations: 39.86 kB / 3.325 GB, free: 99.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/3.833, allocations: 314.1 kB / 3.325 GB, free: 98.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/3.833, allocations: 135.9 kB / 3.325 GB, free: 98.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/3.833, allocations: 8 kB / 3.325 GB, free: 98.84 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004751/3.838, allocations: 3.112 MB / 3.328 GB, free: 95.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/3.838, allocations: 16.94 kB / 3.328 GB, free: 95.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/3.838, allocations: 32 kB / 3.328 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/3.842, allocations: 0.7527 MB / 3.329 GB, free: 94.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-05/3.842, allocations: 39.86 kB / 3.329 GB, free: 94.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/3.844, allocations: 286.3 kB / 3.329 GB, free: 94.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/3.845, allocations: 135.8 kB / 3.33 GB, free: 94.47 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005291/3.845, allocations: 180.2 kB / 3.33 GB, free: 94.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000522/3.846, allocations: 221.3 kB / 3.33 GB, free: 94.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006868/3.853, allocations: 3.745 MB / 3.334 GB, free: 90.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/3.853, allocations: 28 kB / 3.334 GB, free: 90.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/3.853, allocations: 0 / 3.334 GB, free: 90.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/3.853, allocations: 19.94 kB / 3.334 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/3.864, allocations: 8.989 MB / 3.342 GB, free: 81.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/3.864, allocations: 8 kB / 3.342 GB, free: 81.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003434/3.868, allocations: 0.6516 MB / 3.343 GB, free: 80.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.189e-05/3.868, allocations: 23.98 kB / 3.343 GB, free: 80.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/3.868, allocations: 47.94 kB / 3.343 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/3.868, allocations: 23.84 kB / 3.343 GB, free: 80.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/3.868, allocations: 8 kB / 3.343 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004645/3.873, allocations: 4.157 MB / 3.347 GB, free: 75.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/3.874, allocations: 0.7667 MB / 3.348 GB, free: 75.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/3.874, allocations: 16 kB / 3.348 GB, free: 75.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/3.877, allocations: 211.8 kB / 3.348 GB, free: 74.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/3.877, allocations: 157.5 kB / 3.348 GB, free: 74.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/3.878, allocations: 95.94 kB / 3.348 GB, free: 74.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001223/3.879, allocations: 1.08 MB / 3.349 GB, free: 73.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003608/3.882, allocations: 1.164 MB / 3.351 GB, free: 72.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * 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.00108/3.884, allocations: 0.5313 MB / 3.351 GB, free: 71.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006/3.89, allocations: 4.922 MB / 3.356 GB, free: 66.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/3.89, allocations: 0 / 3.356 GB, free: 66.94 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/3.891, allocations: 1.618 MB / 3.358 GB, free: 65.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/3.893, allocations: 462.8 kB / 3.358 GB, free: 64.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/3.903, allocations: 5.725 MB / 3.364 GB, free: 59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003348/3.907, allocations: 2.843 MB / 3.366 GB, free: 56.13 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/3.907, allocations: 0 / 3.366 GB, free: 56.13 MB / 0.948 GB Notification: Performance of Templates: time 0.3073/4.214, allocations: 60.22 MB / 3.425 GB, free: 319.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)