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.0008727/0.0008727, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.8771/0.8771, allocations: 177.2 MB / 200 MB, free: 5.527 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.001583/0.001583, allocations: 164.6 kB / 256.6 MB, free: 12.98 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.3377/0.3377, allocations: 80.24 MB / 393.4 MB, free: 2.172 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.282e-06/1.282e-06, allocations: 0 / 489.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.103e-05, allocations: 6.875 kB / 489.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00461/0.004631, allocations: 5.769 MB / 495.5 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.007387, allocations: 1.85 MB / 497.4 MB, free: 3.996 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.007803, allocations: 16.66 kB / 497.4 MB, free: 3.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.00835, allocations: 210.1 kB / 497.6 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.009626, allocations: 0.7764 MB / 498.4 MB, free: 3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.01047, allocations: 0.5541 MB / 498.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.01164, allocations: 1.417 MB / 0.4886 GB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.01194, allocations: 185.5 kB / 0.4888 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.01286, allocations: 0.7948 MB / 0.4896 GB, free: 48 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005884/0.01345, allocations: 0.5179 MB / 0.4901 GB, free: 15.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.01359, allocations: 100.5 kB / 0.4902 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.014, allocations: 235.8 kB / 0.4904 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01417, allocations: 267.5 kB / 0.4907 GB, free: 14.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.01444, allocations: 398.6 kB / 0.491 GB, free: 14.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.01549, allocations: 1.035 MB / 0.492 GB, free: 13.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01549, allocations: 5.031 kB / 0.4921 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0155, allocations: 0 / 0.4921 GB, free: 13.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.01551, allocations: 0 / 0.4921 GB, free: 13.5 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.003887/0.0194, allocations: 2.434 MB / 0.4944 GB, free: 11.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01944, allocations: 10.38 kB / 0.4944 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.02134, allocations: 0.6585 MB / 0.4951 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.0222, allocations: 0.7135 MB / 0.4958 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.02238, allocations: 287.8 kB / 0.4961 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.02248, allocations: 69.53 kB / 0.4961 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.02325, allocations: 0.5256 MB / 0.4966 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.02326, allocations: 3.938 kB / 0.4966 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.02332, allocations: 24.84 kB / 0.4967 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.02333, allocations: 16 kB / 0.4967 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.02397, allocations: 396.3 kB / 0.4971 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.02686, allocations: 2.143 MB / 0.4991 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.02932, allocations: 0.8643 MB / 0.5 GB, free: 5.223 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.0297, allocations: 238 kB / 0.5002 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/0.02977, allocations: 12.66 kB / 0.5002 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.03025, allocations: 357.9 kB / 0.5006 GB, free: 4.605 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.517e-06/0.03026, allocations: 0 / 0.5006 GB, free: 4.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.00767/0.03793, allocations: 3.211 MB / 0.5037 GB, free: 1.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.03796, allocations: 60.06 kB / 0.5038 GB, free: 1.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.03874, allocations: 0.8694 MB / 0.5046 GB, free: 420 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.03882, allocations: 37.7 kB / 0.5047 GB, free: 376 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.03911, allocations: 0.523 MB / 0.5052 GB, free: 15.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.03933, allocations: 277.6 kB / 0.5054 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.03956, allocations: 188.2 kB / 0.5056 GB, free: 15.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.03969, allocations: 0.5082 MB / 0.5061 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.04009, allocations: 261.8 kB / 0.5064 GB, free: 14.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.04054, allocations: 411.6 kB / 0.5067 GB, free: 14.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.04176, allocations: 0.9901 MB / 0.5077 GB, free: 13.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.04176, allocations: 0 / 0.5077 GB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003531/0.04529, allocations: 1.932 MB / 0.5096 GB, free: 11.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.04531, allocations: 4 kB / 0.5096 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.04532, allocations: 4 kB / 0.5096 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/0.04854, allocations: 1.211 MB / 0.5108 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.04904, allocations: 187.7 kB / 0.511 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004589/0.05363, allocations: 3.471 MB / 0.5144 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.05426, allocations: 123.3 kB / 0.5145 GB, free: 6.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.05432, allocations: 35.98 kB / 0.5145 GB, free: 6.02 MB / 442.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.0002659/0.05458, allocations: 211.3 kB / 0.5147 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.05472, allocations: 135.2 kB / 0.5148 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.05793, allocations: 1.757 MB / 0.5166 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.05793, allocations: 8 kB / 0.5166 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.05794, allocations: 0 / 0.5166 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.05794, allocations: 3.984 kB / 0.5166 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.06192, allocations: 2.562 MB / 0.5191 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.06192, allocations: 0 / 0.5191 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.06217, allocations: 87.89 kB / 0.5192 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003398/0.06557, allocations: 1.363 MB / 0.5205 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.06563, allocations: 19.98 kB / 0.5205 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/0.07028, allocations: 4.001 MB / 0.5244 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.07029, allocations: 0 / 0.5244 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.07389, allocations: 2.083 MB / 0.5264 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.07403, allocations: 119.1 kB / 0.5266 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.07412, allocations: 23.98 kB / 0.5266 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.07448, allocations: 59.94 kB / 0.5266 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.07476, allocations: 156.3 kB / 0.5268 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.0748, allocations: 27.98 kB / 0.5268 GB, free: 9.176 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004429/0.07525, allocations: 0.5488 MB / 0.5274 GB, free: 8.617 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07525, allocations: 0 / 0.5274 GB, free: 8.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007616/0.07601, allocations: 355.7 kB / 0.5277 GB, free: 8.27 MB / 458.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.0002455/0.07625, allocations: 135.1 kB / 0.5278 GB, free: 8.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.0782, allocations: 1.22 MB / 0.529 GB, free: 6.879 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.07821, allocations: 0 / 0.529 GB, free: 6.879 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.0795, allocations: 0.8804 MB / 0.5299 GB, free: 5.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.07994, allocations: 107.1 kB / 0.53 GB, free: 5.867 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.08218, allocations: 1.665 MB / 0.5316 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.08231, allocations: 201.1 kB / 0.5318 GB, free: 3.949 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.08249, allocations: 98.42 kB / 0.5319 GB, free: 3.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.08264, allocations: 68.48 kB / 0.5319 GB, free: 3.781 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/0.08264, allocations: 0 / 0.5319 GB, free: 3.781 MB / 458.7 MB Notification: Performance of Templates: time 0.02097/0.1036, allocations: 20.8 MB / 0.5523 GB, free: 15.04 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: 3.7120981039479375]