Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") [: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.316/1.316, allocations: 289.8 MB / 297.1 MB, free: 6.758 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.0009494/0.0009494, allocations: 184.7 kB / 366.3 MB, free: 2.027 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.9785/0.9785, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0008329/0.0008329, allocations: 88.34 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.65e-06/5.67e-06, allocations: 0 / 0.859 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3919, allocations: 116.3 MB / 0.9726 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.556, allocations: 181.2 MB / 1.15 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5563, allocations: 104.4 kB / 1.15 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.6003/1.157, allocations: 158.1 MB / 1.304 GB, free: 160.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001488/1.157, allocations: 103.2 kB / 1.304 GB, free: 160.6 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.005631/1.162, allocations: 3.389 MB / 1.307 GB, free: 159.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/1.162, allocations: 8.906 kB / 1.307 GB, free: 159.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/1.167, allocations: 0.9023 MB / 1.308 GB, free: 158.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/1.17, allocations: 2.288 MB / 1.311 GB, free: 158.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/1.17, allocations: 140.4 kB / 1.311 GB, free: 158.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/1.171, allocations: 253.5 kB / 1.311 GB, free: 158.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006037/1.177, allocations: 4.779 MB / 1.316 GB, free: 158 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007295/1.184, allocations: 6.131 MB / 1.322 GB, free: 154.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.27e-05/1.184, allocations: 15.88 kB / 1.322 GB, free: 154.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003839/1.185, allocations: 7.734 kB / 1.322 GB, free: 154.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/1.185, allocations: 264.6 kB / 1.322 GB, free: 154.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0211/1.206, allocations: 31.12 MB / 1.352 GB, free: 125.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/1.207, allocations: 1.663 MB / 1.354 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.208, allocations: 1.127 MB / 1.355 GB, free: 123.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.209, allocations: 105.6 kB / 1.355 GB, free: 123.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/1.209, allocations: 49.94 kB / 1.355 GB, free: 123.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=86): time 2.725e-06/1.209, allocations: 0 / 1.355 GB, free: 123.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89): time 0.004182/1.213, allocations: 4.114 MB / 1.359 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/1.213, allocations: 145.2 kB / 1.359 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.214, allocations: 1.329 MB / 1.361 GB, free: 118.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/1.214, allocations: 25.7 kB / 1.361 GB, free: 118.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/1.214, allocations: 1.793 MB / 1.362 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.215, allocations: 323.2 kB / 1.363 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/1.215, allocations: 0 / 1.363 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/1.215, allocations: 390 kB / 1.363 GB, free: 116.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/1.216, allocations: 1.097 MB / 1.364 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/1.217, allocations: 2.152 MB / 1.366 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.219, allocations: 1.665 MB / 1.368 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.219, allocations: 8 kB / 1.368 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003722/1.223, allocations: 3.242 MB / 1.371 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001683/1.225, allocations: 13.41 MB / 1.384 GB, free: 95.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.225, allocations: 36 kB / 1.384 GB, free: 95.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/1.225, allocations: 48 kB / 1.384 GB, free: 95.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.227, allocations: 0.5824 MB / 1.385 GB, free: 94.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.047e-05/1.227, allocations: 67.73 kB / 1.385 GB, free: 94.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.228, allocations: 238.8 kB / 1.385 GB, free: 94.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/1.229, allocations: 117.7 kB / 1.385 GB, free: 94.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/1.229, allocations: 4 kB / 1.385 GB, free: 94.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00292/1.231, allocations: 2.625 MB / 1.388 GB, free: 92.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.231, allocations: 32 kB / 1.388 GB, free: 92.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/1.232, allocations: 52 kB / 1.388 GB, free: 92.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.233, allocations: 0.53 MB / 1.388 GB, free: 91.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/1.233, allocations: 71.72 kB / 1.388 GB, free: 91.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.234, allocations: 155.3 kB / 1.389 GB, free: 91.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.234, allocations: 110.9 kB / 1.389 GB, free: 91.46 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0002292/1.235, allocations: 203.5 kB / 1.389 GB, free: 91.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.235, allocations: 142.2 kB / 1.389 GB, free: 91.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/1.237, allocations: 1.971 MB / 1.391 GB, free: 89.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.237, allocations: 12 kB / 1.391 GB, free: 89.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.237, allocations: 0 / 1.391 GB, free: 89.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.237, allocations: 7.891 kB / 1.391 GB, free: 89.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006949/1.244, allocations: 7.022 MB / 1.398 GB, free: 82.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.244, allocations: 8.156 kB / 1.398 GB, free: 82.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.245, allocations: 283.5 kB / 1.398 GB, free: 82.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/1.245, allocations: 12 kB / 1.398 GB, free: 82.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/1.245, allocations: 12 kB / 1.398 GB, free: 82.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.245, allocations: 15.89 kB / 1.398 GB, free: 82.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.245, allocations: 11.94 kB / 1.398 GB, free: 82.44 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00201/1.247, allocations: 2.8 MB / 1.401 GB, free: 79.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/1.248, allocations: 446.9 kB / 1.401 GB, free: 78.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.248, allocations: 11.98 kB / 1.401 GB, free: 78.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/1.249, allocations: 95.86 kB / 1.401 GB, free: 78.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.249, allocations: 60.28 kB / 1.401 GB, free: 78.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/1.249, allocations: 39.98 kB / 1.401 GB, free: 78.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008154/1.25, allocations: 0.9531 MB / 1.402 GB, free: 77.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002783/1.253, allocations: 1.137 MB / 1.404 GB, free: 76.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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 Backend phase and start with SimCode phase: time 0.000197/1.253, allocations: 131 kB / 1.404 GB, free: 76.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003445/1.257, allocations: 3.773 MB / 1.407 GB, free: 72.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.257, allocations: 0 / 1.407 GB, free: 72.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000829/1.257, allocations: 0.9117 MB / 1.408 GB, free: 71.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.259, allocations: 351.9 kB / 1.409 GB, free: 71.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/1.266, allocations: 5.537 MB / 1.414 GB, free: 65.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/1.269, allocations: 3.061 MB / 1.417 GB, free: 62.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.269, allocations: 4 kB / 1.417 GB, free: 62.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.03687/1.305, allocations: 33.11 MB / 1.449 GB, free: 29.91 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)