Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [: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/Complex 3.2.2+maint.om/package.mo): time 0.001097/0.001097, allocations: 194.1 kB / 8.137 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.467/1.467, allocations: 194.2 MB / 202.8 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001858/0.001858, allocations: 114.7 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1718/0.1718, allocations: 37.92 MB / 330.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.863e-06, allocations: 0 / 389.8 MB, free: 78.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 53.24 MB / 443 MB, free: 24.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4497, allocations: 88.27 MB / 0.5189 GB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.45, allocations: 82.34 kB / 0.5189 GB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04189/0.4919, allocations: 17.46 MB / 0.536 GB, free: 3.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.492, allocations: 4 kB / 0.536 GB, free: 3.309 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000935/0.4929, allocations: 0.5498 MB / 0.5365 GB, free: 2.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.493, allocations: 8.031 kB / 0.5365 GB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.4944, allocations: 131.5 kB / 0.5367 GB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.4948, allocations: 301.6 kB / 0.5369 GB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4949, allocations: 8 kB / 0.537 GB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.4949, allocations: 20 kB / 0.537 GB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004476/0.4954, allocations: 306.3 kB / 0.5373 GB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.4959, allocations: 407 kB / 0.5377 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4959, allocations: 3.938 kB / 0.5377 GB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.4959, allocations: 0 / 0.5377 GB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.496, allocations: 36 kB / 0.5377 GB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.4978, allocations: 1.665 MB / 0.5393 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.498, allocations: 186.5 kB / 0.5395 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.4982, allocations: 141.5 kB / 0.5396 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.4983, allocations: 11.44 kB / 0.5396 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4983, allocations: 30.75 kB / 0.5397 GB, free: 15.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.4983, allocations: 0 / 0.5397 GB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001039/0.4993, allocations: 0.5203 MB / 0.5402 GB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4994, allocations: 81.11 kB / 0.5403 GB, free: 15.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.4996, allocations: 172.7 kB / 0.5404 GB, free: 15.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4996, allocations: 29.7 kB / 0.5404 GB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.4997, allocations: 170.5 kB / 0.5406 GB, free: 14.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.4997, allocations: 77.86 kB / 0.5407 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.4998, allocations: 0 / 0.5407 GB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4999, allocations: 329.8 kB / 0.541 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.5, allocations: 100.2 kB / 0.5411 GB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5002, allocations: 199.1 kB / 0.5413 GB, free: 14.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.5004, allocations: 138.1 kB / 0.5414 GB, free: 14.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5004, allocations: 0 / 0.5414 GB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006739/0.5011, allocations: 403 kB / 0.5418 GB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5011, allocations: 8 kB / 0.5418 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5011, allocations: 0 / 0.5418 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.5015, allocations: 87.09 kB / 0.5419 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5018, allocations: 59.22 kB / 0.5419 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.5035, allocations: 1.689 MB / 0.5436 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.5037, allocations: 12.23 kB / 0.5436 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.5038, allocations: 23.03 kB / 0.5436 GB, free: 12.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.5039, allocations: 108.9 kB / 0.5437 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.5039, allocations: 15.81 kB / 0.5437 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.5047, allocations: 370 kB / 0.5441 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5047, allocations: 11.92 kB / 0.5441 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5047, allocations: 0 / 0.5441 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5047, allocations: 3.906 kB / 0.5441 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.506, allocations: 0.8512 MB / 0.5449 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.506, allocations: 4 kB / 0.545 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.5062, allocations: 43.03 kB / 0.545 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.5065, allocations: 70.92 kB / 0.5451 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5065, allocations: 4 kB / 0.5451 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.508, allocations: 1.607 MB / 0.5466 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.508, allocations: 4 kB / 0.5466 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000643/0.5086, allocations: 490.2 kB / 0.5471 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.5087, allocations: 100.8 kB / 0.5472 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.5088, allocations: 7.906 kB / 0.5472 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.5089, allocations: 4 kB / 0.5472 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.509, allocations: 11.3 kB / 0.5472 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.509, allocations: 15.92 kB / 0.5472 GB, free: 8.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.642e-05/0.5091, allocations: 146 kB / 0.5474 GB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004832/0.5096, allocations: 76 kB / 0.5474 GB, free: 8.387 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.5097, allocations: 103.2 kB / 0.5475 GB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005884/0.5103, allocations: 392.8 kB / 0.5479 GB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5103, allocations: 0 / 0.5479 GB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.5107, allocations: 267.1 kB / 0.5482 GB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.511, allocations: 23.59 kB / 0.5482 GB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.5118, allocations: 442.8 kB / 0.5486 GB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/0.5122, allocations: 0.8252 MB / 0.5494 GB, free: 6.473 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5123, allocations: 4 kB / 0.5494 GB, free: 6.469 MB / 362.7 MB Notification: Performance of Templates: time 0.005867/0.5181, allocations: 2.885 MB / 0.5522 GB, free: 3.613 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)