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.001294/0.001294, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.406/1.406, allocations: 177.2 MB / 200.1 MB, free: 9.023 MB / 190.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.001634/0.001634, allocations: 161.4 kB / 256.6 MB, free: 0.7539 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.3371/0.3371, allocations: 59.78 MB / 372.8 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 180] 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.002568/0.002568, allocations: 80.88 kB / 0.5223 GB, free: 55.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1103, allocations: 73.28 MB / 0.5939 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007219/0.1175, allocations: 5.341 MB / 0.5991 GB, free: 4.812 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.1218, allocations: 1.802 MB / 0.6009 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.1226, allocations: 15.88 kB / 0.6009 GB, free: 2.988 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.1233, allocations: 210.2 kB / 0.6011 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1253, allocations: 0.7379 MB / 0.6018 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1267, allocations: 0.5455 MB / 0.6023 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.1287, allocations: 1.44 MB / 0.6037 GB, free: 48 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.1291, allocations: 187.7 kB / 0.6039 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009378/0.1301, allocations: 0.5836 MB / 0.6045 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008531/0.1309, allocations: 0.6024 MB / 0.6051 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.1311, allocations: 100 kB / 0.6052 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.1316, allocations: 239.9 kB / 0.6054 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.132, allocations: 270.8 kB / 0.6057 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.1325, allocations: 465.3 kB / 0.6061 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1343, allocations: 1.431 MB / 0.6075 GB, free: 12.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1343, allocations: 4 kB / 0.6075 GB, free: 12.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1343, allocations: 0 / 0.6075 GB, free: 12.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1343, allocations: 0 / 0.6075 GB, free: 12.16 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.007955/0.1423, allocations: 2.329 MB / 0.6098 GB, free: 9.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1423, allocations: 11.98 kB / 0.6098 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.1458, allocations: 0.5617 MB / 0.6103 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.1474, allocations: 0.7202 MB / 0.6111 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.1477, allocations: 286.9 kB / 0.6113 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.1479, allocations: 67.95 kB / 0.6114 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.1497, allocations: 0.834 MB / 0.6122 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1497, allocations: 0 / 0.6122 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.1498, allocations: 28 kB / 0.6122 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1498, allocations: 15.94 kB / 0.6122 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.1517, allocations: 0.8484 MB / 0.6131 GB, free: 6.324 MB / 478.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.005668/0.1574, allocations: 2.279 MB / 0.6153 GB, free: 4.012 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/0.1638, allocations: 1.263 MB / 0.6165 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.1653, allocations: 0.499 MB / 0.617 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.1654, allocations: 8.656 kB / 0.617 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.167, allocations: 0.6172 MB / 0.6176 GB, free: 1.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 4.108e-06/0.167, allocations: 0 / 0.6176 GB, free: 1.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01992/0.1869, allocations: 4.537 MB / 0.6221 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.187, allocations: 64 kB / 0.6221 GB, free: 12.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.1888, allocations: 0.937 MB / 0.623 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.189, allocations: 41.7 kB / 0.6231 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.1895, allocations: 488.7 kB / 0.6235 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/0.1899, allocations: 269.6 kB / 0.6238 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.1903, allocations: 178.5 kB / 0.624 GB, free: 11.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1905, allocations: 341.9 kB / 0.6243 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.1919, allocations: 0.5486 MB / 0.6248 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.1934, allocations: 0.6633 MB / 0.6255 GB, free: 9.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/0.2122, allocations: 4.14 MB / 0.6295 GB, free: 5.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.2122, allocations: 0 / 0.6295 GB, free: 5.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009751/0.222, allocations: 2.804 MB / 0.6323 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.222, allocations: 4 kB / 0.6323 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.222, allocations: 4 kB / 0.6323 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005208/0.2272, allocations: 1.266 MB / 0.6335 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2283, allocations: 175.8 kB / 0.6337 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.2423, allocations: 5.437 MB / 0.639 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.2438, allocations: 147.3 kB / 0.6391 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.244, allocations: 43.92 kB / 0.6392 GB, free: 11.29 MB / 0.4981 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.0005323/0.2445, allocations: 229.7 kB / 0.6394 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.2448, allocations: 123.2 kB / 0.6395 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009381/0.2542, allocations: 2.629 MB / 0.6421 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.2542, allocations: 8 kB / 0.6421 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2542, allocations: 0 / 0.6421 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.2542, allocations: 3.984 kB / 0.6421 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.2653, allocations: 3.466 MB / 0.6455 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.2653, allocations: 0 / 0.6455 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.2658, allocations: 87.83 kB / 0.6456 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005291/0.2711, allocations: 1.318 MB / 0.6468 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.2712, allocations: 12 kB / 0.6468 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.286, allocations: 5.751 MB / 0.6525 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.286, allocations: 3.938 kB / 0.6525 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.2974, allocations: 3.35 MB / 0.6557 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.2978, allocations: 123.3 kB / 0.6559 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.298, allocations: 16 kB / 0.6559 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.2991, allocations: 87.89 kB / 0.656 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005459/0.2997, allocations: 164.3 kB / 0.6561 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.2998, allocations: 20 kB / 0.6561 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001205/0.301, allocations: 0.6464 MB / 0.6568 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.301, allocations: 4 kB / 0.6568 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001343/0.3023, allocations: 355.7 kB / 0.6571 GB, free: 8.691 MB / 0.5137 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.0003087/0.3026, allocations: 131.1 kB / 0.6572 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005357/0.308, allocations: 1.701 MB / 0.6589 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.308, allocations: 3.938 kB / 0.6589 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.3117, allocations: 1.089 MB / 0.66 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.3125, allocations: 87.53 kB / 0.66 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.3167, allocations: 1.827 MB / 0.6618 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.3173, allocations: 460.4 kB / 0.6623 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004297/0.3177, allocations: 98.45 kB / 0.6624 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.3179, allocations: 64.48 kB / 0.6624 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.3179, allocations: 0 / 0.6624 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.3147/0.6326, allocations: 19.3 MB / 0.6813 GB, free: 63.54 MB / 0.5137 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 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.101348251919262] Failed to read output from testmodel.py, exit status != 0: 0.641085532028228 0.652273669 0.515712003 Calling exit ...