Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001357/0.001357, allocations: 88.72 kB / 19.44 MB, free: 356 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.452/1.452, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.001614/0.001614, allocations: 164.6 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4648/0.4648, allocations: 80.26 MB / 393 MB, free: 2.211 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 489 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.806e-05, allocations: 2.312 kB / 489 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.008303/0.008331, allocations: 5.371 MB / 494.4 MB, free: 6.562 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.01319, allocations: 1.807 MB / 496.2 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/0.01415, allocations: 16.84 kB / 496.2 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.01526, allocations: 206.1 kB / 496.4 MB, free: 4.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.01803, allocations: 0.7543 MB / 497.2 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.01947, allocations: 0.5582 MB / 497.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.0215, allocations: 1.413 MB / 499.2 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.02209, allocations: 197.5 kB / 499.4 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.02358, allocations: 0.7714 MB / 0.4884 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009182/0.0245, allocations: 0.5179 MB / 0.4889 GB, free: 336 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.02474, allocations: 100 kB / 0.489 GB, free: 236 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.0253, allocations: 245.6 kB / 0.4892 GB, free: 15.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.02563, allocations: 270.7 kB / 0.4895 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.02618, allocations: 382.7 kB / 0.4899 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.02805, allocations: 1.46 MB / 0.4913 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.02805, allocations: 1.219 kB / 0.4913 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.02805, allocations: 0 / 0.4913 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.02806, allocations: 0 / 0.4913 GB, free: 13.89 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.007559/0.03562, allocations: 2.324 MB / 0.4936 GB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.03565, allocations: 8.031 kB / 0.4936 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.03928, allocations: 0.6594 MB / 0.4942 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.04095, allocations: 0.7502 MB / 0.4949 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.04131, allocations: 286.9 kB / 0.4952 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.04147, allocations: 68 kB / 0.4953 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.04347, allocations: 0.8333 MB / 0.4961 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.04348, allocations: 1.188 kB / 0.4961 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.04359, allocations: 24 kB / 0.4961 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.04361, allocations: 16 kB / 0.4961 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.04565, allocations: 0.8561 MB / 0.497 GB, free: 7.973 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005776/0.05143, allocations: 2.307 MB / 0.4992 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00661/0.05804, allocations: 1.275 MB / 0.5005 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.05926, allocations: 0.4952 MB / 0.501 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.539e-05/0.05934, allocations: 16.64 kB / 0.501 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.06092, allocations: 0.625 MB / 0.5016 GB, free: 3.195 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.685e-06/0.06093, allocations: 0 / 0.5016 GB, free: 3.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.02007/0.08099, allocations: 4.591 MB / 0.5061 GB, free: 14.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.08105, allocations: 64 kB / 0.5061 GB, free: 14.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.08267, allocations: 0.9331 MB / 0.507 GB, free: 13.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.08281, allocations: 41.7 kB / 0.5071 GB, free: 13.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.08328, allocations: 484.8 kB / 0.5075 GB, free: 13.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.08364, allocations: 277.6 kB / 0.5078 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.08402, allocations: 174.6 kB / 0.508 GB, free: 12.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.08422, allocations: 341.9 kB / 0.5083 GB, free: 12.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.08567, allocations: 0.5485 MB / 0.5088 GB, free: 11.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.08711, allocations: 0.6633 MB / 0.5095 GB, free: 11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.1056, allocations: 4.147 MB / 0.5135 GB, free: 6.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.1056, allocations: 0 / 0.5135 GB, free: 6.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009361/0.1149, allocations: 2.843 MB / 0.5163 GB, free: 3.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1149, allocations: 11.94 kB / 0.5163 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.115, allocations: 4 kB / 0.5163 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00809/0.123, allocations: 1.693 MB / 0.518 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.1241, allocations: 179.7 kB / 0.5181 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.1373, allocations: 5.448 MB / 0.5235 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.1388, allocations: 155.3 kB / 0.5236 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.1389, allocations: 43.91 kB / 0.5237 GB, free: 12.33 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 (99): * Single equations (assignments): 97 * 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.0005013/0.1394, allocations: 229.6 kB / 0.5239 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.1396, allocations: 135.3 kB / 0.524 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00946/0.1491, allocations: 2.656 MB / 0.5266 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.1491, allocations: 8 kB / 0.5266 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1491, allocations: 0 / 0.5266 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.1491, allocations: 3.984 kB / 0.5266 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.1604, allocations: 3.486 MB / 0.53 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1604, allocations: 0 / 0.53 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.1609, allocations: 91.88 kB / 0.5301 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009474/0.1704, allocations: 1.865 MB / 0.5319 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.1705, allocations: 12 kB / 0.5319 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/0.1856, allocations: 5.824 MB / 0.5376 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1856, allocations: 0 / 0.5376 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.1968, allocations: 3.4 MB / 0.5409 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.1972, allocations: 119.3 kB / 0.5411 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.1973, allocations: 15.98 kB / 0.5411 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.1984, allocations: 87.91 kB / 0.5412 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/0.1989, allocations: 164.3 kB / 0.5413 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.988e-05/0.199, allocations: 23.98 kB / 0.5413 GB, free: 10.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.2002, allocations: 0.6387 MB / 0.542 GB, free: 9.363 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2002, allocations: 0 / 0.542 GB, free: 9.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001204/0.2014, allocations: 359.6 kB / 0.5423 GB, free: 9.012 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.0003029/0.2017, allocations: 123.2 kB / 0.5424 GB, free: 8.883 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005347/0.207, allocations: 1.712 MB / 0.5441 GB, free: 7.156 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.207, allocations: 0 / 0.5441 GB, free: 7.156 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003525/0.2105, allocations: 1.099 MB / 0.5452 GB, free: 6.039 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.2114, allocations: 117 kB / 0.5453 GB, free: 5.926 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.2151, allocations: 1.801 MB / 0.547 GB, free: 4.094 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.2156, allocations: 476.3 kB / 0.5475 GB, free: 3.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003609/0.216, allocations: 98.42 kB / 0.5476 GB, free: 3.488 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.2162, allocations: 64.48 kB / 0.5476 GB, free: 3.426 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2162, allocations: 4 kB / 0.5476 GB, free: 3.422 MB / 474.7 MB Notification: Performance of Templates: time 0.03421/0.2504, allocations: 19.49 MB / 0.5667 GB, free: 15.98 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.816499595995992]