Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.2 MB / 200.3 MB, free: 5.32 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 155.7 kB / 257 MB, free: 12.79 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4085/0.4085, allocations: 83.31 MB / 343.6 MB, free: 6.672 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 387.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.607e-05, allocations: 2.312 kB / 387.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006506/0.006532, allocations: 5.746 MB / 393.7 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.009097, allocations: 1.917 MB / 395.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.009365, allocations: 15.88 kB / 395.6 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.009824, allocations: 226 kB / 395.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01085, allocations: 0.7568 MB / 396.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.01155, allocations: 0.5651 MB / 397.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008644/0.01241, allocations: 1.413 MB / 398.6 MB, free: 52 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.01266, allocations: 193.7 kB / 398.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.01327, allocations: 0.7909 MB / 399.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.01373, allocations: 0.5179 MB / 400.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.01383, allocations: 100 kB / 400.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.01413, allocations: 247.8 kB / 400.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.01431, allocations: 282.8 kB / 400.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.01459, allocations: 378.7 kB / 401 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008028/0.01539, allocations: 1.043 MB / 402.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01539, allocations: 0 / 402.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01539, allocations: 4 kB / 402.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.0154, allocations: 0 / 402.1 MB, free: 12.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003295/0.0187, allocations: 2.178 MB / 404.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.01873, allocations: 8.031 kB / 404.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.02072, allocations: 0.6871 MB / 405 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.02136, allocations: 0.5492 MB / 405.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.02153, allocations: 286.9 kB / 405.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.02161, allocations: 67.95 kB / 405.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.02216, allocations: 485 kB / 406.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.02217, allocations: 7.938 kB / 406.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.02222, allocations: 28 kB / 406.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.02223, allocations: 12 kB / 406.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.02261, allocations: 258.3 kB / 406.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.02481, allocations: 1.393 MB / 408 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.02691, allocations: 0.8139 MB / 408.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.02715, allocations: 167.2 kB / 409 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.02722, allocations: 12.66 kB / 409 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.0276, allocations: 338.8 kB / 409.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.906e-06/0.0276, allocations: 0 / 409.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.006538/0.03414, allocations: 2.889 MB / 412.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.03417, allocations: 60.06 kB / 412.3 MB, free: 2.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.0347, allocations: 0.7667 MB / 413.1 MB, free: 1.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.03475, allocations: 37.7 kB / 413.1 MB, free: 1.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.03492, allocations: 346.6 kB / 413.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.03508, allocations: 273.6 kB / 413.7 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.03528, allocations: 174.5 kB / 413.9 MB, free: 468 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.03537, allocations: 349.9 kB / 414.2 MB, free: 112 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.03571, allocations: 216.8 kB / 414.4 MB, free: 15.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.0361, allocations: 339.3 kB / 414.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.0372, allocations: 0.8934 MB / 415.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.0372, allocations: 0 / 415.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002918/0.04012, allocations: 1.663 MB / 417.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.04014, allocations: 8 kB / 417.3 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.04015, allocations: 4 kB / 417.3 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.04296, allocations: 1.141 MB / 418.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.04351, allocations: 231.5 kB / 418.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.04699, allocations: 2.645 MB / 421.3 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.04747, allocations: 123.4 kB / 421.5 MB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.04752, allocations: 27.98 kB / 421.5 MB, free: 8.668 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.04774, allocations: 167.1 kB / 421.6 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.04784, allocations: 83.91 kB / 421.7 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.05057, allocations: 1.547 MB / 423.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.05057, allocations: 4 kB / 423.3 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.05057, allocations: 4 kB / 423.3 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.05058, allocations: 3.984 kB / 423.3 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.05391, allocations: 2.06 MB / 425.3 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.05392, allocations: 0 / 425.3 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.05419, allocations: 95.88 kB / 425.4 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/0.05728, allocations: 1.313 MB / 426.8 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.05732, allocations: 19.98 kB / 426.8 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/0.06104, allocations: 2.988 MB / 429.8 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.06104, allocations: 4 kB / 429.8 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.06404, allocations: 1.777 MB / 431.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.06415, allocations: 103.1 kB / 431.6 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.06423, allocations: 12 kB / 431.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.06456, allocations: 67.88 kB / 431.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.06482, allocations: 152.4 kB / 431.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.06485, allocations: 15.98 kB / 431.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.06515, allocations: 392.2 kB / 432.3 MB, free: 13.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06515, allocations: 0 / 432.3 MB, free: 13.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007368/0.06588, allocations: 359.7 kB / 432.6 MB, free: 13.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.06612, allocations: 112.2 kB / 432.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.06777, allocations: 1.041 MB / 433.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.06778, allocations: 12 kB / 433.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.06887, allocations: 0.7407 MB / 434.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.06927, allocations: 107.1 kB / 434.6 MB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.07159, allocations: 1.683 MB / 436.3 MB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.07175, allocations: 205.3 kB / 436.5 MB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.07196, allocations: 86.69 kB / 436.6 MB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.07222, allocations: 159.3 kB / 436.8 MB, free: 9.078 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/0.07222, allocations: 0 / 436.8 MB, free: 9.078 MB / 410.7 MB Notification: Performance of Templates: time 0.1575/0.2297, allocations: 20.09 MB / 456.8 MB, free: 58.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.410347175784409]