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.0008026/0.0008026, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.8592/0.8592, allocations: 177.1 MB / 200.2 MB, free: 5.949 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.001065/0.001065, allocations: 160.6 kB / 256.7 MB, free: 13.35 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.2546/0.2546, allocations: 80.25 MB / 393.4 MB, free: 2.449 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.603e-06/1.603e-06, allocations: 0 / 0.556 GB, free: 12.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.156e-05, allocations: 5.094 kB / 0.556 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004337/0.004359, allocations: 5.364 MB / 0.5612 GB, free: 6.852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.006757, allocations: 1.802 MB / 0.563 GB, free: 5.047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.007023, allocations: 19.88 kB / 0.563 GB, free: 5.027 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.00749, allocations: 214.1 kB / 0.5632 GB, free: 4.816 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009783/0.008468, allocations: 0.7477 MB / 0.5639 GB, free: 4.066 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.009121, allocations: 0.5683 MB / 0.5645 GB, free: 3.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.009971, allocations: 1.417 MB / 0.5659 GB, free: 2.078 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.01022, allocations: 183.8 kB / 0.566 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.01084, allocations: 0.7831 MB / 0.5668 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.01129, allocations: 0.5062 MB / 0.5673 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.01139, allocations: 96 kB / 0.5674 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.01166, allocations: 255.7 kB / 0.5676 GB, free: 256 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.01184, allocations: 262.8 kB / 0.5679 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.01208, allocations: 378.8 kB / 0.5683 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01311, allocations: 1.448 MB / 0.5697 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01311, allocations: 0 / 0.5697 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.153e-06/0.01311, allocations: 0 / 0.5697 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.01312, allocations: 0 / 0.5697 GB, free: 14.17 MB / 0.4948 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.003725/0.01685, allocations: 2.313 MB / 0.5719 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.01688, allocations: 8.031 kB / 0.5719 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.01854, allocations: 0.5656 MB / 0.5725 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.01938, allocations: 0.7279 MB / 0.5732 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.01957, allocations: 290.9 kB / 0.5735 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.01966, allocations: 68 kB / 0.5735 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.0207, allocations: 0.8263 MB / 0.5743 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.02071, allocations: 4 kB / 0.5743 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.02077, allocations: 24 kB / 0.5744 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.02078, allocations: 16 kB / 0.5744 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.02188, allocations: 0.8444 MB / 0.5752 GB, free: 8.344 MB / 0.4948 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.003045/0.02493, allocations: 2.291 MB / 0.5774 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.02787, allocations: 1.263 MB / 0.5787 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.02853, allocations: 0.4969 MB / 0.5792 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.02859, allocations: 8.656 kB / 0.5792 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007768/0.02936, allocations: 0.6172 MB / 0.5798 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=74): time 2.023e-06/0.02937, allocations: 0 / 0.5798 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74): time 0.009275/0.03864, allocations: 4.537 MB / 0.5842 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.03868, allocations: 60.06 kB / 0.5843 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.0395, allocations: 0.937 MB / 0.5852 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.03955, allocations: 37.7 kB / 0.5852 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.03981, allocations: 488.7 kB / 0.5857 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.03998, allocations: 273.6 kB / 0.5859 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.04019, allocations: 170.6 kB / 0.5861 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.04028, allocations: 345.9 kB / 0.5864 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000726/0.041, allocations: 0.5446 MB / 0.587 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.04179, allocations: 0.6633 MB / 0.5876 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008676/0.05047, allocations: 4.132 MB / 0.5917 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.05047, allocations: 0 / 0.5917 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00466/0.05513, allocations: 2.804 MB / 0.5944 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.05515, allocations: 8 kB / 0.5944 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.05516, allocations: 4 kB / 0.5944 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.0576, allocations: 1.271 MB / 0.5956 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.05804, allocations: 183.8 kB / 0.5958 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2129/0.271, allocations: 5.424 MB / 0.6011 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.2718, allocations: 145.7 kB / 0.6013 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.2719, allocations: 37.73 kB / 0.6013 GB, free: 91.52 MB / 0.5105 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.000299/0.2721, allocations: 239 kB / 0.6015 GB, free: 91.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.2722, allocations: 111.9 kB / 0.6016 GB, free: 91.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/0.2764, allocations: 2.634 MB / 0.6042 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2764, allocations: 9.875 kB / 0.6042 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2764, allocations: 0 / 0.6042 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.2765, allocations: 10.73 kB / 0.6042 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.2814, allocations: 3.452 MB / 0.6076 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2814, allocations: 3.828 kB / 0.6076 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.2816, allocations: 88.67 kB / 0.6077 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.2841, allocations: 1.324 MB / 0.609 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.2842, allocations: 13.02 kB / 0.609 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007458/0.2916, allocations: 5.739 MB / 0.6146 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2916, allocations: 0 / 0.6146 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/0.2973, allocations: 3.358 MB / 0.6179 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2975, allocations: 129.7 kB / 0.618 GB, free: 85.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.2975, allocations: 11.27 kB / 0.618 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.298, allocations: 93.55 kB / 0.6181 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.2983, allocations: 164.2 kB / 0.6182 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.2984, allocations: 18.44 kB / 0.6183 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000631/0.299, allocations: 0.6374 MB / 0.6189 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.299, allocations: 1.094 kB / 0.6189 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008035/0.2998, allocations: 356 kB / 0.6192 GB, free: 85.03 MB / 0.5105 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.0002184/0.3, allocations: 132.2 kB / 0.6194 GB, free: 84.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.3028, allocations: 1.693 MB / 0.621 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3028, allocations: 0 / 0.621 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.3047, allocations: 1.095 MB / 0.6221 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3051, allocations: 95.42 kB / 0.6222 GB, free: 83.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.3074, allocations: 1.799 MB / 0.6239 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.3078, allocations: 463.5 kB / 0.6244 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.308, allocations: 73.47 kB / 0.6244 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/0.308, allocations: 0 / 0.6244 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.01583/0.3238, allocations: 22.38 MB / 0.6463 GB, free: 71.84 MB / 0.5105 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.7779396250844] Failed to read output from testmodel.py, exit status != 0: 0.33000221848487854 0.33568748299999995 0.32126542999999996 Calling exit ...