Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test") [: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 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.058/1.058, allocations: 221.4 MB / 229.3 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.0008101, allocations: 94.97 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3594/0.3594, allocations: 78.1 MB / 409 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.869e-06/4.889e-06, allocations: 0 / 484.4 MB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 69.34 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3371, allocations: 96.18 MB / 0.6347 GB, free: 8.773 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3373, allocations: 75.95 kB / 0.6347 GB, free: 8.699 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.04671/0.384, allocations: 18.01 MB / 0.6523 GB, free: 6.539 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.617e-05/0.3841, allocations: 20 kB / 0.6523 GB, free: 6.52 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003092/0.3872, allocations: 1.306 MB / 0.6536 GB, free: 5.168 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3872, allocations: 8.031 kB / 0.6536 GB, free: 5.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.389, allocations: 338.4 kB / 0.654 GB, free: 4.828 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.39, allocations: 0.5783 MB / 0.6545 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.3903, allocations: 201.7 kB / 0.6547 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3904, allocations: 32 kB / 0.6547 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009494/0.3913, allocations: 0.5259 MB / 0.6553 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.3923, allocations: 0.5783 MB / 0.6558 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3923, allocations: 0 / 0.6558 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.3924, allocations: 0 / 0.6558 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3924, allocations: 15.91 kB / 0.6558 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.3967, allocations: 2.658 MB / 0.6584 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.3975, allocations: 499 kB / 0.6589 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.398, allocations: 347.7 kB / 0.6592 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.3981, allocations: 12.66 kB / 0.6592 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.3987, allocations: 458.7 kB / 0.6597 GB, free: 14.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.003e-06/0.3987, allocations: 0 / 0.6597 GB, free: 14.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.008031/0.4068, allocations: 2.771 MB / 0.6624 GB, free: 11.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.4068, allocations: 85.77 kB / 0.6625 GB, free: 11.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.4074, allocations: 0.551 MB / 0.663 GB, free: 11.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.4075, allocations: 25.7 kB / 0.663 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4076, allocations: 248.8 kB / 0.6633 GB, free: 10.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.4078, allocations: 224.5 kB / 0.6635 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.4079, allocations: 0 / 0.6635 GB, free: 10.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.408, allocations: 334 kB / 0.6638 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.4084, allocations: 289.3 kB / 0.6641 GB, free: 10.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.409, allocations: 389 kB / 0.6645 GB, free: 9.691 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.4094, allocations: 311.1 kB / 0.6648 GB, free: 9.387 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4095, allocations: 0 / 0.6648 GB, free: 9.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007941/0.4174, allocations: 2.838 MB / 0.6675 GB, free: 6.535 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4174, allocations: 4 kB / 0.6675 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4174, allocations: 4 kB / 0.6675 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/0.421, allocations: 1.085 MB / 0.6686 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4214, allocations: 103.9 kB / 0.6687 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009589/0.431, allocations: 4.774 MB / 0.6733 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/0.4319, allocations: 143.3 kB / 0.6735 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.432, allocations: 27.94 kB / 0.6735 GB, free: 276 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.4321, allocations: 128.8 kB / 0.6736 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4323, allocations: 94.81 kB / 0.6737 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1433/0.5756, allocations: 2.816 MB / 0.6765 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5757, allocations: 9.094 kB / 0.6765 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.5757, allocations: 0 / 0.6765 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5757, allocations: 6.828 kB / 0.6765 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008298/0.584, allocations: 3.841 MB / 0.6802 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.584, allocations: 0 / 0.6802 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.5844, allocations: 94.58 kB / 0.6803 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.5875, allocations: 1.066 MB / 0.6814 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.5876, allocations: 0 / 0.6814 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007697/0.5953, allocations: 4.375 MB / 0.6856 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5953, allocations: 3.812 kB / 0.6856 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007741/0.603, allocations: 3.378 MB / 0.6889 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.6032, allocations: 175.1 kB / 0.6891 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6033, allocations: 3.891 kB / 0.6891 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.6041, allocations: 101.8 kB / 0.6892 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.6043, allocations: 92.92 kB / 0.6893 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.6044, allocations: 19.78 kB / 0.6893 GB, free: 146.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004524/0.6048, allocations: 438.4 kB / 0.6897 GB, free: 146.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.6055, allocations: 277.9 kB / 0.69 GB, free: 146.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.6057, allocations: 121.5 kB / 0.6901 GB, free: 146.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003/0.6087, allocations: 1.286 MB / 0.6914 GB, free: 145.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6087, allocations: 4.125 kB / 0.6914 GB, free: 145.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.6111, allocations: 0.967 MB / 0.6923 GB, free: 145.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.6115, allocations: 52.55 kB / 0.6924 GB, free: 145.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.6141, allocations: 1.208 MB / 0.6936 GB, free: 145.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.6146, allocations: 1.025 MB / 0.6946 GB, free: 144.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6146, allocations: 0 / 0.6946 GB, free: 144.6 MB / 490.7 MB Notification: Performance of Templates: time 0.01872/0.6334, allocations: 13.49 MB / 0.7077 GB, free: 144 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)