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.001217/0.001217, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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 1.321/1.321, allocations: 230.6 MB / 253.4 MB, free: 8.258 MB / 206.1 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.001526/0.001526, allocations: 212.9 kB / 310 MB, free: 3.109 MB / 238.1 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.5052/0.5052, allocations: 101.3 MB / 467.8 MB, free: 10.29 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 87.86 kB / 0.6256 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3836, allocations: 78.6 MB / 0.7024 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005324/0.3889, allocations: 6.112 MB / 0.7083 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.3922, allocations: 1.919 MB / 0.7102 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.3928, allocations: 14.66 kB / 0.7102 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.3934, allocations: 210 kB / 0.7104 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.3948, allocations: 0.7611 MB / 0.7112 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3959, allocations: 0.5538 MB / 0.7117 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.3972, allocations: 1.452 MB / 0.7131 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.3975, allocations: 197.6 kB / 0.7133 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.3982, allocations: 0.5875 MB / 0.7139 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.3988, allocations: 0.6569 MB / 0.7145 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.399, allocations: 99.81 kB / 0.7146 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.3994, allocations: 255.2 kB / 0.7149 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.3996, allocations: 263 kB / 0.7151 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.4, allocations: 0.5701 MB / 0.7157 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.4014, allocations: 1.407 MB / 0.7171 GB, free: 72 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4014, allocations: 0.75 kB / 0.7171 GB, free: 72 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4014, allocations: 0 / 0.7171 GB, free: 72 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4014, allocations: 4 kB / 0.7171 GB, free: 68 kB / 494.1 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.007131/0.4085, allocations: 2.334 MB / 0.7193 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4085, allocations: 10.53 kB / 0.7194 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/0.4118, allocations: 0.5569 MB / 0.7199 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.4132, allocations: 0.7326 MB / 0.7206 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.4135, allocations: 286.7 kB / 0.7209 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.4136, allocations: 63 kB / 0.721 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4152, allocations: 0.8326 MB / 0.7218 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4152, allocations: 0 / 0.7218 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.4153, allocations: 26.12 kB / 0.7218 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.4153, allocations: 18.94 kB / 0.7218 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.4171, allocations: 0.8502 MB / 0.7226 GB, free: 13.44 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.423, allocations: 3 MB / 0.7256 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005874/0.4289, allocations: 1.262 MB / 0.7268 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.43, allocations: 0.503 MB / 0.7273 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.421e-05/0.4301, allocations: 9.547 kB / 0.7273 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.4316, allocations: 0.6204 MB / 0.7279 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 2.294e-06/0.4316, allocations: 3.938 kB / 0.7279 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01758/0.4492, allocations: 4.532 MB / 0.7323 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.4492, allocations: 64.3 kB / 0.7324 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.4507, allocations: 0.9675 MB / 0.7333 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.4509, allocations: 39.78 kB / 0.7334 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.4513, allocations: 480 kB / 0.7338 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.4516, allocations: 270.8 kB / 0.7341 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.4519, allocations: 180.4 kB / 0.7343 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4521, allocations: 344.9 kB / 0.7346 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4533, allocations: 0.5538 MB / 0.7351 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.4545, allocations: 0.6742 MB / 0.7358 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/0.4715, allocations: 4.158 MB / 0.7399 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.4715, allocations: 0 / 0.7399 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008493/0.48, allocations: 2.815 MB / 0.7426 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4801, allocations: 9.516 kB / 0.7426 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4801, allocations: 2.625 kB / 0.7426 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/0.4846, allocations: 1.265 MB / 0.7439 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.4856, allocations: 190.1 kB / 0.744 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.4977, allocations: 5.583 MB / 0.7495 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4992, allocations: 145.5 kB / 0.7496 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.4993, allocations: 35.36 kB / 0.7497 GB, free: 14.8 MB / 0.5137 GB 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 (103): * Single equations (assignments): 101 * 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.0005163/0.4998, allocations: 238.6 kB / 0.7499 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.5, allocations: 120 kB / 0.75 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00827/0.5083, allocations: 2.637 MB / 0.7526 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5083, allocations: 8 kB / 0.7526 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5083, allocations: 0 / 0.7526 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5083, allocations: 7.984 kB / 0.7526 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009951/0.5182, allocations: 3.968 MB / 0.7565 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5182, allocations: 0 / 0.7565 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.5187, allocations: 99.81 kB / 0.7566 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/0.5233, allocations: 1.326 MB / 0.7579 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/0.5234, allocations: 16 kB / 0.7579 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.5363, allocations: 5.911 MB / 0.7636 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5363, allocations: 0 / 0.7636 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009774/0.546, allocations: 3.362 MB / 0.7669 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.5464, allocations: 127.2 kB / 0.767 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5466, allocations: 12 kB / 0.7671 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.5475, allocations: 83.91 kB / 0.7671 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/0.5479, allocations: 168.3 kB / 0.7673 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.548, allocations: 23.92 kB / 0.7673 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001035/0.549, allocations: 0.6631 MB / 0.768 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.549, allocations: 0 / 0.768 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001045/0.5501, allocations: 351.7 kB / 0.7683 GB, free: 12.22 MB / 0.5294 GB 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.0002307/0.5503, allocations: 127.1 kB / 0.7684 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00461/0.5549, allocations: 1.724 MB / 0.7701 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5549, allocations: 0 / 0.7701 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/0.558, allocations: 1.081 MB / 0.7712 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.5588, allocations: 98.69 kB / 0.7713 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.5623, allocations: 1.864 MB / 0.7731 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.5629, allocations: 1.042 MB / 0.7741 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.5632, allocations: 71.36 kB / 0.7742 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/0.5632, allocations: 0 / 0.7742 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of Templates: time 0.02744/0.5907, allocations: 22.07 MB / 0.7957 GB, free: 44 kB / 0.545 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.535058100009337] Failed to read output from testmodel.py, exit status != 0: 0.5995177431032062 0.613084418 0.20876218300000002 Calling exit ...