Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001638/0.001638, allocations: 185.2 kB / 366.3 MB, free: 2.008 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.057/1.057, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008367/0.0008367, allocations: 90.05 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.713e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.959/3.375, allocations: 2.12 GB / 3.093 GB, free: 343.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/3.375, allocations: 106.1 kB / 3.093 GB, free: 343.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.3591/3.734, allocations: 185.6 MB / 3.274 GB, free: 156.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000161/3.735, allocations: 96 kB / 3.274 GB, free: 156.4 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.005607/3.74, allocations: 3.718 MB / 3.278 GB, free: 152.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/3.74, allocations: 15.91 kB / 3.278 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/3.751, allocations: 1.949 MB / 3.28 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/3.755, allocations: 2.407 MB / 3.282 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.304e-05/3.755, allocations: 139.9 kB / 3.282 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/3.755, allocations: 251.9 kB / 3.283 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007109/3.762, allocations: 5.257 MB / 3.288 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006807/3.769, allocations: 5.5 MB / 3.293 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.28e-05/3.769, allocations: 11.88 kB / 3.293 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003895/3.77, allocations: 4 kB / 3.293 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/3.77, allocations: 227.4 kB / 3.293 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/3.794, allocations: 25.82 MB / 3.319 GB, free: 109 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/3.797, allocations: 3.418 MB / 3.322 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/3.799, allocations: 1.791 MB / 3.324 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/3.8, allocations: 0.5149 MB / 3.324 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/3.802, allocations: 1.932 MB / 3.326 GB, free: 101.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 4.088e-06/3.802, allocations: 0 / 3.326 GB, free: 101.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.006835/3.809, allocations: 5.661 MB / 3.332 GB, free: 95.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/3.809, allocations: 453.2 kB / 3.332 GB, free: 94.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/3.81, allocations: 1.401 MB / 3.333 GB, free: 93.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/3.811, allocations: 29.98 kB / 3.333 GB, free: 93.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008839/3.811, allocations: 1.465 MB / 3.335 GB, free: 92.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/3.812, allocations: 0.8159 MB / 3.336 GB, free: 91.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/3.812, allocations: 0 / 3.336 GB, free: 91.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001284/3.812, allocations: 415.5 kB / 3.336 GB, free: 90.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/3.814, allocations: 1.392 MB / 3.337 GB, free: 89.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/3.816, allocations: 2.088 MB / 3.339 GB, free: 87.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/3.819, allocations: 1.818 MB / 3.341 GB, free: 85.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/3.819, allocations: 4 kB / 3.341 GB, free: 85.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.005429/3.824, allocations: 3.841 MB / 3.345 GB, free: 81.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007969/3.825, allocations: 6.773 MB / 3.352 GB, free: 74.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/3.825, allocations: 16 kB / 3.352 GB, free: 74.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/3.825, allocations: 35.98 kB / 3.352 GB, free: 74.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003995/3.829, allocations: 0.8073 MB / 3.352 GB, free: 73.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/3.829, allocations: 39.86 kB / 3.352 GB, free: 73.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/3.832, allocations: 318.1 kB / 3.353 GB, free: 72.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/3.832, allocations: 135.9 kB / 3.353 GB, free: 72.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/3.832, allocations: 4 kB / 3.353 GB, free: 72.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004692/3.837, allocations: 3.251 MB / 3.356 GB, free: 69.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/3.837, allocations: 16 kB / 3.356 GB, free: 69.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/3.837, allocations: 32.14 kB / 3.356 GB, free: 69.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/3.841, allocations: 0.7767 MB / 3.357 GB, free: 68.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/3.841, allocations: 43.86 kB / 3.357 GB, free: 68.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/3.844, allocations: 294.1 kB / 3.357 GB, free: 68.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/3.844, allocations: 135.9 kB / 3.357 GB, free: 68.22 MB / 0.948 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.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 (346): * Single equations (assignments): 346 * 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.0004958/3.844, allocations: 183.5 kB / 3.358 GB, free: 68.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/3.845, allocations: 233.1 kB / 3.358 GB, free: 67.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006839/3.852, allocations: 4.138 MB / 3.362 GB, free: 63.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/3.852, allocations: 24 kB / 3.362 GB, free: 63.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/3.852, allocations: 4 kB / 3.362 GB, free: 63.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/3.852, allocations: 15.94 kB / 3.362 GB, free: 63.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/3.863, allocations: 9.004 MB / 3.371 GB, free: 54.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/3.863, allocations: 4 kB / 3.371 GB, free: 54.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003744/3.867, allocations: 0.7063 MB / 3.371 GB, free: 53.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/3.867, allocations: 12 kB / 3.371 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/3.867, allocations: 47.84 kB / 3.371 GB, free: 53.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/3.867, allocations: 19.94 kB / 3.371 GB, free: 53.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/3.867, allocations: 4 kB / 3.371 GB, free: 53.61 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004898/3.872, allocations: 4.334 MB / 3.376 GB, free: 48.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/3.873, allocations: 0.8212 MB / 3.376 GB, free: 48.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/3.874, allocations: 8 kB / 3.376 GB, free: 48.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/3.876, allocations: 227.7 kB / 3.377 GB, free: 47.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/3.877, allocations: 149.7 kB / 3.377 GB, free: 47.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/3.877, allocations: 103.9 kB / 3.377 GB, free: 47.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001262/3.878, allocations: 1.123 MB / 3.378 GB, free: 46.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003347/3.882, allocations: 1.25 MB / 3.379 GB, free: 45.21 MB / 0.948 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.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 (276): * Single equations (assignments): 274 * 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.0009663/3.882, allocations: 0.5283 MB / 3.38 GB, free: 44.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006173/3.889, allocations: 5.299 MB / 3.385 GB, free: 39.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/3.889, allocations: 4 kB / 3.385 GB, free: 39.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/3.891, allocations: 1.788 MB / 3.387 GB, free: 37.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/3.893, allocations: 0.5014 MB / 3.387 GB, free: 37.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/3.903, allocations: 6.191 MB / 3.393 GB, free: 30.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003289/3.906, allocations: 3.027 MB / 3.396 GB, free: 27.72 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/3.906, allocations: 0 / 3.396 GB, free: 27.72 MB / 0.948 GB Notification: Performance of Templates: time 0.3041/4.211, allocations: 64.66 MB / 3.459 GB, free: 318.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)