Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.295/1.295, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009111/0.0009111, allocations: 183.4 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9714/0.9714, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007636/0.0007639, allocations: 87.84 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.504e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3909, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.826/3.217, allocations: 2.119 GB / 3.083 GB, free: 316.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/3.217, allocations: 105.7 kB / 3.083 GB, free: 316.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.3721/3.589, allocations: 185.6 MB / 3.264 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002049/3.59, allocations: 99.98 kB / 3.265 GB, free: 129.7 MB / 0.9323 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.00702/3.597, allocations: 3.714 MB / 3.268 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/3.597, allocations: 11.97 kB / 3.268 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/3.608, allocations: 1.953 MB / 3.27 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/3.611, allocations: 2.407 MB / 3.272 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/3.611, allocations: 139.9 kB / 3.273 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005123/3.612, allocations: 247.9 kB / 3.273 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006964/3.619, allocations: 5.257 MB / 3.278 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006776/3.625, allocations: 5.5 MB / 3.283 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.522e-05/3.626, allocations: 11.88 kB / 3.283 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/3.626, allocations: 8 kB / 3.283 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/3.626, allocations: 227.4 kB / 3.284 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02393/3.65, allocations: 25.82 MB / 3.309 GB, free: 82.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00376/3.654, allocations: 3.418 MB / 3.312 GB, free: 78.83 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/3.656, allocations: 1.794 MB / 3.314 GB, free: 77.04 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/3.656, allocations: 0.5151 MB / 3.314 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/3.658, allocations: 1.944 MB / 3.316 GB, free: 74.45 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=254): time 3.727e-06/3.658, allocations: 0 / 3.316 GB, free: 74.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257): time 0.006842/3.665, allocations: 5.657 MB / 3.322 GB, free: 68.75 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/3.665, allocations: 449.2 kB / 3.322 GB, free: 68.21 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/3.667, allocations: 1.405 MB / 3.324 GB, free: 66.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/3.667, allocations: 29.7 kB / 3.324 GB, free: 66.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/3.668, allocations: 1.461 MB / 3.325 GB, free: 65.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/3.668, allocations: 0.8197 MB / 3.326 GB, free: 64.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/3.668, allocations: 4.281 kB / 3.326 GB, free: 64.45 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001005/3.668, allocations: 411.5 kB / 3.326 GB, free: 64.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/3.67, allocations: 1.395 MB / 3.328 GB, free: 62.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/3.672, allocations: 2.084 MB / 3.33 GB, free: 60.27 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/3.675, allocations: 1.819 MB / 3.331 GB, free: 58.43 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/3.675, allocations: 8 kB / 3.331 GB, free: 58.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.005291/3.68, allocations: 3.84 MB / 3.335 GB, free: 54.54 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007447/3.681, allocations: 6.773 MB / 3.342 GB, free: 47.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/3.681, allocations: 16 kB / 3.342 GB, free: 47.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.824e-05/3.681, allocations: 36 kB / 3.342 GB, free: 47.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/3.685, allocations: 0.8034 MB / 3.343 GB, free: 46.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/3.685, allocations: 47.86 kB / 3.343 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/3.688, allocations: 318.1 kB / 3.343 GB, free: 46.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/3.688, allocations: 139.9 kB / 3.343 GB, free: 46.03 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-06/3.688, allocations: 4 kB / 3.343 GB, free: 46.02 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004598/3.693, allocations: 3.24 MB / 3.346 GB, free: 42.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/3.693, allocations: 20 kB / 3.346 GB, free: 42.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/3.693, allocations: 35.98 kB / 3.346 GB, free: 42.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/3.697, allocations: 0.7723 MB / 3.347 GB, free: 41.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/3.697, allocations: 39.86 kB / 3.347 GB, free: 41.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/3.699, allocations: 286.2 kB / 3.347 GB, free: 41.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/3.699, allocations: 131.9 kB / 3.348 GB, free: 41.47 MB / 0.9323 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.0004462/3.7, allocations: 180.2 kB / 3.348 GB, free: 41.29 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/3.7, allocations: 237.1 kB / 3.348 GB, free: 41.05 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00687/3.707, allocations: 4.142 MB / 3.352 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/3.707, allocations: 28 kB / 3.352 GB, free: 36.82 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/3.707, allocations: 0 / 3.352 GB, free: 36.82 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/3.707, allocations: 11.95 kB / 3.352 GB, free: 36.81 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/3.718, allocations: 8.996 MB / 3.361 GB, free: 27.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/3.718, allocations: 4 kB / 3.361 GB, free: 27.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003786/3.722, allocations: 0.706 MB / 3.361 GB, free: 26.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/3.722, allocations: 16 kB / 3.361 GB, free: 26.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/3.722, allocations: 47.84 kB / 3.362 GB, free: 26.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/3.722, allocations: 15.94 kB / 3.362 GB, free: 26.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/3.722, allocations: 12 kB / 3.362 GB, free: 26.85 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004701/3.727, allocations: 4.334 MB / 3.366 GB, free: 22.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/3.728, allocations: 0.8094 MB / 3.367 GB, free: 21.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/3.728, allocations: 11.98 kB / 3.367 GB, free: 21.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/3.731, allocations: 227.7 kB / 3.367 GB, free: 21.11 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/3.731, allocations: 145.7 kB / 3.367 GB, free: 20.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/3.731, allocations: 103.9 kB / 3.367 GB, free: 20.86 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001131/3.732, allocations: 1.126 MB / 3.368 GB, free: 19.71 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003212/3.736, allocations: 1.25 MB / 3.369 GB, free: 18.46 MB / 0.9323 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.0009044/3.737, allocations: 0.5358 MB / 3.37 GB, free: 17.97 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005899/3.742, allocations: 5.294 MB / 3.375 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/3.742, allocations: 5.5 kB / 3.375 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/3.744, allocations: 1.781 MB / 3.377 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/3.747, allocations: 0.5117 MB / 3.377 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/3.756, allocations: 6.199 MB / 3.383 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/3.759, allocations: 3.017 MB / 3.386 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of SimCode: time 3.3e-07/3.759, allocations: 0 / 3.386 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of Templates: time 0.2948/4.054, allocations: 64.65 MB / 3.449 GB, free: 302.5 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)