Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05233/0.05233, allocations: 9.509 MB / 29.37 MB, free: 5.859 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001095/0.001095, allocations: 103.3 kB / 35.55 MB, free: 424 kB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9073/0.9073, allocations: 158.6 MB / 197.4 MB, free: 6.914 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.001223/0.001223, allocations: 172 kB / 249.9 MB, free: 5.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2359/0.2359, allocations: 59.69 MB / 312.9 MB, free: 6.324 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 350.9 MB, free: 228 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.156e-05, allocations: 6.25 kB / 350.9 MB, free: 220 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.152/0.1521, allocations: 5.705 MB / 356.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.1559, allocations: 1.846 MB / 358.5 MB, free: 19.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006158/0.1566, allocations: 14.59 kB / 358.5 MB, free: 19.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.1572, allocations: 218.8 kB / 358.7 MB, free: 19.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.159, allocations: 0.773 MB / 359.5 MB, free: 18.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1601, allocations: 0.5533 MB / 360 MB, free: 18.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.1617, allocations: 1.415 MB / 361.4 MB, free: 17.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.1621, allocations: 202.9 kB / 361.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1633, allocations: 0.7794 MB / 362.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.1641, allocations: 0.5215 MB / 362.9 MB, free: 16.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.1643, allocations: 100.4 kB / 363 MB, free: 16.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.1648, allocations: 223.2 kB / 363.3 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.165, allocations: 277.9 kB / 363.5 MB, free: 16.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003947/0.1654, allocations: 381.5 kB / 363.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1667, allocations: 1.034 MB / 364.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1667, allocations: 1.469 kB / 364.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1667, allocations: 0 / 364.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.057e-05/0.1667, allocations: 0 / 364.9 MB, free: 15.52 MB / 330.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.003988/0.1707, allocations: 2.156 MB / 367.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1708, allocations: 10.38 kB / 367.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.1726, allocations: 0.6742 MB / 367.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.1733, allocations: 0.5564 MB / 368.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1735, allocations: 280.5 kB / 368.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.1736, allocations: 71.98 kB / 368.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.1741, allocations: 489.8 kB / 369.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1741, allocations: 0 / 369.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.1741, allocations: 25.75 kB / 369.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1741, allocations: 16 kB / 369.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.1745, allocations: 250.2 kB / 369.4 MB, free: 11.85 MB / 330.7 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.002274/0.1768, allocations: 1.405 MB / 370.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.1787, allocations: 0.8235 MB / 371.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1789, allocations: 164 kB / 371.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.179, allocations: 12.66 kB / 371.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.1793, allocations: 319.5 kB / 372.2 MB, free: 9.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 2.554e-06/0.1793, allocations: 0.9062 kB / 372.2 MB, free: 9.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.005953/0.1852, allocations: 2.898 MB / 375.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1853, allocations: 56.06 kB / 375.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.1858, allocations: 0.7628 MB / 375.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/0.1859, allocations: 45.69 kB / 375.9 MB, free: 5.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.186, allocations: 338.7 kB / 376.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1862, allocations: 281.5 kB / 376.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.1864, allocations: 178.5 kB / 376.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.1864, allocations: 349.9 kB / 377 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.1867, allocations: 212.8 kB / 377.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.187, allocations: 339.3 kB / 377.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/0.188, allocations: 0.8904 MB / 378.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.188, allocations: 4 kB / 378.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00282/0.1908, allocations: 1.663 MB / 380.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1909, allocations: 8 kB / 380.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.1909, allocations: 0 / 380.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/0.1938, allocations: 1.141 MB / 381.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.1944, allocations: 175.7 kB / 381.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.199, allocations: 2.647 MB / 384.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.2, allocations: 127.3 kB / 384.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.2, allocations: 27.98 kB / 384.3 MB, free: 12.82 MB / 346.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.0003586/0.2004, allocations: 164.2 kB / 384.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.2006, allocations: 87.91 kB / 384.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.2034, allocations: 1.54 MB / 386 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.2035, allocations: 8 kB / 386.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2035, allocations: 0 / 386.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2035, allocations: 7.922 kB / 386.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.207, allocations: 2.053 MB / 388.1 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.207, allocations: 8 kB / 388.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.2072, allocations: 83.89 kB / 388.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/0.2105, allocations: 1.322 MB / 389.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.2106, allocations: 16.62 kB / 389.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.2147, allocations: 2.97 MB / 392.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2147, allocations: 0 / 392.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.2178, allocations: 1.783 MB / 394.3 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.218, allocations: 107 kB / 394.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.2181, allocations: 16 kB / 394.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.2184, allocations: 63.94 kB / 394.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.2187, allocations: 149.3 kB / 394.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2187, allocations: 16 kB / 394.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000318/0.2191, allocations: 392.1 kB / 395 MB, free: 1.879 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2191, allocations: 0 / 395 MB, free: 1.879 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008796/0.2199, allocations: 351.7 kB / 395.4 MB, free: 1.535 MB / 346.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.0002431/0.2202, allocations: 116.2 kB / 395.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.222, allocations: 1.04 MB / 396.5 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.222, allocations: 12 kB / 396.5 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.2235, allocations: 0.7303 MB / 397.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.224, allocations: 103.8 kB / 397.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.2268, allocations: 1.67 MB / 399 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.227, allocations: 205.3 kB / 399.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.2272, allocations: 93.25 kB / 399.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.2274, allocations: 147.4 kB / 399.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2274, allocations: 4 kB / 399.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.02446/0.2519, allocations: 19.89 MB / 419.4 MB, free: 9.578 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.601337506901473]