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.001753/0.001753, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 253.4 MB, free: 8.324 MB / 206.1 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.001655/0.001655, allocations: 210.1 kB / 310 MB, free: 3.172 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4656/0.4656, allocations: 79.73 MB / 446.2 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 83.86 kB / 0.5941 GB, free: 13.53 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1582, allocations: 73.31 MB / 0.6657 GB, free: 4.117 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.008062/0.1663, allocations: 6.069 MB / 0.6716 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.171, allocations: 1.903 MB / 0.6735 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.172, allocations: 19.88 kB / 0.6735 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.1729, allocations: 210.2 kB / 0.6737 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.1751, allocations: 0.7613 MB / 0.6745 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1765, allocations: 0.5468 MB / 0.675 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.1784, allocations: 1.448 MB / 0.6764 GB, free: 9.125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.1789, allocations: 195.7 kB / 0.6766 GB, free: 8.922 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009083/0.1798, allocations: 0.5875 MB / 0.6772 GB, free: 8.332 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008917/0.1807, allocations: 0.661 MB / 0.6778 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.1808, allocations: 96 kB / 0.6779 GB, free: 7.574 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.1813, allocations: 255.9 kB / 0.6781 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.1816, allocations: 262.8 kB / 0.6784 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005508/0.1822, allocations: 0.567 MB / 0.679 GB, free: 6.496 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.1839, allocations: 1.412 MB / 0.6803 GB, free: 5.078 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.184, allocations: 4 kB / 0.6803 GB, free: 5.074 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.184, allocations: 3.938 kB / 0.6803 GB, free: 5.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.184, allocations: 0 / 0.6803 GB, free: 5.07 MB / 478.1 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.007778/0.1918, allocations: 2.34 MB / 0.6826 GB, free: 2.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1918, allocations: 11.98 kB / 0.6826 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.1953, allocations: 0.5578 MB / 0.6832 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.1969, allocations: 0.7241 MB / 0.6839 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.1972, allocations: 290.9 kB / 0.6842 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1974, allocations: 67.95 kB / 0.6842 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.1991, allocations: 0.834 MB / 0.685 GB, free: 112 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1992, allocations: 3.938 kB / 0.685 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.1992, allocations: 28 kB / 0.6851 GB, free: 80 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1993, allocations: 19.94 kB / 0.6851 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.2012, allocations: 0.8445 MB / 0.6859 GB, free: 15.21 MB / 494.1 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.006055/0.2072, allocations: 3.001 MB / 0.6888 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/0.2133, allocations: 1.262 MB / 0.6901 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.2145, allocations: 0.4991 MB / 0.6906 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.294e-05/0.2146, allocations: 8.656 kB / 0.6906 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.2159, allocations: 0.6211 MB / 0.6912 GB, free: 9.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 3.446e-06/0.2159, allocations: 0 / 0.6912 GB, free: 9.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01916/0.2351, allocations: 4.537 MB / 0.6956 GB, free: 5.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.2352, allocations: 60.06 kB / 0.6957 GB, free: 5.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.2367, allocations: 0.9661 MB / 0.6966 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.2369, allocations: 41.7 kB / 0.6967 GB, free: 4.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.2373, allocations: 476.8 kB / 0.6971 GB, free: 3.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.2376, allocations: 281.7 kB / 0.6974 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.238, allocations: 182.5 kB / 0.6976 GB, free: 3.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2382, allocations: 341.9 kB / 0.6979 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.2394, allocations: 0.5524 MB / 0.6984 GB, free: 2.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.2408, allocations: 0.6633 MB / 0.6991 GB, free: 1.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3441/0.5849, allocations: 4.157 MB / 0.7031 GB, free: 33.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.5849, allocations: 0 / 0.7031 GB, free: 33.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00921/0.5941, allocations: 2.817 MB / 0.7059 GB, free: 33.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.5942, allocations: 9.219 kB / 0.7059 GB, free: 33.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5942, allocations: 7.125 kB / 0.7059 GB, free: 33.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00521/0.5994, allocations: 1.258 MB / 0.7071 GB, free: 33.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6005, allocations: 186.8 kB / 0.7073 GB, free: 33.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.6141, allocations: 5.585 MB / 0.7128 GB, free: 31.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.6159, allocations: 153.9 kB / 0.7129 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6161, allocations: 37.14 kB / 0.7129 GB, free: 31.9 MB / 494.1 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 (103): * Single equations (assignments): 101 * 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.0006263/0.6167, allocations: 241.4 kB / 0.7132 GB, free: 31.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.6169, allocations: 120.6 kB / 0.7133 GB, free: 31.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009563/0.6265, allocations: 2.634 MB / 0.7159 GB, free: 30.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.6265, allocations: 8.594 kB / 0.7159 GB, free: 30.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6265, allocations: 0.8906 kB / 0.7159 GB, free: 30.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.6265, allocations: 10.75 kB / 0.7159 GB, free: 30.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.6372, allocations: 3.977 MB / 0.7198 GB, free: 29.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6372, allocations: 0 / 0.7198 GB, free: 29.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.6377, allocations: 87.64 kB / 0.7198 GB, free: 29.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004899/0.6426, allocations: 1.323 MB / 0.7211 GB, free: 29.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.6427, allocations: 15.56 kB / 0.7211 GB, free: 29.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/0.6548, allocations: 5.905 MB / 0.7269 GB, free: 25.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6548, allocations: 0 / 0.7269 GB, free: 25.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00972/0.6645, allocations: 3.368 MB / 0.7302 GB, free: 23.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.6649, allocations: 125.1 kB / 0.7303 GB, free: 23.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.665, allocations: 15.78 kB / 0.7303 GB, free: 23.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/0.666, allocations: 86.95 kB / 0.7304 GB, free: 23.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.6664, allocations: 159.7 kB / 0.7306 GB, free: 23.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.6665, allocations: 19.69 kB / 0.7306 GB, free: 23.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009362/0.6674, allocations: 0.6653 MB / 0.7312 GB, free: 23.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6674, allocations: 0 / 0.7312 GB, free: 23.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001457/0.6689, allocations: 358 kB / 0.7316 GB, free: 22.99 MB / 494.1 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.0002691/0.6691, allocations: 121.5 kB / 0.7317 GB, free: 22.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.6738, allocations: 1.717 MB / 0.7334 GB, free: 22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6738, allocations: 0 / 0.7334 GB, free: 22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002981/0.6768, allocations: 1.095 MB / 0.7344 GB, free: 21.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.6776, allocations: 97.14 kB / 0.7345 GB, free: 21.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.6805, allocations: 1.864 MB / 0.7364 GB, free: 20.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.6808, allocations: 1.05 MB / 0.7374 GB, free: 19.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.6811, allocations: 69.36 kB / 0.7374 GB, free: 19.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6811, allocations: 0 / 0.7374 GB, free: 19.32 MB / 494.1 MB Notification: Performance of Templates: time 0.02235/0.7035, allocations: 22.07 MB / 0.759 GB, free: 14.11 MB / 0.4981 GB " [Timeout remaining time 659] 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: 9.99457252305001] Failed to read output from testmodel.py, exit status != 0: 0.7131614231038839 0.729233451 0.541859475 Calling exit ...