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.05781/0.05781, allocations: 9.514 MB / 29.37 MB, free: 5.852 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.0009987/0.0009987, allocations: 99.34 kB / 35.56 MB, free: 416 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.9028/0.9028, allocations: 158.6 MB / 197.4 MB, free: 6.895 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.001273/0.001273, allocations: 168.5 kB / 249.9 MB, free: 5.414 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.2328/0.2328, allocations: 59.69 MB / 312.9 MB, free: 6.309 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.573e-06/1.573e-06, allocations: 0 / 351 MB, free: 160 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.253e-05, allocations: 6.25 kB / 351 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.1414/0.1414, allocations: 5.742 MB / 356.7 MB, free: 20.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.1447, allocations: 1.845 MB / 358.6 MB, free: 19.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.1453, allocations: 18.59 kB / 358.6 MB, free: 19.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.1458, allocations: 215.2 kB / 358.8 MB, free: 19.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.1472, allocations: 0.7571 MB / 359.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.1481, allocations: 0.5644 MB / 360.1 MB, free: 18.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1493, allocations: 1.413 MB / 361.5 MB, free: 17.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1496, allocations: 197.3 kB / 361.7 MB, free: 17.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.1505, allocations: 0.7861 MB / 362.5 MB, free: 16.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.1511, allocations: 0.5165 MB / 363 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.1512, allocations: 100.4 kB / 363.1 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1517, allocations: 238.7 kB / 363.4 MB, free: 16.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1518, allocations: 267.9 kB / 363.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.1521, allocations: 385.5 kB / 364 MB, free: 16.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.1531, allocations: 1.03 MB / 365 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1531, allocations: 1.25 kB / 365 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1531, allocations: 0.5312 kB / 365 MB, free: 15.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.118e-05/0.1531, allocations: 0.5625 kB / 365 MB, free: 15.29 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.003564/0.1567, allocations: 2.162 MB / 367.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1567, allocations: 7.125 kB / 367.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.1587, allocations: 0.679 MB / 367.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.1594, allocations: 0.5461 MB / 368.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1595, allocations: 287.8 kB / 368.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.1596, allocations: 63.94 kB / 368.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.1601, allocations: 494.7 kB / 369.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1601, allocations: 3.797 kB / 369.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.1602, allocations: 28.73 kB / 369.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1602, allocations: 16 kB / 369.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.1606, allocations: 252.2 kB / 369.5 MB, free: 11.62 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.002143/0.1627, allocations: 1.399 MB / 370.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.1647, allocations: 0.8191 MB / 371.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.1649, allocations: 168.9 kB / 371.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.1649, allocations: 18.02 kB / 371.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.1652, allocations: 323.7 kB / 372.3 MB, free: 8.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 2.084e-06/0.1652, allocations: 1.562 kB / 372.3 MB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.006109/0.1713, allocations: 2.884 MB / 375.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.1714, allocations: 60.06 kB / 375.2 MB, free: 5.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.1719, allocations: 0.7667 MB / 376 MB, free: 5.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.1719, allocations: 41.7 kB / 376 MB, free: 5.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.172, allocations: 346.6 kB / 376.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1721, allocations: 281.5 kB / 376.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1723, allocations: 178.5 kB / 376.8 MB, free: 4.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.865e-05/0.1724, allocations: 345.9 kB / 377.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.1727, allocations: 216.8 kB / 377.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.173, allocations: 327.4 kB / 377.7 MB, free: 3.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009729/0.174, allocations: 0.9018 MB / 378.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.174, allocations: 1.875 kB / 378.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002708/0.1767, allocations: 1.655 MB / 380.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1767, allocations: 4 kB / 380.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1767, allocations: 4 kB / 380.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.1795, allocations: 1.153 MB / 381.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.1801, allocations: 219.7 kB / 381.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.1837, allocations: 2.653 MB / 384.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.1845, allocations: 123.3 kB / 384.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.1845, allocations: 27.98 kB / 384.4 MB, free: 12.55 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.0002801/0.1848, allocations: 163.9 kB / 384.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1849, allocations: 83.91 kB / 384.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.1877, allocations: 1.539 MB / 386.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1877, allocations: 8 kB / 386.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1877, allocations: 0 / 386.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1877, allocations: 12.55 kB / 386.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.1912, allocations: 2.056 MB / 388.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1913, allocations: 0 / 388.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.1916, allocations: 104.5 kB / 388.4 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/0.1948, allocations: 1.316 MB / 389.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.1948, allocations: 15.98 kB / 389.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.199, allocations: 2.985 MB / 392.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.199, allocations: 4 kB / 392.7 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.2023, allocations: 1.786 MB / 394.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.2026, allocations: 103.1 kB / 394.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2027, allocations: 16 kB / 394.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2031, allocations: 59.94 kB / 394.6 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.2034, allocations: 152.4 kB / 394.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.2035, allocations: 20.67 kB / 394.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003648/0.2038, allocations: 388.7 kB / 395.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2038, allocations: 0 / 395.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008374/0.2047, allocations: 351.7 kB / 395.5 MB, free: 1.23 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.0002236/0.2049, allocations: 120.2 kB / 395.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.2069, allocations: 1.03 MB / 396.7 MB, free: 60 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/0.2069, allocations: 12 kB / 396.7 MB, free: 48 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.2084, allocations: 0.7308 MB / 397.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2089, allocations: 104.7 kB / 397.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2114, allocations: 1.67 MB / 399.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.2116, allocations: 201.3 kB / 399.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.2118, allocations: 88.91 kB / 399.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.2121, allocations: 159.3 kB / 399.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2121, allocations: 3.938 kB / 399.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Templates: time 0.02467/0.2367, allocations: 20.06 MB / 419.7 MB, free: 9.098 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.76450569415465]