Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 113.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 242.7 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 183.8 kB / 295.1 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4946/0.4946, allocations: 98.19 MB / 445.4 MB, free: 10.97 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 91.8 kB / 0.591 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1418, allocations: 72.77 MB / 0.662 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007098/0.1489, allocations: 6.027 MB / 0.6679 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.1529, allocations: 1.841 MB / 0.6697 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.1534, allocations: 11.94 kB / 0.6697 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.1541, allocations: 214.2 kB / 0.6699 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.1557, allocations: 0.6988 MB / 0.6706 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1569, allocations: 0.5512 MB / 0.6711 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1583, allocations: 1.413 MB / 0.6725 GB, free: 480 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.1588, allocations: 287.2 kB / 0.6728 GB, free: 180 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.1595, allocations: 0.5563 MB / 0.6733 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.1603, allocations: 0.6571 MB / 0.674 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.1605, allocations: 100 kB / 0.6741 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.1609, allocations: 227.9 kB / 0.6743 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.1612, allocations: 266.8 kB / 0.6745 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.1617, allocations: 0.5631 MB / 0.6751 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1632, allocations: 1.404 MB / 0.6765 GB, free: 12.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1633, allocations: 0 / 0.6765 GB, free: 12.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1633, allocations: 4 kB / 0.6765 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.1633, allocations: 0 / 0.6765 GB, free: 12.39 MB / 494.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.006878/0.1702, allocations: 2.274 MB / 0.6787 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.1702, allocations: 12.03 kB / 0.6787 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.1736, allocations: 0.5655 MB / 0.6793 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.175, allocations: 0.7962 MB / 0.68 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.1753, allocations: 209.8 kB / 0.6802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.1754, allocations: 68 kB / 0.6803 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1772, allocations: 0.8341 MB / 0.6811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1772, allocations: 0 / 0.6811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.1773, allocations: 20 kB / 0.6811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1774, allocations: 19.94 kB / 0.6811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.1792, allocations: 0.8561 MB / 0.682 GB, free: 6.598 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.005378/0.1846, allocations: 3.039 MB / 0.685 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006363/0.191, allocations: 1.71 MB / 0.6866 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.1922, allocations: 0.5468 MB / 0.6872 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.383e-05/0.1923, allocations: 8.656 kB / 0.6872 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.1936, allocations: 0.621 MB / 0.6878 GB, free: 432 kB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 3.146e-06/0.1936, allocations: 0 / 0.6878 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.2609/0.4546, allocations: 4.707 MB / 0.6924 GB, free: 25.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.4546, allocations: 61.44 kB / 0.6924 GB, free: 25.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4559, allocations: 0.9606 MB / 0.6934 GB, free: 25.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.456, allocations: 44.86 kB / 0.6934 GB, free: 25.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.4563, allocations: 480.1 kB / 0.6939 GB, free: 25.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.4565, allocations: 277.4 kB / 0.6941 GB, free: 25.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.4568, allocations: 178.5 kB / 0.6943 GB, free: 25.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.4569, allocations: 344.9 kB / 0.6946 GB, free: 24.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.458, allocations: 0.5548 MB / 0.6952 GB, free: 24.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.4592, allocations: 0.6697 MB / 0.6958 GB, free: 24.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01635/0.4756, allocations: 4.041 MB / 0.6998 GB, free: 24.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.4756, allocations: 1 kB / 0.6998 GB, free: 24.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008711/0.4843, allocations: 2.841 MB / 0.7025 GB, free: 24.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4844, allocations: 6.703 kB / 0.7026 GB, free: 24.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4844, allocations: 2.125 kB / 0.7026 GB, free: 24.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004817/0.4892, allocations: 1.266 MB / 0.7038 GB, free: 24.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.4902, allocations: 188.4 kB / 0.704 GB, free: 24.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.5012, allocations: 5.688 MB / 0.7095 GB, free: 22.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.5025, allocations: 157.7 kB / 0.7097 GB, free: 22.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.5026, allocations: 37.38 kB / 0.7097 GB, free: 22.64 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.0003583/0.503, allocations: 236.8 kB / 0.7099 GB, free: 22.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.5031, allocations: 117 kB / 0.71 GB, free: 22.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007938/0.5111, allocations: 2.658 MB / 0.7126 GB, free: 21.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.5111, allocations: 7.5 kB / 0.7127 GB, free: 21.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5111, allocations: 4.812 kB / 0.7127 GB, free: 21.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5111, allocations: 3.984 kB / 0.7127 GB, free: 21.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009134/0.5203, allocations: 4.017 MB / 0.7166 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5203, allocations: 5.219 kB / 0.7166 GB, free: 18.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.5208, allocations: 95.25 kB / 0.7167 GB, free: 18.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004589/0.5254, allocations: 1.321 MB / 0.718 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.5255, allocations: 19.59 kB / 0.718 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.5368, allocations: 6.017 MB / 0.7239 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5369, allocations: 9.312 kB / 0.7239 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008838/0.5457, allocations: 3.383 MB / 0.7272 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.546, allocations: 204.7 kB / 0.7274 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5462, allocations: 11.69 kB / 0.7274 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/0.5471, allocations: 92.23 kB / 0.7275 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.5475, allocations: 150.8 kB / 0.7276 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.5475, allocations: 17.59 kB / 0.7276 GB, free: 11.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007595/0.5483, allocations: 0.6692 MB / 0.7283 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5483, allocations: 0 / 0.7283 GB, free: 11.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009069/0.5492, allocations: 350.7 kB / 0.7286 GB, free: 11.54 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.0001899/0.5494, allocations: 122.6 kB / 0.7287 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004141/0.5536, allocations: 1.875 MB / 0.7306 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5536, allocations: 0 / 0.7306 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.5564, allocations: 1.213 MB / 0.7318 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.5571, allocations: 96.34 kB / 0.7318 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.5595, allocations: 1.864 MB / 0.7337 GB, free: 6.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.5598, allocations: 1.042 MB / 0.7347 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.5601, allocations: 71.42 kB / 0.7347 GB, free: 5.527 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5601, allocations: 0 / 0.7347 GB, free: 5.527 MB / 494.1 MB Notification: Performance of Templates: time 0.02362/0.5837, allocations: 21.89 MB / 0.7561 GB, free: 15.64 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.708175483159721] Failed to read output from testmodel.py, exit status != 0: 0.5909313608426601 0.602993205 0.43734230300000004 Calling exit ...