Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.003454/0.003454, allocations: 182 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001038, allocations: 91.3 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09546/0.09546, allocations: 12.57 MB / 321.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3067/0.3067, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.54e-06, allocations: 0 / 0.5141 GB, free: 30.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 69.32 MB / 0.5818 GB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5274, allocations: 97.72 MB / 0.6772 GB, free: 9.703 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5276, allocations: 73.22 kB / 0.6773 GB, free: 9.695 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.04653/0.5742, allocations: 17.41 MB / 0.6943 GB, free: 12.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.439e-05/0.5743, allocations: 16 kB / 0.6943 GB, free: 12.34 MB / 442.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.003808/0.5781, allocations: 1.309 MB / 0.6956 GB, free: 11.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5781, allocations: 15.97 kB / 0.6956 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.5802, allocations: 333.5 kB / 0.6959 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.5815, allocations: 0.5814 MB / 0.6965 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.5818, allocations: 193.7 kB / 0.6967 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.582, allocations: 31.91 kB / 0.6967 GB, free: 9.984 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/0.5831, allocations: 0.533 MB / 0.6972 GB, free: 9.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5842, allocations: 0.5728 MB / 0.6978 GB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.5843, allocations: 0 / 0.6978 GB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/0.5843, allocations: 4 kB / 0.6978 GB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.5844, allocations: 19.98 kB / 0.6978 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.5897, allocations: 2.654 MB / 0.7004 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.5905, allocations: 495.6 kB / 0.7009 GB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.5911, allocations: 346.3 kB / 0.7012 GB, free: 6.559 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.5912, allocations: 20.56 kB / 0.7012 GB, free: 6.543 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.5919, allocations: 459.7 kB / 0.7017 GB, free: 6.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 3.105e-06/0.5919, allocations: 4 kB / 0.7017 GB, free: 6.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.00863/0.6005, allocations: 2.766 MB / 0.7044 GB, free: 3.785 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.6006, allocations: 85.77 kB / 0.7045 GB, free: 3.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.6015, allocations: 0.5481 MB / 0.705 GB, free: 3.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-05/0.6016, allocations: 25.7 kB / 0.705 GB, free: 3.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.6018, allocations: 256 kB / 0.7053 GB, free: 3.012 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.6021, allocations: 225 kB / 0.7055 GB, free: 2.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.6022, allocations: 0 / 0.7055 GB, free: 2.812 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6023, allocations: 327.6 kB / 0.7058 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.6028, allocations: 286.9 kB / 0.7061 GB, free: 2.352 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.6034, allocations: 395.2 kB / 0.7064 GB, free: 2.066 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.604, allocations: 311.7 kB / 0.7067 GB, free: 1.902 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.604, allocations: 4 kB / 0.7067 GB, free: 1.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008788/0.6128, allocations: 2.827 MB / 0.7095 GB, free: 15.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6128, allocations: 7.984 kB / 0.7095 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6128, allocations: 4 kB / 0.7095 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/0.6167, allocations: 1.093 MB / 0.7106 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.6173, allocations: 106.6 kB / 0.7107 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.628, allocations: 4.777 MB / 0.7154 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.6292, allocations: 131.5 kB / 0.7155 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.6294, allocations: 30.92 kB / 0.7155 GB, free: 10.5 MB / 458.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.0002105/0.6296, allocations: 120.8 kB / 0.7156 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.6299, allocations: 86.97 kB / 0.7157 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008485/0.6384, allocations: 2.82 MB / 0.7185 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.6384, allocations: 8 kB / 0.7185 GB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6384, allocations: 4 kB / 0.7185 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.6384, allocations: 3.984 kB / 0.7185 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.6487, allocations: 3.852 MB / 0.7222 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.6488, allocations: 0 / 0.7222 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.6493, allocations: 91.52 kB / 0.7223 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/0.653, allocations: 1.071 MB / 0.7234 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.6532, allocations: 4 kB / 0.7234 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00976/0.6629, allocations: 4.377 MB / 0.7276 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.663, allocations: 0 / 0.7276 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009516/0.6725, allocations: 3.384 MB / 0.731 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.673, allocations: 174.7 kB / 0.7311 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.6733, allocations: 0 / 0.7311 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6744, allocations: 107.8 kB / 0.7312 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.6747, allocations: 90.92 kB / 0.7313 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/0.6748, allocations: 19.12 kB / 0.7313 GB, free: 12.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006565/0.6755, allocations: 435.8 kB / 0.7317 GB, free: 12.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001171/0.6766, allocations: 283.2 kB / 0.732 GB, free: 12.36 MB / 474.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.000259/0.6769, allocations: 107.2 kB / 0.7321 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.6805, allocations: 1.284 MB / 0.7334 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6805, allocations: 4.125 kB / 0.7334 GB, free: 11.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.6834, allocations: 0.9663 MB / 0.7343 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.6842, allocations: 54.66 kB / 0.7344 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.6883, allocations: 1.21 MB / 0.7355 GB, free: 9.312 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008741/0.6892, allocations: 1.022 MB / 0.7365 GB, free: 8.266 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6892, allocations: 4 kB / 0.7366 GB, free: 8.262 MB / 474.7 MB Notification: Performance of Templates: time 0.0266/0.7158, allocations: 13.49 MB / 0.7497 GB, free: 10.77 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)