Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009762/0.0009762, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.9722/0.9722, 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.0007274/0.0007274, allocations: 89.5 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.099e-06/5.119e-06, allocations: 0 / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3819, allocations: 115.3 MB / 0.9637 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.5397, allocations: 180.3 MB / 1.14 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.54, allocations: 100.5 kB / 1.14 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.6215/1.161, allocations: 158.1 MB / 1.294 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001324/1.162, allocations: 99.59 kB / 1.294 GB, free: 162.4 MB / 0.8542 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.005436/1.167, allocations: 3.395 MB / 1.298 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/1.167, allocations: 10.06 kB / 1.298 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004041/1.171, allocations: 0.8942 MB / 1.299 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/1.174, allocations: 2.297 MB / 1.301 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/1.174, allocations: 137.3 kB / 1.301 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/1.175, allocations: 256.3 kB / 1.301 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005743/1.181, allocations: 4.775 MB / 1.306 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007115/1.188, allocations: 6.139 MB / 1.312 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-05/1.188, allocations: 15.84 kB / 1.312 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/1.188, allocations: 5.625 kB / 1.312 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/1.189, allocations: 263.1 kB / 1.312 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/1.212, allocations: 31.12 MB / 1.342 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.213, allocations: 1.659 MB / 1.344 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/1.215, allocations: 1.14 MB / 1.345 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.215, allocations: 103.7 kB / 1.345 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/1.215, allocations: 41.66 kB / 1.345 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 3.276e-06/1.215, allocations: 4 kB / 1.345 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.004547/1.219, allocations: 4.115 MB / 1.349 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/1.219, allocations: 138.3 kB / 1.349 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/1.221, allocations: 1.329 MB / 1.351 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/1.221, allocations: 32.17 kB / 1.351 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/1.221, allocations: 1.798 MB / 1.353 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.221, allocations: 323.6 kB / 1.353 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/1.221, allocations: 0 / 1.353 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/1.222, allocations: 391.2 kB / 1.353 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.223, allocations: 1.097 MB / 1.354 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.224, allocations: 2.146 MB / 1.356 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/1.226, allocations: 1.665 MB / 1.358 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.226, allocations: 13.44 kB / 1.358 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003804/1.23, allocations: 3.239 MB / 1.361 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001733/1.232, allocations: 13.4 MB / 1.374 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/1.232, allocations: 37.28 kB / 1.374 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.272e-05/1.232, allocations: 53.38 kB / 1.374 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.234, allocations: 0.5709 MB / 1.375 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/1.234, allocations: 69.89 kB / 1.375 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.235, allocations: 233.1 kB / 1.375 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.236, allocations: 115.4 kB / 1.375 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/1.236, allocations: 9.562 kB / 1.375 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/1.239, allocations: 2.623 MB / 1.378 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.239, allocations: 34.91 kB / 1.378 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/1.239, allocations: 51.5 kB / 1.378 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.24, allocations: 0.5333 MB / 1.379 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/1.241, allocations: 72.59 kB / 1.379 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.242, allocations: 157.6 kB / 1.379 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.242, allocations: 111.5 kB / 1.379 GB, free: 119.9 MB / 0.8542 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.0002439/1.242, allocations: 199.8 kB / 1.379 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.242, allocations: 145.8 kB / 1.379 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.245, allocations: 1.977 MB / 1.381 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/1.245, allocations: 9.094 kB / 1.381 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.245, allocations: 2.875 kB / 1.381 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.245, allocations: 3.609 kB / 1.381 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007889/1.253, allocations: 7.012 MB / 1.388 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.253, allocations: 8 kB / 1.388 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.254, allocations: 280.3 kB / 1.388 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.254, allocations: 12 kB / 1.388 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/1.254, allocations: 13.64 kB / 1.388 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/1.254, allocations: 16.95 kB / 1.388 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.254, allocations: 15.84 kB / 1.388 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002129/1.256, allocations: 2.797 MB / 1.391 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/1.257, allocations: 452.6 kB / 1.391 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.257, allocations: 20.34 kB / 1.391 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/1.258, allocations: 92.05 kB / 1.392 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.258, allocations: 69.14 kB / 1.392 GB, free: 114 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/1.258, allocations: 30.81 kB / 1.392 GB, free: 114 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008765/1.259, allocations: 0.9626 MB / 1.393 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002992/1.262, allocations: 1.126 MB / 1.394 GB, free: 112.3 MB / 0.8542 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.0001819/1.262, allocations: 139 kB / 1.394 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003497/1.266, allocations: 3.775 MB / 1.398 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.266, allocations: 0 / 1.398 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008183/1.267, allocations: 0.9071 MB / 1.398 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.268, allocations: 355.4 kB / 1.399 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/1.276, allocations: 5.535 MB / 1.404 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002953/1.279, allocations: 3.071 MB / 1.407 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/1.279, allocations: 0 / 1.407 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03973/1.318, allocations: 33.12 MB / 1.439 GB, free: 70.39 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)