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.0008956/0.0008956, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9824/0.9824, allocations: 177.2 MB / 200.3 MB, free: 5.359 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.001947/0.001947, allocations: 163.7 kB / 257 MB, free: 12.81 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.4397/0.4397, allocations: 80.24 MB / 340.5 MB, free: 9.543 MB / 314.7 MB " [Timeout remaining time 180] 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.403e-06/1.403e-06, allocations: 0 / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.081e-05, allocations: 4.984 kB / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005076/0.005097, allocations: 5.742 MB / 389.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.007793, allocations: 1.911 MB / 391.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.008082, allocations: 15.94 kB / 391.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.008709, allocations: 230 kB / 391.7 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.009922, allocations: 0.7569 MB / 392.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.01066, allocations: 0.5572 MB / 393 MB, free: 5.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009345/0.0116, allocations: 1.414 MB / 394.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.01186, allocations: 193.7 kB / 394.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.0125, allocations: 0.787 MB / 395.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.01299, allocations: 0.5179 MB / 395.9 MB, free: 2.492 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.0131, allocations: 100 kB / 396 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.01342, allocations: 255.7 kB / 396.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.01359, allocations: 274.8 kB / 396.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.01385, allocations: 390.7 kB / 396.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.01467, allocations: 1.035 MB / 397.9 MB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01468, allocations: 4 kB / 398 MB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01468, allocations: 0 / 398 MB, free: 460 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.01469, allocations: 0 / 398 MB, free: 460 kB / 362.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.00338/0.01807, allocations: 2.178 MB / 400.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.01811, allocations: 12.03 kB / 400.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.0201, allocations: 0.6793 MB / 400.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.02082, allocations: 0.5492 MB / 401.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.021, allocations: 282.9 kB / 401.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/0.02109, allocations: 71.98 kB / 401.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.02167, allocations: 496.9 kB / 402.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.02169, allocations: 0 / 402.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.02173, allocations: 24 kB / 402.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.02175, allocations: 16 kB / 402.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.02213, allocations: 246.3 kB / 402.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.02431, allocations: 1.404 MB / 403.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.02629, allocations: 0.8067 MB / 404.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.0265, allocations: 171.2 kB / 404.9 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.02656, allocations: 16.66 kB / 404.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.02691, allocations: 322.9 kB / 405.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.003e-06/0.02691, allocations: 0 / 405.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.006356/0.03327, allocations: 2.889 MB / 408.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.0333, allocations: 60.06 kB / 408.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.03383, allocations: 0.7706 MB / 408.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.03388, allocations: 37.69 kB / 408.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.03405, allocations: 342.7 kB / 409.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.03421, allocations: 277.6 kB / 409.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.03441, allocations: 182.5 kB / 409.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.03451, allocations: 345.9 kB / 410.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.03485, allocations: 212.8 kB / 410.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.03524, allocations: 339.4 kB / 410.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.03633, allocations: 0.9012 MB / 411.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.03634, allocations: 0 / 411.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00286/0.0392, allocations: 1.659 MB / 413.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.03922, allocations: 8 kB / 413.2 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.03923, allocations: 0 / 413.2 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/0.04195, allocations: 1.151 MB / 414.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.04248, allocations: 223.7 kB / 414.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.046, allocations: 2.655 MB / 417.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.04645, allocations: 119.3 kB / 417.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.04649, allocations: 23.98 kB / 417.3 MB, free: 12.62 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.0002078/0.0467, allocations: 160.5 kB / 417.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.0468, allocations: 91.91 kB / 417.6 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.04955, allocations: 1.543 MB / 419.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.04956, allocations: 8 kB / 419.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.04956, allocations: 0 / 419.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.04957, allocations: 3.984 kB / 419.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.05292, allocations: 2.063 MB / 421.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.05292, allocations: 0 / 421.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.05318, allocations: 99.88 kB / 421.3 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.05623, allocations: 1.313 MB / 422.6 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.05628, allocations: 12 kB / 422.6 MB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.06003, allocations: 2.988 MB / 425.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.06003, allocations: 0 / 425.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.06319, allocations: 1.789 MB / 427.4 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.06334, allocations: 103.1 kB / 427.5 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.06342, allocations: 16 kB / 427.5 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.06376, allocations: 59.94 kB / 427.6 MB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.06406, allocations: 152.4 kB / 427.7 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.06409, allocations: 12 kB / 427.7 MB, free: 2.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003431/0.06443, allocations: 392.2 kB / 428.1 MB, free: 1.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06443, allocations: 0 / 428.1 MB, free: 1.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008567/0.06529, allocations: 359.7 kB / 428.5 MB, free: 1.281 MB / 394.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.0002391/0.06553, allocations: 116.2 kB / 428.6 MB, free: 1.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.06717, allocations: 1.041 MB / 429.6 MB, free: 104 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.06718, allocations: 8.562 kB / 429.6 MB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.06828, allocations: 0.7447 MB / 430.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.0687, allocations: 107.2 kB / 430.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.07099, allocations: 1.669 MB / 432.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.07112, allocations: 201.3 kB / 432.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.07132, allocations: 94.67 kB / 432.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.07157, allocations: 155.4 kB / 432.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.07157, allocations: 0 / 432.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of Templates: time 0.1725/0.2441, allocations: 20.1 MB / 452.7 MB, free: 65.74 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5156761668622494]