Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009087/0.0009087, allocations: 93.06 kB / 19.65 MB, free: 280 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.8891/0.8891, allocations: 177.2 MB / 200 MB, free: 5.539 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.0013/0.0013, allocations: 152.6 kB / 256.6 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2873/0.2873, allocations: 83.27 MB / 396.4 MB, free: 15.2 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0.5469 kB / 493.8 MB, free: 7.383 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.402e-05, allocations: 2.312 kB / 493.8 MB, free: 7.379 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004377/0.004391, allocations: 5.774 MB / 499.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.007208, allocations: 1.849 MB / 0.4897 GB, free: 15.75 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.007602, allocations: 19.88 kB / 0.4897 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.008093, allocations: 210.1 kB / 0.4899 GB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.009224, allocations: 0.7727 MB / 0.4907 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.009981, allocations: 0.5584 MB / 0.4912 GB, free: 14.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.01102, allocations: 1.409 MB / 0.4926 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.01127, allocations: 184.7 kB / 0.4928 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007197/0.01199, allocations: 0.7909 MB / 0.4936 GB, free: 11.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.01244, allocations: 0.5194 MB / 0.4941 GB, free: 11.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.01256, allocations: 103.9 kB / 0.4942 GB, free: 11.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.01288, allocations: 239.8 kB / 0.4944 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.01304, allocations: 278.8 kB / 0.4947 GB, free: 10.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.01328, allocations: 384.3 kB / 0.495 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.01552, allocations: 1.031 MB / 0.496 GB, free: 9.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01552, allocations: 0 / 0.496 GB, free: 9.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01552, allocations: 0 / 0.496 GB, free: 9.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.01555, allocations: 4.656 kB / 0.496 GB, free: 9.262 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.004131/0.01968, allocations: 2.43 MB / 0.4984 GB, free: 6.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.01972, allocations: 11.97 kB / 0.4984 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.02161, allocations: 0.6648 MB / 0.4991 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.02267, allocations: 0.7183 MB / 0.4998 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.02287, allocations: 286.8 kB / 0.5 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/0.02296, allocations: 68 kB / 0.5001 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.02376, allocations: 0.5272 MB / 0.5006 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.02378, allocations: 0 / 0.5006 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.02383, allocations: 28 kB / 0.5007 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.02385, allocations: 12.62 kB / 0.5007 GB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.02451, allocations: 399.6 kB / 0.501 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.02777, allocations: 2.131 MB / 0.5031 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.03035, allocations: 0.8565 MB / 0.504 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.03079, allocations: 242 kB / 0.5042 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.111e-05/0.03087, allocations: 12.66 kB / 0.5042 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000536/0.0314, allocations: 365.8 kB / 0.5046 GB, free: 360 kB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.657e-06/0.0314, allocations: 0 / 0.5046 GB, free: 360 kB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007768/0.03917, allocations: 3.215 MB / 0.5077 GB, free: 13.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.03921, allocations: 60.06 kB / 0.5078 GB, free: 13.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.04005, allocations: 0.8693 MB / 0.5086 GB, free: 12.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.04015, allocations: 41.7 kB / 0.5086 GB, free: 12.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.04043, allocations: 0.5269 MB / 0.5092 GB, free: 11.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.04063, allocations: 269.7 kB / 0.5094 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.04087, allocations: 184.2 kB / 0.5096 GB, free: 11.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.041, allocations: 0.5121 MB / 0.5101 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.04141, allocations: 261.8 kB / 0.5103 GB, free: 10.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.04188, allocations: 407.6 kB / 0.5107 GB, free: 9.906 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.04317, allocations: 0.9901 MB / 0.5117 GB, free: 8.879 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.04317, allocations: 4 kB / 0.5117 GB, free: 8.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003848/0.04702, allocations: 1.928 MB / 0.5136 GB, free: 6.926 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.04705, allocations: 8 kB / 0.5136 GB, free: 6.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.04707, allocations: 0 / 0.5136 GB, free: 6.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/0.05104, allocations: 1.212 MB / 0.5148 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.05187, allocations: 183.7 kB / 0.5149 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006707/0.05858, allocations: 3.479 MB / 0.5183 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.05966, allocations: 119.4 kB / 0.5185 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.05979, allocations: 35.98 kB / 0.5185 GB, free: 1.77 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.000389/0.06018, allocations: 212.3 kB / 0.5187 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.06041, allocations: 143.2 kB / 0.5188 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.06506, allocations: 1.756 MB / 0.5205 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.06507, allocations: 4 kB / 0.5206 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.06507, allocations: 4 kB / 0.5206 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.06509, allocations: 3.984 kB / 0.5206 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.07134, allocations: 2.558 MB / 0.5231 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.07134, allocations: 4 kB / 0.5231 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.07174, allocations: 83.89 kB / 0.5231 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/0.07701, allocations: 1.359 MB / 0.5245 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.07716, allocations: 19.98 kB / 0.5245 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007149/0.08431, allocations: 4.005 MB / 0.5284 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.08431, allocations: 0 / 0.5284 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.08874, allocations: 2.091 MB / 0.5304 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.08899, allocations: 119.1 kB / 0.5306 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.08909, allocations: 16 kB / 0.5306 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.08949, allocations: 59.94 kB / 0.5306 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/0.08981, allocations: 156.3 kB / 0.5308 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.08985, allocations: 23.98 kB / 0.5308 GB, free: 4.922 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004739/0.09032, allocations: 0.5527 MB / 0.5313 GB, free: 4.359 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09032, allocations: 0 / 0.5313 GB, free: 4.359 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007891/0.09111, allocations: 359.7 kB / 0.5317 GB, free: 4.008 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.0002473/0.09136, allocations: 135 kB / 0.5318 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.09342, allocations: 1.223 MB / 0.533 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.09342, allocations: 0 / 0.533 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.09482, allocations: 0.8807 MB / 0.5339 GB, free: 1.707 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.09535, allocations: 100.2 kB / 0.534 GB, free: 1.605 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.09802, allocations: 1.657 MB / 0.5356 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.09817, allocations: 205.2 kB / 0.5358 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.0984, allocations: 90.42 kB / 0.5359 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.09855, allocations: 68.5 kB / 0.5359 GB, free: 15.53 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/0.09855, allocations: 4 kB / 0.5359 GB, free: 15.53 MB / 474.7 MB Notification: Performance of Templates: time 0.02457/0.1231, allocations: 20.8 MB / 0.5562 GB, free: 10.79 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6064366437494755]