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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 105.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.6 MB, free: 4.699 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 188.5 kB / 289.9 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5274/0.5274, allocations: 91.91 MB / 432 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 79.86 kB / 0.502 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3506, allocations: 71.26 MB / 0.5716 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005112/0.3558, allocations: 5.558 MB / 0.577 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3585, allocations: 1.441 MB / 0.5785 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.359, allocations: 5.875 kB / 0.5785 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.3594, allocations: 137.6 kB / 0.5786 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000687/0.3602, allocations: 275 kB / 0.5788 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3614, allocations: 0.5901 MB / 0.5794 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007997/0.3622, allocations: 1.048 MB / 0.5804 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.3625, allocations: 233.6 kB / 0.5807 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.3629, allocations: 442 kB / 0.5811 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004934/0.3634, allocations: 0.5306 MB / 0.5816 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.962e-05/0.3636, allocations: 76.62 kB / 0.5817 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.3638, allocations: 140.9 kB / 0.5818 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.364, allocations: 205 kB / 0.582 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.3642, allocations: 473.5 kB / 0.5825 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.3649, allocations: 0.8246 MB / 0.5833 GB, free: 30.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3649, allocations: 0 / 0.5833 GB, free: 30.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3649, allocations: 4.469 kB / 0.5833 GB, free: 30.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3649, allocations: 0 / 0.5833 GB, free: 30.1 MB / 430.1 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.004395/0.3694, allocations: 1.758 MB / 0.585 GB, free: 29.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3694, allocations: 14.78 kB / 0.585 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.3719, allocations: 447.3 kB / 0.5854 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.3727, allocations: 0.6264 MB / 0.586 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.3729, allocations: 200.7 kB / 0.5862 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.373, allocations: 61.58 kB / 0.5863 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3744, allocations: 0.7648 MB / 0.587 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3744, allocations: 1.125 kB / 0.587 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.3745, allocations: 23.53 kB / 0.5871 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3745, allocations: 16.38 kB / 0.5871 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.376, allocations: 0.7016 MB / 0.5878 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.38, allocations: 2.678 MB / 0.5904 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3814, allocations: 1.037 MB / 0.5914 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008778/0.3822, allocations: 490.2 kB / 0.5919 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/0.3823, allocations: 6.625 kB / 0.5919 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.3835, allocations: 0.595 MB / 0.5924 GB, free: 25.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.835e-06/0.3835, allocations: 4 kB / 0.5925 GB, free: 25.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.0183/0.4018, allocations: 4.604 MB / 0.5969 GB, free: 24.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.4019, allocations: 85.16 kB / 0.597 GB, free: 24.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.403, allocations: 0.7081 MB / 0.5977 GB, free: 23.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.4031, allocations: 40.42 kB / 0.5978 GB, free: 23.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.4034, allocations: 381.1 kB / 0.5981 GB, free: 23.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.4036, allocations: 226.7 kB / 0.5983 GB, free: 23.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.4039, allocations: 106.6 kB / 0.5984 GB, free: 23.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.4039, allocations: 335.9 kB / 0.5988 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.4048, allocations: 403 kB / 0.5991 GB, free: 22.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.4058, allocations: 0.5128 MB / 0.5996 GB, free: 22.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.4076, allocations: 0.9187 MB / 0.6005 GB, free: 21.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4076, allocations: 1.125 kB / 0.6005 GB, free: 21.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008865/0.4165, allocations: 2.578 MB / 0.6031 GB, free: 21.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.4165, allocations: 6.234 kB / 0.6031 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4165, allocations: 7.594 kB / 0.6031 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/0.4208, allocations: 1.124 MB / 0.6042 GB, free: 21.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.4213, allocations: 94.78 kB / 0.6043 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.4372, allocations: 6.783 MB / 0.6109 GB, free: 17.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4384, allocations: 113.1 kB / 0.611 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.4386, allocations: 31.2 kB / 0.611 GB, free: 17.61 MB / 430.1 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.4391, allocations: 199.7 kB / 0.6112 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.4394, allocations: 85.31 kB / 0.6113 GB, free: 17.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008976/0.4483, allocations: 2.631 MB / 0.6139 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4484, allocations: 6.875 kB / 0.6139 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4484, allocations: 9.062 kB / 0.6139 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.4484, allocations: 4.344 kB / 0.6139 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.4587, allocations: 3.826 MB / 0.6176 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4588, allocations: 0 / 0.6176 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.4592, allocations: 79.98 kB / 0.6177 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/0.4628, allocations: 1.085 MB / 0.6188 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.463, allocations: 12 kB / 0.6188 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.4748, allocations: 6.02 MB / 0.6246 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4749, allocations: 3.984 kB / 0.6247 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/0.4835, allocations: 3.219 MB / 0.6278 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.4839, allocations: 179.8 kB / 0.628 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.4842, allocations: 12 kB / 0.628 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.485, allocations: 79.91 kB / 0.6281 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.4855, allocations: 140.4 kB / 0.6282 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.4855, allocations: 19.98 kB / 0.6282 GB, free: 3.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006154/0.4862, allocations: 0.4951 MB / 0.6287 GB, free: 3.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4862, allocations: 0 / 0.6287 GB, free: 3.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001099/0.4873, allocations: 295.8 kB / 0.629 GB, free: 3.082 MB / 430.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/0.4875, allocations: 119.1 kB / 0.6291 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.4916, allocations: 1.556 MB / 0.6306 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.4916, allocations: 0 / 0.6306 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.4944, allocations: 1.072 MB / 0.6317 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.4953, allocations: 77.14 kB / 0.6317 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.4992, allocations: 1.939 MB / 0.6336 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.4998, allocations: 0.9748 MB / 0.6346 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.5001, allocations: 59.42 kB / 0.6346 GB, free: 13.2 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5001, allocations: 0 / 0.6346 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Templates: time 0.02082/0.5209, allocations: 14.21 MB / 0.6485 GB, free: 14.99 MB / 462.1 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)