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.0008829/0.0008829, allocations: 73.09 kB / 20.65 MB, free: 3.844 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 0.9618/0.9618, allocations: 177.2 MB / 201.1 MB, free: 5.383 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.001126/0.001126, allocations: 164.6 kB / 257.7 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.2958/0.2958, allocations: 83.28 MB / 397.5 MB, free: 15.02 MB / 330.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 2.615e-06/2.615e-06, allocations: 4 kB / 495.1 MB, free: 7.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.46e-05, allocations: 4.219 kB / 495.1 MB, free: 7.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005451/0.005475, allocations: 5.684 MB / 0.489 GB, free: 1.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.008914, allocations: 1.846 MB / 0.4908 GB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/0.00949, allocations: 20.62 kB / 0.4909 GB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.01006, allocations: 206.1 kB / 0.4911 GB, free: 15.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.01151, allocations: 0.7715 MB / 0.4918 GB, free: 14.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.01244, allocations: 0.5459 MB / 0.4923 GB, free: 14.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.01401, allocations: 1.414 MB / 0.4937 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.01433, allocations: 187.7 kB / 0.4939 GB, free: 12.4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.01537, allocations: 0.7876 MB / 0.4947 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.01598, allocations: 0.5179 MB / 0.4952 GB, free: 11.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.01615, allocations: 100.7 kB / 0.4953 GB, free: 11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.01655, allocations: 248.8 kB / 0.4955 GB, free: 10.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.01673, allocations: 274.8 kB / 0.4958 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.01705, allocations: 382.7 kB / 0.4961 GB, free: 10.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.01819, allocations: 1.04 MB / 0.4972 GB, free: 9.066 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01819, allocations: 0 / 0.4972 GB, free: 9.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01819, allocations: 0 / 0.4972 GB, free: 9.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.01822, allocations: 0 / 0.4972 GB, free: 9.066 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.003969/0.02219, allocations: 2.45 MB / 0.4995 GB, free: 6.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.02222, allocations: 8.031 kB / 0.4996 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.02416, allocations: 0.6599 MB / 0.5002 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.02534, allocations: 0.6979 MB / 0.5009 GB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.02551, allocations: 283.6 kB / 0.5011 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.02561, allocations: 68.53 kB / 0.5012 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.02625, allocations: 480.6 kB / 0.5017 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.02626, allocations: 0 / 0.5017 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.02632, allocations: 24 kB / 0.5017 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.02633, allocations: 16 kB / 0.5017 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.02678, allocations: 310.1 kB / 0.502 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.02948, allocations: 2.018 MB / 0.504 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.03183, allocations: 0.7979 MB / 0.5048 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.0321, allocations: 205.9 kB / 0.505 GB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/0.03217, allocations: 16.64 kB / 0.505 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.03256, allocations: 317.8 kB / 0.5053 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.094e-06/0.03256, allocations: 0 / 0.5053 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007516/0.04007, allocations: 3.078 MB / 0.5083 GB, free: 13.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.04011, allocations: 60.06 kB / 0.5083 GB, free: 13.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.04073, allocations: 0.8453 MB / 0.5092 GB, free: 12.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.04079, allocations: 37.7 kB / 0.5092 GB, free: 12.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.04107, allocations: 0.5384 MB / 0.5097 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.04125, allocations: 277.6 kB / 0.51 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.04148, allocations: 196.1 kB / 0.5102 GB, free: 11.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.0416, allocations: 0.5159 MB / 0.5107 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.04194, allocations: 229.9 kB / 0.5109 GB, free: 10.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.04235, allocations: 391.5 kB / 0.5113 GB, free: 10.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.04346, allocations: 0.9275 MB / 0.5122 GB, free: 9.344 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.04346, allocations: 4 kB / 0.5122 GB, free: 9.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0034/0.04686, allocations: 1.861 MB / 0.514 GB, free: 7.457 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.04688, allocations: 8 kB / 0.514 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.04689, allocations: 4 kB / 0.514 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/0.05035, allocations: 1.18 MB / 0.5152 GB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.05085, allocations: 191.7 kB / 0.5153 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.05507, allocations: 3.373 MB / 0.5186 GB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.05572, allocations: 123.4 kB / 0.5188 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.05578, allocations: 27.98 kB / 0.5188 GB, free: 2.441 MB / 442.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.0002623/0.05604, allocations: 206.1 kB / 0.519 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.0562, allocations: 147.2 kB / 0.5191 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.05933, allocations: 1.655 MB / 0.5207 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.05933, allocations: 8 kB / 0.5207 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.05933, allocations: 0 / 0.5207 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.05934, allocations: 3.984 kB / 0.5207 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/0.06348, allocations: 2.359 MB / 0.5231 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.06349, allocations: 0 / 0.5231 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.06374, allocations: 87.89 kB / 0.5231 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/0.06737, allocations: 1.332 MB / 0.5244 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.06745, allocations: 19.94 kB / 0.5245 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.07233, allocations: 3.892 MB / 0.5283 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.07234, allocations: 0 / 0.5283 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.07624, allocations: 1.946 MB / 0.5302 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.07644, allocations: 119.1 kB / 0.5303 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.07654, allocations: 23.98 kB / 0.5303 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.07695, allocations: 55.95 kB / 0.5303 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/0.07722, allocations: 152.3 kB / 0.5305 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.07726, allocations: 20 kB / 0.5305 GB, free: 6.199 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.07762, allocations: 0.5057 MB / 0.531 GB, free: 5.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07762, allocations: 0 / 0.531 GB, free: 5.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000793/0.07841, allocations: 351.7 kB / 0.5313 GB, free: 5.34 MB / 458.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.0002137/0.07862, allocations: 139 kB / 0.5315 GB, free: 5.195 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.08049, allocations: 1.165 MB / 0.5326 GB, free: 4.004 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.0805, allocations: 0 / 0.5326 GB, free: 4.004 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.0818, allocations: 0.8455 MB / 0.5334 GB, free: 3.129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.08226, allocations: 104.2 kB / 0.5335 GB, free: 3.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.08468, allocations: 1.654 MB / 0.5352 GB, free: 1.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.08486, allocations: 201.3 kB / 0.5353 GB, free: 1.113 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.08508, allocations: 90.45 kB / 0.5354 GB, free: 1.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.08532, allocations: 170.1 kB / 0.5356 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.08532, allocations: 4 kB / 0.5356 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of Templates: time 0.02612/0.1114, allocations: 21.6 MB / 0.5567 GB, free: 11.31 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: 3.668144503608346]