Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [: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.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009205/0.0009206, allocations: 183.3 kB / 361.1 MB, free: 7.105 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.998/0.998, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007858/0.0007855, allocations: 90.64 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.921e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.395, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5668, allocations: 191 MB / 1.15 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.567, allocations: 101.7 kB / 1.15 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.142/0.7091, allocations: 62.98 MB / 1.212 GB, free: 13.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.255e-05/0.7092, allocations: 43.92 kB / 1.212 GB, free: 13.46 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002823/0.712, allocations: 1.558 MB / 1.213 GB, free: 11.85 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.712, allocations: 12.47 kB / 1.213 GB, free: 11.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.7145, allocations: 445.6 kB / 1.214 GB, free: 11.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.7166, allocations: 1.139 MB / 1.215 GB, free: 10.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.7166, allocations: 52 kB / 1.215 GB, free: 10.17 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.7169, allocations: 91.91 kB / 1.215 GB, free: 10.08 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002849/0.7198, allocations: 1.837 MB / 1.217 GB, free: 8.238 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.7232, allocations: 2.274 MB / 1.219 GB, free: 5.902 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.7232, allocations: 7.938 kB / 1.219 GB, free: 5.895 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.7234, allocations: 3.984 kB / 1.219 GB, free: 5.891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.957e-05/0.7235, allocations: 91.06 kB / 1.219 GB, free: 5.801 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.7339, allocations: 10.18 MB / 1.229 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.7346, allocations: 0.5064 MB / 1.23 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.7351, allocations: 379.9 kB / 1.23 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.7352, allocations: 97.08 kB / 1.23 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.7352, allocations: 42.5 kB / 1.23 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.7352, allocations: 0 / 1.23 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.007796/0.743, allocations: 3.019 MB / 1.233 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.7431, allocations: 85.53 kB / 1.233 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.7439, allocations: 0.7375 MB / 1.234 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.744, allocations: 29.7 kB / 1.234 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.7444, allocations: 0.6911 MB / 1.235 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.7445, allocations: 181.4 kB / 1.235 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.7446, allocations: 0 / 1.235 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7447, allocations: 382.8 kB / 1.235 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.7455, allocations: 0.6071 MB / 1.236 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.7464, allocations: 0.9663 MB / 1.237 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.7477, allocations: 0.8568 MB / 1.237 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7477, allocations: 4 kB / 1.237 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005999/0.7537, allocations: 2.49 MB / 1.24 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.7551, allocations: 4.514 MB / 1.244 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.7551, allocations: 17.78 kB / 1.244 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004427/0.7596, allocations: 0.9476 MB / 1.245 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/0.7604, allocations: 219.6 kB / 1.245 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/0.7677, allocations: 6.383 MB / 1.252 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/0.7687, allocations: 103.8 kB / 1.252 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.7688, allocations: 44 kB / 1.252 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.7688, allocations: 4 kB / 1.252 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001914/0.7708, allocations: 1.304 MB / 1.253 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.7708, allocations: 19.89 kB / 1.253 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7708, allocations: 23.94 kB / 1.253 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.7718, allocations: 256.4 kB / 1.253 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.7718, allocations: 27.86 kB / 1.253 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.7725, allocations: 77.02 kB / 1.253 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.7726, allocations: 47.98 kB / 1.254 GB, free: 0.7773 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.7728, allocations: 135.2 kB / 1.254 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.7729, allocations: 79.06 kB / 1.254 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2068/0.9798, allocations: 2.16 MB / 1.256 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.9798, allocations: 3.938 kB / 1.256 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9798, allocations: 3.875 kB / 1.256 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.9799, allocations: 6.547 kB / 1.256 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00693/0.9868, allocations: 3.801 MB / 1.26 GB, free: 299.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9868, allocations: 1.641 kB / 1.26 GB, free: 299.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.9872, allocations: 97.17 kB / 1.26 GB, free: 299.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004659/0.9919, allocations: 1.204 MB / 1.261 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.9919, allocations: 3.719 kB / 1.261 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008083/1, allocations: 8.736 MB / 1.269 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1, allocations: 3.656 kB / 1.269 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004854/1.005, allocations: 2.222 MB / 1.272 GB, free: 294.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/1.005, allocations: 277 kB / 1.272 GB, free: 294.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/1.005, allocations: 3.469 kB / 1.272 GB, free: 294.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/1.006, allocations: 109.3 kB / 1.272 GB, free: 294.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/1.006, allocations: 27.33 kB / 1.272 GB, free: 294.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/1.006, allocations: 16.44 kB / 1.272 GB, free: 294.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0005402/1.007, allocations: 0.5772 MB / 1.272 GB, free: 294.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001546/1.009, allocations: 0.5363 MB / 1.273 GB, free: 294.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002285/1.009, allocations: 174.2 kB / 1.273 GB, free: 294 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.012, allocations: 2.355 MB / 1.275 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.012, allocations: 6.938 kB / 1.275 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/1.013, allocations: 1.115 MB / 1.277 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/1.014, allocations: 180.7 kB / 1.277 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/1.017, allocations: 2.426 MB / 1.279 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.018, allocations: 1.699 MB / 1.281 GB, free: 292.2 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/1.018, allocations: 0 / 1.281 GB, free: 292.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02497/1.043, allocations: 22.64 MB / 1.303 GB, free: 291.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)