Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") [: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.001186/0.001186, allocations: 191.1 kB / 8.139 MB, free: 2.191 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.451/1.451, allocations: 194.2 MB / 202.8 MB, free: 8.812 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.001801/0.001801, allocations: 117.3 kB / 247.7 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1715/0.1715, allocations: 37.91 MB / 330.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.293e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09551, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/0.3746, allocations: 89.04 MB / 0.5196 GB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.3749, allocations: 81.05 kB / 0.5197 GB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03227/0.4072, allocations: 13.69 MB / 0.533 GB, free: 5.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.4073, allocations: 5.234 kB / 0.533 GB, free: 5.168 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009317/0.4082, allocations: 497.9 kB / 0.5335 GB, free: 4.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4083, allocations: 9.75 kB / 0.5335 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.4095, allocations: 111.3 kB / 0.5336 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.41, allocations: 265.3 kB / 0.5339 GB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.41, allocations: 9.469 kB / 0.5339 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.41, allocations: 13.84 kB / 0.5339 GB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003875/0.4104, allocations: 212.6 kB / 0.5341 GB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.4109, allocations: 290.5 kB / 0.5344 GB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4109, allocations: 4.594 kB / 0.5344 GB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.4109, allocations: 3.984 kB / 0.5344 GB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/0.411, allocations: 29.05 kB / 0.5344 GB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.4126, allocations: 1.261 MB / 0.5357 GB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.4128, allocations: 166.6 kB / 0.5358 GB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.413, allocations: 111.7 kB / 0.5359 GB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.413, allocations: 7.375 kB / 0.5359 GB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.4131, allocations: 38.48 kB / 0.536 GB, free: 3.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.4131, allocations: 0 / 0.536 GB, free: 3.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001022/0.4141, allocations: 457.3 kB / 0.5364 GB, free: 2.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.4141, allocations: 81.11 kB / 0.5365 GB, free: 2.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4143, allocations: 160.2 kB / 0.5366 GB, free: 2.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4143, allocations: 25.7 kB / 0.5367 GB, free: 2.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.4144, allocations: 138.9 kB / 0.5368 GB, free: 2.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.4144, allocations: 65.08 kB / 0.5368 GB, free: 2.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.4144, allocations: 3.938 kB / 0.5369 GB, free: 2.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.4145, allocations: 333.9 kB / 0.5372 GB, free: 2.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4146, allocations: 79.88 kB / 0.5372 GB, free: 1.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4148, allocations: 153.9 kB / 0.5374 GB, free: 1.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4149, allocations: 116.1 kB / 0.5375 GB, free: 1.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4149, allocations: 0 / 0.5375 GB, free: 1.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000573/0.4155, allocations: 358.2 kB / 0.5378 GB, free: 1.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4155, allocations: 4 kB / 0.5378 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4156, allocations: 4 kB / 0.5379 GB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/0.416, allocations: 101.6 kB / 0.538 GB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.4162, allocations: 35.98 kB / 0.538 GB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.418, allocations: 1.796 MB / 0.5397 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.4182, allocations: 19.91 kB / 0.5398 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4182, allocations: 11.31 kB / 0.5398 GB, free: 15.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.4183, allocations: 112.9 kB / 0.5399 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.4184, allocations: 15.81 kB / 0.5399 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.4191, allocations: 334.5 kB / 0.5402 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.4191, allocations: 11.98 kB / 0.5402 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4191, allocations: 0 / 0.5402 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.4191, allocations: 0 / 0.5402 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.4204, allocations: 0.7522 MB / 0.541 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4204, allocations: 0 / 0.541 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.4205, allocations: 27.98 kB / 0.541 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.4208, allocations: 78.09 kB / 0.5411 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.4209, allocations: 128 / 0.5411 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.4227, allocations: 1.717 MB / 0.5427 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4227, allocations: 4 kB / 0.5427 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006046/0.4233, allocations: 459.7 kB / 0.5432 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4234, allocations: 100.8 kB / 0.5433 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.4235, allocations: 4 kB / 0.5433 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4236, allocations: 4 kB / 0.5433 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.4236, allocations: 15.91 kB / 0.5433 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4237, allocations: 4 kB / 0.5433 GB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-05/0.4238, allocations: 122.5 kB / 0.5434 GB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004665/0.4242, allocations: 63.94 kB / 0.5435 GB, free: 12 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 (18): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.4244, allocations: 112.1 kB / 0.5436 GB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.425, allocations: 355 kB / 0.5439 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.425, allocations: 0 / 0.5439 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.4254, allocations: 256 kB / 0.5442 GB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.4257, allocations: 39.44 kB / 0.5442 GB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.4264, allocations: 362 kB / 0.5446 GB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.4269, allocations: 0.7851 MB / 0.5453 GB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4269, allocations: 0 / 0.5453 GB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005902/0.4328, allocations: 2.85 MB / 0.5481 GB, free: 7.383 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)