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.001819/0.001819, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.582/1.582, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002144/0.002144, allocations: 168.2 kB / 256.3 MB, free: 13.15 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.5032/0.5032, allocations: 80.38 MB / 393.1 MB, free: 2.148 MB / 314.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 489.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.168e-05, allocations: 6.312 kB / 489.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.01171/0.01174, allocations: 5.722 MB / 494.9 MB, free: 6.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.01761, allocations: 1.839 MB / 496.7 MB, free: 4.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007701/0.01838, allocations: 19.88 kB / 496.8 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.01928, allocations: 210.1 kB / 497 MB, free: 4.094 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.02248, allocations: 0.7729 MB / 497.7 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.02479, allocations: 0.5577 MB / 498.3 MB, free: 2.777 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003215/0.028, allocations: 1.417 MB / 499.7 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.02862, allocations: 181 kB / 499.9 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.03061, allocations: 0.787 MB / 0.4889 GB, free: 388 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.03208, allocations: 0.5114 MB / 0.4894 GB, free: 15.87 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000298/0.03237, allocations: 104 kB / 0.4895 GB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.03331, allocations: 239.8 kB / 0.4898 GB, free: 15.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.03375, allocations: 266.8 kB / 0.49 GB, free: 15.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007756/0.03453, allocations: 384 kB / 0.4904 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.03792, allocations: 1.444 MB / 0.4918 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.03792, allocations: 7.938 kB / 0.4918 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03793, allocations: 0.875 kB / 0.4918 GB, free: 13.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.03795, allocations: 0 / 0.4918 GB, free: 13.44 MB / 426.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.01532/0.05327, allocations: 2.555 MB / 0.4943 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.05333, allocations: 8.031 kB / 0.4943 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0074/0.06073, allocations: 0.6682 MB / 0.495 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.06383, allocations: 0.7285 MB / 0.4957 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005553/0.06439, allocations: 284 kB / 0.496 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.06465, allocations: 64 kB / 0.496 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.06805, allocations: 0.8011 MB / 0.4968 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.06807, allocations: 1.375 kB / 0.4968 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.06821, allocations: 20 kB / 0.4968 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.06824, allocations: 16 kB / 0.4968 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.07185, allocations: 0.7933 MB / 0.4976 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.08283, allocations: 2.496 MB / 0.5 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.09474, allocations: 1.153 MB / 0.5012 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/0.09737, allocations: 493.8 kB / 0.5016 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.09757, allocations: 20.66 kB / 0.5017 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002666/0.1002, allocations: 0.6033 MB / 0.5022 GB, free: 2.574 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 5.49e-06/0.1002, allocations: 0 / 0.5022 GB, free: 2.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.02944/0.1297, allocations: 4.098 MB / 0.5062 GB, free: 14.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.1298, allocations: 56.06 kB / 0.5063 GB, free: 14.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.132, allocations: 1.1 MB / 0.5074 GB, free: 13.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.1322, allocations: 41.7 kB / 0.5074 GB, free: 13.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006272/0.1328, allocations: 0.562 MB / 0.508 GB, free: 12.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/0.1334, allocations: 285.6 kB / 0.5082 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/0.134, allocations: 212.2 kB / 0.5084 GB, free: 12.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003322/0.1343, allocations: 0.5355 MB / 0.509 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.1357, allocations: 0.5134 MB / 0.5095 GB, free: 11.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.1372, allocations: 0.6754 MB / 0.5101 GB, free: 10.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.1414, allocations: 1.779 MB / 0.5119 GB, free: 8.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.1414, allocations: 8 kB / 0.5119 GB, free: 8.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.009179/0.1506, allocations: 2.619 MB / 0.5144 GB, free: 5.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.1506, allocations: 11.98 kB / 0.5144 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1506, allocations: 0 / 0.5144 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00791/0.1585, allocations: 1.504 MB / 0.5159 GB, free: 4.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.1597, allocations: 179.8 kB / 0.5161 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.1745, allocations: 5.771 MB / 0.5217 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.1762, allocations: 127.3 kB / 0.5218 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.1765, allocations: 39.98 kB / 0.5219 GB, free: 14.16 MB / 458.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.0007719/0.1773, allocations: 276.3 kB / 0.5221 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/0.1777, allocations: 139.2 kB / 0.5223 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008979/0.1867, allocations: 2.393 MB / 0.5246 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1867, allocations: 4 kB / 0.5246 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1867, allocations: 4 kB / 0.5246 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.1867, allocations: 7.984 kB / 0.5246 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.1975, allocations: 3.394 MB / 0.5279 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1975, allocations: 0 / 0.5279 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.198, allocations: 87.83 kB / 0.528 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008681/0.2067, allocations: 1.647 MB / 0.5296 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.2068, allocations: 19.92 kB / 0.5296 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.2216, allocations: 6.18 MB / 0.5357 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2216, allocations: 3.938 kB / 0.5357 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.2321, allocations: 3.141 MB / 0.5388 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.2325, allocations: 123.1 kB / 0.5389 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.2327, allocations: 12 kB / 0.5389 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009768/0.2337, allocations: 59.94 kB / 0.5389 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005454/0.2342, allocations: 176.3 kB / 0.5391 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/0.2343, allocations: 19.94 kB / 0.5391 GB, free: 12.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.2355, allocations: 0.6973 MB / 0.5398 GB, free: 11.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2355, allocations: 0 / 0.5398 GB, free: 11.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001318/0.2368, allocations: 355.7 kB / 0.5401 GB, free: 11.19 MB / 474.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.00034/0.2372, allocations: 135.1 kB / 0.5403 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005486/0.2427, allocations: 1.743 MB / 0.542 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2427, allocations: 0.5625 kB / 0.542 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/0.2464, allocations: 1.138 MB / 0.5431 GB, free: 8.113 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.2475, allocations: 118.6 kB / 0.5432 GB, free: 8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.2518, allocations: 1.768 MB / 0.5449 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/0.2527, allocations: 464.4 kB / 0.5454 GB, free: 5.703 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004359/0.2531, allocations: 94.69 kB / 0.5455 GB, free: 5.605 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.2534, allocations: 64.48 kB / 0.5455 GB, free: 5.543 MB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2534, allocations: 0 / 0.5455 GB, free: 5.543 MB / 474.7 MB Notification: Performance of Templates: time 0.04207/0.2955, allocations: 20.08 MB / 0.5651 GB, free: 1.523 MB / 490.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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.343670579022728]