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.00255/0.00255, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.558/1.558, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 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.002126/0.002126, allocations: 164.5 kB / 256.3 MB, free: 13.16 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.5142/0.5142, allocations: 80.25 MB / 393 MB, free: 2.238 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.593e-06/1.593e-06, allocations: 0 / 489 MB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.104e-05, allocations: 6.141 kB / 489.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007986/0.008017, allocations: 5.729 MB / 494.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.01213, allocations: 1.831 MB / 496.6 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.01263, allocations: 19.88 kB / 496.6 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.0133, allocations: 211 kB / 496.8 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.01513, allocations: 0.7619 MB / 497.6 MB, free: 3.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.01638, allocations: 0.5549 MB / 498.2 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.01814, allocations: 1.413 MB / 499.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.01851, allocations: 191.7 kB / 499.8 MB, free: 1.254 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.01959, allocations: 0.7765 MB / 0.4888 GB, free: 488 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.02041, allocations: 0.514 MB / 0.4893 GB, free: 15.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.02058, allocations: 100 kB / 0.4894 GB, free: 15.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.02111, allocations: 244.6 kB / 0.4896 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.02143, allocations: 266.8 kB / 0.4899 GB, free: 15.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.02189, allocations: 383.4 kB / 0.4903 GB, free: 14.99 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.02377, allocations: 1.45 MB / 0.4917 GB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02377, allocations: 0 / 0.4917 GB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.02378, allocations: 0 / 0.4917 GB, free: 13.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.02379, allocations: 0 / 0.4917 GB, free: 13.54 MB / 426.7 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.007819/0.03161, allocations: 2.559 MB / 0.4942 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.03166, allocations: 8.031 kB / 0.4942 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003551/0.03521, allocations: 0.6601 MB / 0.4948 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.0366, allocations: 0.7366 MB / 0.4955 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/0.03692, allocations: 288 kB / 0.4958 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.03705, allocations: 64 kB / 0.4959 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.03878, allocations: 0.7935 MB / 0.4966 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.0388, allocations: 4.672 kB / 0.4967 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.03888, allocations: 24 kB / 0.4967 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.0389, allocations: 16.81 kB / 0.4967 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.04078, allocations: 0.7949 MB / 0.4975 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005459/0.04623, allocations: 2.498 MB / 0.4999 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005827/0.05206, allocations: 1.145 MB / 0.501 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.05317, allocations: 0.4901 MB / 0.5015 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.05327, allocations: 12.66 kB / 0.5015 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.05466, allocations: 0.5994 MB / 0.5021 GB, free: 2.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.595e-06/0.05467, allocations: 0 / 0.5021 GB, free: 2.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01826/0.07293, allocations: 4.101 MB / 0.5061 GB, free: 14.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.073, allocations: 60.06 kB / 0.5062 GB, free: 14.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.07476, allocations: 1.1 MB / 0.5072 GB, free: 13.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.07487, allocations: 37.7 kB / 0.5073 GB, free: 13.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/0.07547, allocations: 0.5659 MB / 0.5078 GB, free: 12.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.07583, allocations: 289.6 kB / 0.5081 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.07625, allocations: 208.2 kB / 0.5083 GB, free: 12.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000385/0.07664, allocations: 0.5355 MB / 0.5088 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.07786, allocations: 0.5173 MB / 0.5093 GB, free: 11.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.07926, allocations: 0.6754 MB / 0.51 GB, free: 10.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.08307, allocations: 1.783 MB / 0.5117 GB, free: 8.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.08308, allocations: 4 kB / 0.5117 GB, free: 8.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.008739/0.09181, allocations: 2.619 MB / 0.5143 GB, free: 6.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.09185, allocations: 8 kB / 0.5143 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.09186, allocations: 0 / 0.5143 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007747/0.0996, allocations: 1.496 MB / 0.5158 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.1006, allocations: 187.6 kB / 0.5159 GB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.1141, allocations: 5.777 MB / 0.5216 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.1154, allocations: 127.3 kB / 0.5217 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.1155, allocations: 39.98 kB / 0.5217 GB, free: 14.25 MB / 458.7 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 (101): * Single equations (assignments): 99 * 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.0004991/0.116, allocations: 272.3 kB / 0.522 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.1163, allocations: 135.2 kB / 0.5221 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00883/0.1251, allocations: 2.397 MB / 0.5245 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.1252, allocations: 8 kB / 0.5245 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1252, allocations: 0 / 0.5245 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1252, allocations: 7.984 kB / 0.5245 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.1356, allocations: 3.394 MB / 0.5278 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1356, allocations: 0 / 0.5278 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.1361, allocations: 83.89 kB / 0.5279 GB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008941/0.145, allocations: 1.659 MB / 0.5295 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.1452, allocations: 16 kB / 0.5295 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.1597, allocations: 6.172 MB / 0.5355 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1597, allocations: 0 / 0.5355 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.1701, allocations: 3.157 MB / 0.5386 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.1705, allocations: 119.1 kB / 0.5387 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.1708, allocations: 12 kB / 0.5387 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.1718, allocations: 63.94 kB / 0.5388 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.1723, allocations: 164.3 kB / 0.539 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.1724, allocations: 20 kB / 0.539 GB, free: 12.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.1736, allocations: 0.7011 MB / 0.5397 GB, free: 11.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1736, allocations: 0 / 0.5397 GB, free: 11.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001565/0.1752, allocations: 359.7 kB / 0.54 GB, free: 11.27 MB / 474.7 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.0003983/0.1756, allocations: 127.1 kB / 0.5401 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005212/0.1808, allocations: 1.747 MB / 0.5418 GB, free: 9.359 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1808, allocations: 0.5625 kB / 0.5418 GB, free: 9.359 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/0.1845, allocations: 1.142 MB / 0.543 GB, free: 8.191 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.1856, allocations: 100.2 kB / 0.5431 GB, free: 8.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.1899, allocations: 1.776 MB / 0.5448 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.1906, allocations: 460.4 kB / 0.5452 GB, free: 5.793 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.191, allocations: 98.67 kB / 0.5453 GB, free: 5.691 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.1913, allocations: 68.48 kB / 0.5454 GB, free: 5.625 MB / 474.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1913, allocations: 0 / 0.5454 GB, free: 5.625 MB / 474.7 MB Notification: Performance of Templates: time 0.0384/0.2297, allocations: 20.08 MB / 0.565 GB, free: 1.613 MB / 490.7 MB " [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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.016232682042755]