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.001461/0.001461, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.972/0.972, allocations: 177.2 MB / 200.5 MB, free: 5.559 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.001118/0.001118, allocations: 167.2 kB / 257 MB, free: 13.06 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.2777/0.2777, allocations: 80.24 MB / 393.7 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.353e-06/1.353e-06, allocations: 0 / 489.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.475e-05, allocations: 3.031 kB / 489.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004438/0.004453, allocations: 5.756 MB / 495.5 MB, free: 6.156 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.00658, allocations: 1.842 MB / 497.4 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.006834, allocations: 17.66 kB / 497.4 MB, free: 4.309 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.007292, allocations: 214 kB / 497.6 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.008273, allocations: 0.7619 MB / 498.4 MB, free: 3.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.00892, allocations: 0.5509 MB / 498.9 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008712/0.009791, allocations: 1.417 MB / 0.4886 GB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.01003, allocations: 179.8 kB / 0.4888 GB, free: 1.188 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.01064, allocations: 0.7909 MB / 0.4896 GB, free: 404 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.01109, allocations: 0.5106 MB / 0.4901 GB, free: 15.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.01119, allocations: 100.5 kB / 0.4902 GB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.01146, allocations: 241.6 kB / 0.4904 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.01163, allocations: 274.8 kB / 0.4906 GB, free: 15.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.01188, allocations: 378.7 kB / 0.491 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.01269, allocations: 1.035 MB / 0.492 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0127, allocations: 3.984 kB / 0.492 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.0127, allocations: 1.406 kB / 0.492 GB, free: 13.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.01271, allocations: 0 / 0.492 GB, free: 13.87 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.003755/0.01646, allocations: 2.43 MB / 0.4944 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.01649, allocations: 12.03 kB / 0.4944 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.01856, allocations: 0.6569 MB / 0.495 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.01936, allocations: 0.7212 MB / 0.4958 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.01953, allocations: 283.6 kB / 0.496 GB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.01962, allocations: 65.59 kB / 0.4961 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.02035, allocations: 0.5295 MB / 0.4966 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.02037, allocations: 4 kB / 0.4966 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.02042, allocations: 28.84 kB / 0.4966 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.02043, allocations: 12 kB / 0.4966 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.02107, allocations: 405.1 kB / 0.497 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.02387, allocations: 2.123 MB / 0.4991 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.02635, allocations: 0.8643 MB / 0.4999 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.02671, allocations: 238 kB / 0.5002 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.087e-05/0.02677, allocations: 16.66 kB / 0.5002 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004594/0.02723, allocations: 353.8 kB / 0.5005 GB, free: 4.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.334e-06/0.02723, allocations: 0 / 0.5005 GB, free: 4.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007915/0.03514, allocations: 3.192 MB / 0.5036 GB, free: 1.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.03518, allocations: 60.06 kB / 0.5037 GB, free: 1.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008957/0.03607, allocations: 0.8771 MB / 0.5046 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.03613, allocations: 37.7 kB / 0.5046 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.03645, allocations: 0.523 MB / 0.5051 GB, free: 228 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.03667, allocations: 273.8 kB / 0.5054 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.03696, allocations: 188.2 kB / 0.5055 GB, free: 15.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003416/0.0373, allocations: 0.5082 MB / 0.506 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.03783, allocations: 257.9 kB / 0.5063 GB, free: 14.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.03845, allocations: 411.6 kB / 0.5067 GB, free: 14.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.0401, allocations: 0.9901 MB / 0.5076 GB, free: 13.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.04011, allocations: 0 / 0.5076 GB, free: 13.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004781/0.04489, allocations: 1.935 MB / 0.5095 GB, free: 11.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.0449, allocations: 4 kB / 0.5095 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.04491, allocations: 7.938 kB / 0.5095 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/0.04917, allocations: 1.211 MB / 0.5107 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.04978, allocations: 175.7 kB / 0.5109 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/0.05563, allocations: 3.471 MB / 0.5143 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.05635, allocations: 123.4 kB / 0.5144 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.05643, allocations: 35.98 kB / 0.5144 GB, free: 6.418 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.0002642/0.05669, allocations: 208.3 kB / 0.5146 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.05688, allocations: 147.2 kB / 0.5148 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/0.06184, allocations: 1.737 MB / 0.5165 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.06185, allocations: 8 kB / 0.5165 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.06186, allocations: 3.938 kB / 0.5165 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.06187, allocations: 3.984 kB / 0.5165 GB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.06733, allocations: 2.551 MB / 0.519 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.06733, allocations: 3.938 kB / 0.519 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.06766, allocations: 83.89 kB / 0.5191 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00481/0.07247, allocations: 1.352 MB / 0.5204 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/0.07253, allocations: 16 kB / 0.5204 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006113/0.07865, allocations: 3.986 MB / 0.5243 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.07865, allocations: 4 kB / 0.5243 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.08362, allocations: 2.079 MB / 0.5263 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.08376, allocations: 123 kB / 0.5264 GB, free: 9.883 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.08388, allocations: 16 kB / 0.5265 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.0844, allocations: 63.94 kB / 0.5265 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.08475, allocations: 156.3 kB / 0.5267 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.0848, allocations: 23.98 kB / 0.5267 GB, free: 9.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006433/0.08545, allocations: 0.5527 MB / 0.5272 GB, free: 9.062 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08545, allocations: 0 / 0.5272 GB, free: 9.062 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008285/0.08628, allocations: 351.7 kB / 0.5276 GB, free: 8.719 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.0002296/0.08651, allocations: 135.1 kB / 0.5277 GB, free: 8.578 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.089, allocations: 1.224 MB / 0.5289 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.089, allocations: 3.938 kB / 0.5289 GB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.09074, allocations: 0.8763 MB / 0.5298 GB, free: 6.418 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.09131, allocations: 104.2 kB / 0.5299 GB, free: 6.312 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.09408, allocations: 1.657 MB / 0.5315 GB, free: 4.621 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.09423, allocations: 205.1 kB / 0.5317 GB, free: 4.398 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.09449, allocations: 94.67 kB / 0.5318 GB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.09467, allocations: 72.48 kB / 0.5318 GB, free: 4.23 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.09468, allocations: 0 / 0.5318 GB, free: 4.23 MB / 458.7 MB Notification: Performance of Templates: time 0.02081/0.1155, allocations: 20.08 MB / 0.5514 GB, free: 220 kB / 474.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.7159496559761465]