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.001502/0.001502, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.354/1.354, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001433/0.001433, allocations: 211.8 kB / 310 MB, free: 3.09 MB / 238.1 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.5695/0.5695, allocations: 107.2 MB / 473.6 MB, free: 30.3 MB / 350.1 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: 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.002426/0.002426, allocations: 90.94 kB / 0.6342 GB, free: 29.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.127, allocations: 80.15 MB / 0.7125 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006732/0.1337, allocations: 5.357 MB / 0.7177 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1373, allocations: 1.821 MB / 0.7195 GB, free: 56 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.1376, allocations: 15.94 kB / 0.7195 GB, free: 40 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.1382, allocations: 210.3 kB / 0.7197 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.1398, allocations: 0.7401 MB / 0.7205 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1409, allocations: 0.5392 MB / 0.721 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1424, allocations: 1.444 MB / 0.7224 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1428, allocations: 183.7 kB / 0.7226 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/0.1435, allocations: 0.5913 MB / 0.7231 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.1442, allocations: 0.6025 MB / 0.7237 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1444, allocations: 96 kB / 0.7238 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.1448, allocations: 247.8 kB / 0.7241 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.1451, allocations: 258.9 kB / 0.7243 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.1455, allocations: 473.3 kB / 0.7248 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.147, allocations: 1.424 MB / 0.7261 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.147, allocations: 0 / 0.7261 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.147, allocations: 0 / 0.7261 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.147, allocations: 0 / 0.7261 GB, free: 9.227 MB / 0.4981 GB 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.006989/0.154, allocations: 2.333 MB / 0.7284 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1541, allocations: 12.03 kB / 0.7284 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/0.1573, allocations: 0.5539 MB / 0.729 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.1587, allocations: 0.7358 MB / 0.7297 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.159, allocations: 282.9 kB / 0.73 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1591, allocations: 71.98 kB / 0.73 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.1608, allocations: 0.834 MB / 0.7308 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1608, allocations: 0 / 0.7308 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.1609, allocations: 24 kB / 0.7309 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.1609, allocations: 19.94 kB / 0.7309 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.1627, allocations: 0.8406 MB / 0.7317 GB, free: 3.383 MB / 0.4981 GB 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.004998/0.1677, allocations: 2.287 MB / 0.7339 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/0.1735, allocations: 1.265 MB / 0.7352 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.1746, allocations: 0.5079 MB / 0.7357 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/0.1747, allocations: 8.656 kB / 0.7357 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.176, allocations: 0.6172 MB / 0.7363 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 2.485e-06/0.176, allocations: 0 / 0.7363 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.018/0.194, allocations: 4.517 MB / 0.7407 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.194, allocations: 60.06 kB / 0.7408 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.1954, allocations: 0.9486 MB / 0.7417 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.1955, allocations: 37.7 kB / 0.7417 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.1959, allocations: 488.8 kB / 0.7422 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.1962, allocations: 273.6 kB / 0.7424 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.1965, allocations: 174.6 kB / 0.7426 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1967, allocations: 349.9 kB / 0.7429 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.1979, allocations: 0.5446 MB / 0.7435 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.1992, allocations: 0.6633 MB / 0.7441 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/0.2161, allocations: 4.128 MB / 0.7482 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2161, allocations: 0 / 0.7482 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008555/0.2246, allocations: 2.805 MB / 0.7509 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2246, allocations: 8 kB / 0.7509 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2246, allocations: 0 / 0.7509 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004643/0.2293, allocations: 1.268 MB / 0.7521 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.2301, allocations: 187.7 kB / 0.7523 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.2424, allocations: 5.439 MB / 0.7576 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.2437, allocations: 151.3 kB / 0.7578 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.2437, allocations: 35.98 kB / 0.7578 GB, free: 8.336 MB / 0.5294 GB 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.0004264/0.2442, allocations: 228.1 kB / 0.758 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.2443, allocations: 115.2 kB / 0.7581 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008584/0.2529, allocations: 2.633 MB / 0.7607 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2529, allocations: 11.94 kB / 0.7607 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2529, allocations: 0 / 0.7607 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2529, allocations: 3.984 kB / 0.7607 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.263, allocations: 3.462 MB / 0.7641 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.263, allocations: 0 / 0.7641 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.2634, allocations: 95.88 kB / 0.7642 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004832/0.2683, allocations: 1.318 MB / 0.7655 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.2684, allocations: 19.98 kB / 0.7655 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.2814, allocations: 5.747 MB / 0.7711 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2814, allocations: 4 kB / 0.7711 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009919/0.2913, allocations: 3.354 MB / 0.7744 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.2916, allocations: 119.3 kB / 0.7745 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2917, allocations: 15.94 kB / 0.7745 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.2926, allocations: 87.89 kB / 0.7746 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/0.293, allocations: 164.2 kB / 0.7748 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.2931, allocations: 23.98 kB / 0.7748 GB, free: 6.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009619/0.2941, allocations: 0.6387 MB / 0.7754 GB, free: 6.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2941, allocations: 0 / 0.7754 GB, free: 6.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009526/0.295, allocations: 351.7 kB / 0.7757 GB, free: 5.742 MB / 0.545 GB 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.0002368/0.2953, allocations: 131.1 kB / 0.7759 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00462/0.2999, allocations: 1.701 MB / 0.7775 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2999, allocations: 0 / 0.7775 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.3031, allocations: 1.077 MB / 0.7786 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.3037, allocations: 93.5 kB / 0.7787 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.3068, allocations: 1.872 MB / 0.7805 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.3072, allocations: 452.4 kB / 0.7809 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.3075, allocations: 67.42 kB / 0.781 GB, free: 260 kB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.3075, allocations: 0 / 0.781 GB, free: 260 kB / 0.545 GB Notification: Performance of Templates: time 0.02656/0.334, allocations: 22.39 MB / 0.8029 GB, free: 9.844 MB / 0.5762 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: 8.7436559679918] Failed to read output from testmodel.py, exit status != 0: 0.34156573424115777 0.583213074 0.433749414 Calling exit ...