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.001456/0.001456, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9734/0.9734, allocations: 177.1 MB / 200.5 MB, free: 5.84 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.001209/0.001209, allocations: 164.6 kB / 257 MB, free: 13.21 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.278/0.278, allocations: 80.36 MB / 393.8 MB, free: 2.188 MB / 314.7 MB " [Timeout remaining time 180] 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.363e-06/1.363e-06, allocations: 0 / 489.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.756e-05, allocations: 3 kB / 489.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004732/0.00475, allocations: 5.767 MB / 495.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.007983, allocations: 1.852 MB / 497.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.008439, allocations: 15.94 kB / 497.5 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.009034, allocations: 210.1 kB / 497.7 MB, free: 3.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.01063, allocations: 0.7603 MB / 498.5 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01165, allocations: 0.552 MB / 499.1 MB, free: 2.383 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.0132, allocations: 1.413 MB / 0.4887 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.01352, allocations: 191.7 kB / 0.4889 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009685/0.01449, allocations: 0.7831 MB / 0.4897 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.01501, allocations: 0.514 MB / 0.4902 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.01513, allocations: 100.5 kB / 0.4903 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.01552, allocations: 241.9 kB / 0.4905 GB, free: 15.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.0157, allocations: 266.8 kB / 0.4908 GB, free: 14.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.016, allocations: 386.7 kB / 0.4911 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.01726, allocations: 1.035 MB / 0.4921 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.01726, allocations: 4 kB / 0.4922 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01727, allocations: 0 / 0.4922 GB, free: 13.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.01728, allocations: 0.5938 kB / 0.4922 GB, free: 13.45 MB / 378.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.004048/0.02133, allocations: 2.43 MB / 0.4945 GB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.02136, allocations: 8.562 kB / 0.4945 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.0235, allocations: 0.6644 MB / 0.4952 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.02439, allocations: 0.7099 MB / 0.4959 GB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.02459, allocations: 291.7 kB / 0.4962 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.02469, allocations: 64 kB / 0.4962 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.02549, allocations: 0.5228 MB / 0.4967 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.0255, allocations: 0.625 kB / 0.4967 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.02556, allocations: 27.98 kB / 0.4968 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.02558, allocations: 16.88 kB / 0.4968 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.02626, allocations: 395.5 kB / 0.4971 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.0295, allocations: 2.131 MB / 0.4992 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.03199, allocations: 0.8689 MB / 0.5001 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.03235, allocations: 234 kB / 0.5003 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.03242, allocations: 16.66 kB / 0.5003 GB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.03291, allocations: 357.8 kB / 0.5007 GB, free: 4.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.977e-06/0.03292, allocations: 0 / 0.5007 GB, free: 4.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.007753/0.04067, allocations: 3.196 MB / 0.5038 GB, free: 1.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.0407, allocations: 64.06 kB / 0.5038 GB, free: 1.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.04149, allocations: 0.8654 MB / 0.5047 GB, free: 400 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.04155, allocations: 41.7 kB / 0.5047 GB, free: 352 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.04184, allocations: 0.523 MB / 0.5052 GB, free: 15.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.04202, allocations: 273.6 kB / 0.5055 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.04225, allocations: 184.2 kB / 0.5057 GB, free: 15.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003593/0.04261, allocations: 0.516 MB / 0.5062 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.04306, allocations: 253.9 kB / 0.5064 GB, free: 14.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.04353, allocations: 407.7 kB / 0.5068 GB, free: 14.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.04479, allocations: 0.99 MB / 0.5078 GB, free: 13.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.04479, allocations: 4 kB / 0.5078 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003593/0.04838, allocations: 1.928 MB / 0.5097 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.04841, allocations: 8 kB / 0.5097 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.04841, allocations: 0 / 0.5097 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003309/0.05172, allocations: 1.208 MB / 0.5108 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.05222, allocations: 179.8 kB / 0.511 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.05738, allocations: 3.475 MB / 0.5144 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.05808, allocations: 131.3 kB / 0.5145 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.05813, allocations: 32 kB / 0.5146 GB, free: 6.012 MB / 394.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.0002742/0.05841, allocations: 208.4 kB / 0.5148 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.05857, allocations: 139.2 kB / 0.5149 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.06198, allocations: 1.749 MB / 0.5166 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.06199, allocations: 8 kB / 0.5166 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.06199, allocations: 4 kB / 0.5166 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.062, allocations: 3.984 kB / 0.5166 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.06622, allocations: 2.543 MB / 0.5191 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.06623, allocations: 4 kB / 0.5191 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.06649, allocations: 83.89 kB / 0.5192 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003821/0.07031, allocations: 1.361 MB / 0.5205 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.07036, allocations: 12 kB / 0.5205 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004885/0.07524, allocations: 3.995 MB / 0.5244 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.07524, allocations: 0 / 0.5244 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.08004, allocations: 2.075 MB / 0.5265 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.08026, allocations: 127 kB / 0.5266 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.08038, allocations: 12 kB / 0.5266 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.08092, allocations: 67.94 kB / 0.5267 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.0813, allocations: 160.3 kB / 0.5268 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/0.0816, allocations: 16 kB / 0.5268 GB, free: 9.219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006077/0.08221, allocations: 0.5527 MB / 0.5274 GB, free: 8.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08221, allocations: 0 / 0.5274 GB, free: 8.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001002/0.08321, allocations: 355.7 kB / 0.5277 GB, free: 8.309 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.0002694/0.08348, allocations: 135.1 kB / 0.5278 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.08617, allocations: 1.22 MB / 0.529 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.08617, allocations: 0 / 0.529 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.08801, allocations: 0.8729 MB / 0.5299 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.08865, allocations: 108.2 kB / 0.53 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.0918, allocations: 1.66 MB / 0.5316 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.09199, allocations: 205.3 kB / 0.5318 GB, free: 3.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.09227, allocations: 94.67 kB / 0.5319 GB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.09246, allocations: 60.5 kB / 0.5319 GB, free: 3.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.09246, allocations: 0 / 0.5319 GB, free: 3.84 MB / 410.7 MB Notification: Performance of Templates: time 0.03212/0.1246, allocations: 20.09 MB / 0.5516 GB, free: 15.81 MB / 442.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.764721015933901]