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.0009398/0.0009398, allocations: 92.22 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.8961/0.8961, allocations: 177.1 MB / 200 MB, free: 5.551 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.001906/0.001906, allocations: 159.8 kB / 256.6 MB, free: 13.02 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.2933/0.2933, allocations: 80.24 MB / 393.4 MB, free: 3.215 MB / 362.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.012e-06/1.012e-06, allocations: 0 / 489.7 MB, free: 63.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.961e-05, allocations: 6.812 kB / 489.8 MB, free: 63.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.003709/0.003728, allocations: 5.775 MB / 495.5 MB, free: 57.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.005964, allocations: 1.862 MB / 497.4 MB, free: 55.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.006253, allocations: 15.94 kB / 497.4 MB, free: 55.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.006701, allocations: 213.1 kB / 497.6 MB, free: 55.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009971/0.007698, allocations: 0.7636 MB / 498.4 MB, free: 54.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.008376, allocations: 0.5503 MB / 498.9 MB, free: 54.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007444/0.009121, allocations: 1.413 MB / 0.4886 GB, free: 52.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.009359, allocations: 191.7 kB / 0.4888 GB, free: 52.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.009984, allocations: 0.7847 MB / 0.4896 GB, free: 51.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.01042, allocations: 0.514 MB / 0.4901 GB, free: 51.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.01053, allocations: 96 kB / 0.4902 GB, free: 50.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.01086, allocations: 243.8 kB / 0.4904 GB, free: 50.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.01101, allocations: 272.7 kB / 0.4906 GB, free: 50.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.01122, allocations: 382.7 kB / 0.491 GB, free: 50.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.01198, allocations: 1.039 MB / 0.492 GB, free: 49.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.01198, allocations: 0 / 0.492 GB, free: 49.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01198, allocations: 0 / 0.492 GB, free: 49.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.068e-06/0.01199, allocations: 4.688 kB / 0.492 GB, free: 49.07 MB / 410.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.003246/0.01524, allocations: 2.426 MB / 0.4944 GB, free: 46.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01528, allocations: 8.031 kB / 0.4944 GB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.01697, allocations: 0.6689 MB / 0.4951 GB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.01765, allocations: 0.7115 MB / 0.4958 GB, free: 45.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.01778, allocations: 290.9 kB / 0.496 GB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.01787, allocations: 60 kB / 0.4961 GB, free: 44.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.01851, allocations: 0.5256 MB / 0.4966 GB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01852, allocations: 0 / 0.4966 GB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.01857, allocations: 26.09 kB / 0.4966 GB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.01859, allocations: 16 kB / 0.4966 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.01916, allocations: 395.5 kB / 0.497 GB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.02161, allocations: 2.121 MB / 0.4991 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.02392, allocations: 0.8689 MB / 0.4999 GB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.02422, allocations: 234 kB / 0.5002 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.02429, allocations: 17.25 kB / 0.5002 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004033/0.0247, allocations: 354.8 kB / 0.5005 GB, free: 40.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 1.974e-06/0.0247, allocations: 0 / 0.5005 GB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.006837/0.03154, allocations: 3.198 MB / 0.5036 GB, free: 37.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.03156, allocations: 64 kB / 0.5037 GB, free: 36.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.03212, allocations: 0.8693 MB / 0.5046 GB, free: 36.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.03216, allocations: 41.7 kB / 0.5046 GB, free: 36.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.03235, allocations: 0.5113 MB / 0.5051 GB, free: 35.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.03247, allocations: 285.6 kB / 0.5054 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.03267, allocations: 188.2 kB / 0.5055 GB, free: 35.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.03272, allocations: 0.516 MB / 0.506 GB, free: 34.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.03306, allocations: 253.9 kB / 0.5063 GB, free: 34.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.03345, allocations: 407.7 kB / 0.5067 GB, free: 33.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.03449, allocations: 0.9862 MB / 0.5076 GB, free: 32.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.03449, allocations: 0 / 0.5076 GB, free: 32.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003094/0.03758, allocations: 1.936 MB / 0.5095 GB, free: 30.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.0376, allocations: 8 kB / 0.5095 GB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.03761, allocations: 0 / 0.5095 GB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.04056, allocations: 1.204 MB / 0.5107 GB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.04099, allocations: 183.8 kB / 0.5109 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.04505, allocations: 3.478 MB / 0.5143 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/0.04585, allocations: 127.3 kB / 0.5144 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/0.04593, allocations: 35.98 kB / 0.5144 GB, free: 25.7 MB / 410.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.0002652/0.0462, allocations: 206.8 kB / 0.5146 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.04637, allocations: 139.2 kB / 0.5148 GB, free: 25.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.04951, allocations: 1.749 MB / 0.5165 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.04951, allocations: 8 kB / 0.5165 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.04952, allocations: 0 / 0.5165 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.04952, allocations: 3.984 kB / 0.5165 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/0.05322, allocations: 2.547 MB / 0.519 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.05322, allocations: 0 / 0.519 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.05346, allocations: 87.89 kB / 0.5191 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/0.05673, allocations: 1.358 MB / 0.5204 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.05678, allocations: 12 kB / 0.5204 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004157/0.06094, allocations: 3.986 MB / 0.5243 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.06094, allocations: 7.984 kB / 0.5243 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.06429, allocations: 2.079 MB / 0.5263 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.0644, allocations: 123 kB / 0.5264 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.06448, allocations: 12 kB / 0.5265 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.06484, allocations: 63.94 kB / 0.5265 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.06508, allocations: 156.3 kB / 0.5267 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.06511, allocations: 23.98 kB / 0.5267 GB, free: 12.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003775/0.06549, allocations: 0.5527 MB / 0.5272 GB, free: 12.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06549, allocations: 0 / 0.5272 GB, free: 12.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006914/0.06618, allocations: 355.7 kB / 0.5276 GB, free: 12 MB / 410.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.0002052/0.06639, allocations: 127.1 kB / 0.5277 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.06813, allocations: 1.22 MB / 0.5289 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.06813, allocations: 0 / 0.5289 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.06933, allocations: 0.8768 MB / 0.5297 GB, free: 9.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.06976, allocations: 107.2 kB / 0.5298 GB, free: 9.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.07178, allocations: 1.665 MB / 0.5315 GB, free: 7.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.07187, allocations: 201.3 kB / 0.5317 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.07204, allocations: 94.69 kB / 0.5317 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.07218, allocations: 64.48 kB / 0.5318 GB, free: 7.531 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.07218, allocations: 0 / 0.5318 GB, free: 7.531 MB / 410.7 MB Notification: Performance of Templates: time 0.01954/0.09172, allocations: 20.09 MB / 0.5514 GB, free: 3.512 MB / 426.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.8687440347857773]