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.001483/0.001483, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.428/1.428, allocations: 177.1 MB / 199.4 MB, free: 8.453 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.001845/0.001845, allocations: 163 kB / 256 MB, free: 4.324 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.5838/0.5838, allocations: 80.25 MB / 392.6 MB, free: 29.72 MB / 334.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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 1.125 kB / 0.5552 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.892e-05, allocations: 5.516 kB / 0.5552 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006046/0.006075, allocations: 5.364 MB / 0.5605 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.01018, allocations: 1.814 MB / 0.5623 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.01067, allocations: 14.44 kB / 0.5623 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.01127, allocations: 206.3 kB / 0.5625 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.01285, allocations: 0.7616 MB / 0.5632 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.01403, allocations: 0.5616 MB / 0.5638 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.01521, allocations: 1.419 MB / 0.5651 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.0155, allocations: 190 kB / 0.5653 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008119/0.01632, allocations: 0.7796 MB / 0.5661 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.01692, allocations: 0.5153 MB / 0.5666 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.01708, allocations: 97.38 kB / 0.5667 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.01755, allocations: 240.9 kB / 0.5669 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.01775, allocations: 270.8 kB / 0.5672 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.0181, allocations: 384 kB / 0.5675 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.01936, allocations: 1.446 MB / 0.5689 GB, free: 5.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01936, allocations: 0 / 0.5689 GB, free: 5.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01936, allocations: 0 / 0.5689 GB, free: 5.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.01938, allocations: 0 / 0.5689 GB, free: 5.043 MB / 430.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.00688/0.02626, allocations: 2.316 MB / 0.5712 GB, free: 3.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.02629, allocations: 10.12 kB / 0.5712 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.02976, allocations: 0.5629 MB / 0.5718 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.03093, allocations: 0.7214 MB / 0.5725 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.03115, allocations: 286.4 kB / 0.5727 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.03127, allocations: 62.47 kB / 0.5728 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.03289, allocations: 0.8338 MB / 0.5736 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.03291, allocations: 3.938 kB / 0.5736 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.03299, allocations: 24.72 kB / 0.5736 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.03301, allocations: 19 kB / 0.5737 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.03478, allocations: 0.8477 MB / 0.5745 GB, free: 1.535 MB / 430.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.004624/0.03941, allocations: 2.277 MB / 0.5767 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006495/0.0459, allocations: 1.272 MB / 0.578 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.04711, allocations: 0.5048 MB / 0.5785 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.689e-05/0.0472, allocations: 8.656 kB / 0.5785 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/0.04869, allocations: 0.6172 MB / 0.5791 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=74): time 3.236e-06/0.0487, allocations: 0 / 0.5791 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.02045/0.06915, allocations: 4.541 MB / 0.5835 GB, free: 9.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.06922, allocations: 56.06 kB / 0.5836 GB, free: 9.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.07101, allocations: 0.9409 MB / 0.5845 GB, free: 8.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.07121, allocations: 41.7 kB / 0.5845 GB, free: 8.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.07162, allocations: 476.8 kB / 0.585 GB, free: 7.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.07195, allocations: 277.6 kB / 0.5852 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.07231, allocations: 170.6 kB / 0.5854 GB, free: 7.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.07247, allocations: 341.9 kB / 0.5857 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.07375, allocations: 0.5446 MB / 0.5863 GB, free: 6.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.07515, allocations: 0.6633 MB / 0.5869 GB, free: 5.645 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/0.094, allocations: 4.14 MB / 0.5909 GB, free: 1.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.09401, allocations: 0 / 0.5909 GB, free: 1.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009519/0.1035, allocations: 2.804 MB / 0.5937 GB, free: 14.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1036, allocations: 10.17 kB / 0.5937 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.1036, allocations: 4 kB / 0.5937 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005283/0.1089, allocations: 1.263 MB / 0.5949 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.11, allocations: 183.8 kB / 0.5951 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.1256, allocations: 5.426 MB / 0.6004 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.1279, allocations: 151.3 kB / 0.6005 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.1282, allocations: 35.98 kB / 0.6006 GB, free: 7.469 MB / 462.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 (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.0009466/0.1291, allocations: 229.6 kB / 0.6008 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/0.1296, allocations: 111.2 kB / 0.6009 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.1406, allocations: 2.645 MB / 0.6035 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.1406, allocations: 4 kB / 0.6035 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1406, allocations: 4 kB / 0.6035 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.1406, allocations: 3.984 kB / 0.6035 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.1531, allocations: 3.454 MB / 0.6069 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.1532, allocations: 0 / 0.6069 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.1538, allocations: 91.89 kB / 0.607 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/0.1593, allocations: 1.318 MB / 0.6082 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.1595, allocations: 20 kB / 0.6083 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.1745, allocations: 5.742 MB / 0.6139 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1745, allocations: 0 / 0.6139 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.186, allocations: 3.354 MB / 0.6171 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.1864, allocations: 123.4 kB / 0.6173 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.1868, allocations: 12 kB / 0.6173 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.1881, allocations: 91.89 kB / 0.6174 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/0.1887, allocations: 164.4 kB / 0.6175 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.1888, allocations: 16 kB / 0.6175 GB, free: 5.891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.1901, allocations: 0.6427 MB / 0.6182 GB, free: 5.238 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1901, allocations: 3.938 kB / 0.6182 GB, free: 5.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00155/0.1917, allocations: 363.6 kB / 0.6185 GB, free: 4.879 MB / 478.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.0003739/0.1921, allocations: 134.1 kB / 0.6186 GB, free: 4.742 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005486/0.1975, allocations: 1.685 MB / 0.6203 GB, free: 3.043 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1975, allocations: 0 / 0.6203 GB, free: 3.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003848/0.2014, allocations: 1.089 MB / 0.6214 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.2026, allocations: 100.1 kB / 0.6214 GB, free: 1.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.2066, allocations: 1.756 MB / 0.6232 GB, free: 56 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.2072, allocations: 460.4 kB / 0.6236 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.2077, allocations: 98.45 kB / 0.6237 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.2079, allocations: 64.42 kB / 0.6238 GB, free: 15.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.743e-06/0.2079, allocations: 0 / 0.6238 GB, free: 15.41 MB / 494.1 MB Notification: Performance of Templates: time 0.03523/0.2432, allocations: 19.28 MB / 0.6426 GB, free: 12.16 MB / 0.4981 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: 6.1505258940160275] Failed to read output from testmodel.py, exit status != 0: 0.2521711438894272 0.268779845 0.24620691700000003 Calling exit ...