Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.002161/0.00216, allocations: 186.6 kB / 7.46 MB, free: 2.516 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.273/1.273, allocations: 221.4 MB / 229.3 MB, free: 3.121 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.001164/0.001164, allocations: 101 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5096/0.5096, allocations: 78.91 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.795e-06, allocations: 0 / 485.3 MB, free: 3.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3537, allocations: 69.51 MB / 0.5419 GB, free: 20.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4836, allocations: 96.77 MB / 0.6364 GB, free: 7.164 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4839, allocations: 71.97 kB / 0.6364 GB, free: 7.094 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05471/0.5386, allocations: 18.18 MB / 0.6542 GB, free: 4.762 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.265e-05/0.5387, allocations: 16 kB / 0.6542 GB, free: 4.746 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.003439/0.5422, allocations: 1.305 MB / 0.6555 GB, free: 3.395 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5422, allocations: 12.03 kB / 0.6555 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.5441, allocations: 346.4 kB / 0.6558 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.5452, allocations: 0.5821 MB / 0.6564 GB, free: 2.414 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.5455, allocations: 190.5 kB / 0.6566 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5456, allocations: 32 kB / 0.6566 GB, free: 2.164 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/0.5467, allocations: 0.5259 MB / 0.6571 GB, free: 1.641 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5477, allocations: 0.5821 MB / 0.6577 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5478, allocations: 0 / 0.6577 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.5478, allocations: 4 kB / 0.6577 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.5478, allocations: 19.91 kB / 0.6577 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.5527, allocations: 2.65 MB / 0.6603 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.5536, allocations: 495 kB / 0.6608 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.5541, allocations: 351.6 kB / 0.6611 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-05/0.5542, allocations: 8.656 kB / 0.6611 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/0.5549, allocations: 458.7 kB / 0.6615 GB, free: 12.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.555, allocations: 4 kB / 0.6615 GB, free: 12.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.00882/0.5638, allocations: 2.767 MB / 0.6642 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.5639, allocations: 85.77 kB / 0.6643 GB, free: 10.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5649, allocations: 0.5549 MB / 0.6649 GB, free: 9.457 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.5651, allocations: 25.7 kB / 0.6649 GB, free: 9.426 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5653, allocations: 248.8 kB / 0.6651 GB, free: 9.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.5656, allocations: 228.5 kB / 0.6653 GB, free: 8.949 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.5656, allocations: 0 / 0.6653 GB, free: 8.949 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5657, allocations: 326 kB / 0.6657 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.5663, allocations: 289.3 kB / 0.6659 GB, free: 8.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.5668, allocations: 393 kB / 0.6663 GB, free: 7.918 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.5674, allocations: 311.1 kB / 0.6666 GB, free: 7.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5674, allocations: 4 kB / 0.6666 GB, free: 7.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009031/0.5764, allocations: 2.83 MB / 0.6694 GB, free: 4.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.5765, allocations: 4 kB / 0.6694 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5765, allocations: 4 kB / 0.6694 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/0.5806, allocations: 1.093 MB / 0.6704 GB, free: 3.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.5812, allocations: 107.8 kB / 0.6705 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2795/0.8607, allocations: 4.774 MB / 0.6752 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.862, allocations: 140.1 kB / 0.6753 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.8622, allocations: 21.56 kB / 0.6754 GB, free: 145.6 MB / 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.0002445/0.8625, allocations: 117.3 kB / 0.6755 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.8627, allocations: 89.89 kB / 0.6756 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008156/0.8709, allocations: 2.836 MB / 0.6783 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.871, allocations: 7.156 kB / 0.6783 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.871, allocations: 0 / 0.6783 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.871, allocations: 3.562 kB / 0.6783 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009831/0.8808, allocations: 3.85 MB / 0.6821 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.8809, allocations: 0 / 0.6821 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.8815, allocations: 89.67 kB / 0.6822 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/0.885, allocations: 1.062 MB / 0.6832 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.8852, allocations: 10.77 kB / 0.6832 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009245/0.8944, allocations: 4.372 MB / 0.6875 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.8945, allocations: 0 / 0.6875 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00922/0.9037, allocations: 3.383 MB / 0.6908 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.9041, allocations: 172.9 kB / 0.691 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.9044, allocations: 0 / 0.691 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9056, allocations: 103.8 kB / 0.6911 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/0.9059, allocations: 95.34 kB / 0.6912 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.906, allocations: 23.53 kB / 0.6912 GB, free: 143.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000676/0.9067, allocations: 439.3 kB / 0.6916 GB, free: 143 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001344/0.908, allocations: 266.8 kB / 0.6919 GB, free: 143 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.0002911/0.9083, allocations: 115.6 kB / 0.692 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003736/0.9121, allocations: 1.288 MB / 0.6932 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9121, allocations: 1.031 kB / 0.6932 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.9148, allocations: 0.9684 MB / 0.6942 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.9154, allocations: 51.67 kB / 0.6942 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.9189, allocations: 1.213 MB / 0.6954 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.9195, allocations: 1.028 MB / 0.6964 GB, free: 141.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.104e-06/0.9195, allocations: 0 / 0.6964 GB, free: 141.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02201/0.9415, allocations: 13.49 MB / 0.7096 GB, free: 140.8 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)