Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09184/0.09184, allocations: 12.36 MB / 31.22 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001373/0.001373, allocations: 109 kB / 37.25 MB, free: 1.102 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.7 MB / 250.9 MB, free: 7.254 MB / 190.1 MB " [Timeout remaining time 178] 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.001769/0.001769, allocations: 216.3 kB / 306.1 MB, free: 284 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3462/0.3462, allocations: 79.72 MB / 440.9 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004389/0.004389, allocations: 149.2 kB / 0.588 GB, free: 7.004 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3695, allocations: 71.95 MB / 0.6582 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006328/0.3758, allocations: 5.368 MB / 0.6635 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.3807, allocations: 1.737 MB / 0.6652 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3817, allocations: 11.84 kB / 0.6652 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009421/0.3826, allocations: 219.4 kB / 0.6654 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.3854, allocations: 0.7283 MB / 0.6661 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.3873, allocations: 0.5429 MB / 0.6666 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002846/0.3901, allocations: 1.446 MB / 0.668 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.3906, allocations: 184.9 kB / 0.6682 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.3921, allocations: 0.5831 MB / 0.6688 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3933, allocations: 0.6007 MB / 0.6694 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.3936, allocations: 98.12 kB / 0.6695 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006633/0.3942, allocations: 220.6 kB / 0.6697 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.3946, allocations: 273.2 kB / 0.6699 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006167/0.3952, allocations: 467.6 kB / 0.6704 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.3974, allocations: 1.414 MB / 0.6718 GB, free: 10.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3974, allocations: 9 kB / 0.6718 GB, free: 10.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3974, allocations: 0 / 0.6718 GB, free: 10.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.3975, allocations: 0 / 0.6718 GB, free: 10.32 MB / 462.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.008223/0.4057, allocations: 2.311 MB / 0.674 GB, free: 8.867 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4057, allocations: 10.19 kB / 0.674 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.4094, allocations: 0.5681 MB / 0.6746 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.4111, allocations: 0.7203 MB / 0.6753 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.4115, allocations: 290.9 kB / 0.6756 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4116, allocations: 70.03 kB / 0.6756 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.4136, allocations: 0.8369 MB / 0.6764 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4136, allocations: 0 / 0.6764 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.4137, allocations: 21.72 kB / 0.6765 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4137, allocations: 19.47 kB / 0.6765 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.4157, allocations: 0.842 MB / 0.6773 GB, free: 6.82 MB / 462.1 MB 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.006031/0.4217, allocations: 2.278 MB / 0.6795 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006252/0.428, allocations: 1.273 MB / 0.6808 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.4292, allocations: 0.5005 MB / 0.6813 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.4293, allocations: 7.938 kB / 0.6813 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.4308, allocations: 0.6184 MB / 0.6819 GB, free: 4.016 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 3.296e-06/0.4308, allocations: 0 / 0.6819 GB, free: 4.016 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01963/0.4504, allocations: 4.532 MB / 0.6863 GB, free: 1.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.4505, allocations: 67 kB / 0.6864 GB, free: 1.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.4526, allocations: 0.9342 MB / 0.6873 GB, free: 1.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.4528, allocations: 37.73 kB / 0.6873 GB, free: 1.129 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.4533, allocations: 484.9 kB / 0.6878 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.4537, allocations: 275.2 kB / 0.688 GB, free: 476 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.454, allocations: 171.6 kB / 0.6882 GB, free: 368 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4542, allocations: 342.4 kB / 0.6885 GB, free: 28 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4555, allocations: 0.5469 MB / 0.6891 GB, free: 15.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.4569, allocations: 0.6644 MB / 0.6897 GB, free: 15.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/0.4752, allocations: 4.021 MB / 0.6936 GB, free: 13.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.4752, allocations: 1.25 kB / 0.6936 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009582/0.4848, allocations: 2.805 MB / 0.6964 GB, free: 10.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4848, allocations: 11.44 kB / 0.6964 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4848, allocations: 0 / 0.6964 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005189/0.49, allocations: 1.262 MB / 0.6976 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.491, allocations: 183.7 kB / 0.6978 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.5048, allocations: 5.448 MB / 0.7031 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.5064, allocations: 147.3 kB / 0.7033 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5065, allocations: 35.98 kB / 0.7033 GB, free: 3.738 MB / 478.1 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 (99): * Single equations (assignments): 97 * 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.0005309/0.5071, allocations: 233.6 kB / 0.7035 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.5073, allocations: 119.2 kB / 0.7036 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009477/0.5168, allocations: 2.637 MB / 0.7062 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5168, allocations: 8 kB / 0.7062 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5168, allocations: 0 / 0.7062 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.5168, allocations: 3.984 kB / 0.7062 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.528, allocations: 3.466 MB / 0.7096 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.528, allocations: 0 / 0.7096 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.5285, allocations: 91.88 kB / 0.7097 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/0.5339, allocations: 1.313 MB / 0.711 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.534, allocations: 12 kB / 0.711 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.5486, allocations: 5.743 MB / 0.7166 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5486, allocations: 4 kB / 0.7166 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.5598, allocations: 3.354 MB / 0.7199 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.5603, allocations: 119.3 kB / 0.72 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5605, allocations: 16.09 kB / 0.72 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.5615, allocations: 95.77 kB / 0.7201 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/0.562, allocations: 172.2 kB / 0.7203 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.5621, allocations: 20 kB / 0.7203 GB, free: 2.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.5632, allocations: 0.6348 MB / 0.7209 GB, free: 1.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5632, allocations: 0 / 0.7209 GB, free: 1.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001134/0.5643, allocations: 351.7 kB / 0.7212 GB, free: 1.148 MB / 494.1 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.000273/0.5646, allocations: 127.1 kB / 0.7214 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005297/0.5699, allocations: 1.705 MB / 0.723 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5699, allocations: 0 / 0.723 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003609/0.5735, allocations: 1.077 MB / 0.7241 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.5744, allocations: 96.28 kB / 0.7242 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.5781, allocations: 1.824 MB / 0.7259 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.5786, allocations: 464.4 kB / 0.7264 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.579, allocations: 98.45 kB / 0.7265 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.5792, allocations: 63.42 kB / 0.7265 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.5792, allocations: 0 / 0.7265 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.03548/0.6147, allocations: 20.45 MB / 0.7465 GB, free: 7.129 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.372685374692082] Failed to read output from testmodel.py, exit status != 0: 0.6239589173346758 0.6397932540000001 0.238893559 Calling exit ...