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.001348/0.001348, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.346/1.346, allocations: 177.2 MB / 200.1 MB, free: 8.312 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.001736/0.001736, allocations: 167.5 kB / 256.6 MB, free: 4.262 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.5419/0.5419, allocations: 80.31 MB / 393.3 MB, free: 13.23 MB / 318.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.002548/0.002548, allocations: 85.34 kB / 0.5558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1468, allocations: 80.13 MB / 0.634 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00721/0.154, allocations: 5.354 MB / 0.6393 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.158, allocations: 1.821 MB / 0.641 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/0.1586, allocations: 19.88 kB / 0.6411 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.1592, allocations: 202.2 kB / 0.6413 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.161, allocations: 0.7452 MB / 0.642 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1622, allocations: 0.5483 MB / 0.6425 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.1643, allocations: 1.441 MB / 0.6439 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.1648, allocations: 187.7 kB / 0.6441 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.1658, allocations: 0.5797 MB / 0.6447 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009389/0.1667, allocations: 0.6024 MB / 0.6453 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.1669, allocations: 100 kB / 0.6454 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006518/0.1676, allocations: 243.9 kB / 0.6456 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.1679, allocations: 266.8 kB / 0.6458 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.1684, allocations: 469.3 kB / 0.6463 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.1701, allocations: 1.428 MB / 0.6477 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1701, allocations: 7.984 kB / 0.6477 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1701, allocations: 0 / 0.6477 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.1702, allocations: 0 / 0.6477 GB, free: 5.898 MB / 0.4981 GB 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.0074/0.1776, allocations: 2.333 MB / 0.65 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1776, allocations: 8.031 kB / 0.65 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.1811, allocations: 0.5539 MB / 0.6505 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.1826, allocations: 0.7319 MB / 0.6512 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.183, allocations: 286.9 kB / 0.6515 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1831, allocations: 64 kB / 0.6516 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.185, allocations: 0.834 MB / 0.6524 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.185, allocations: 0 / 0.6524 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.1851, allocations: 31.98 kB / 0.6524 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1851, allocations: 19.94 kB / 0.6524 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.187, allocations: 0.8406 MB / 0.6533 GB, free: 60 kB / 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.005305/0.1923, allocations: 2.283 MB / 0.6555 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/0.1986, allocations: 1.269 MB / 0.6567 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.1997, allocations: 0.499 MB / 0.6572 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.783e-05/0.1998, allocations: 16.64 kB / 0.6572 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.2013, allocations: 0.6133 MB / 0.6578 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 3.977e-06/0.2013, allocations: 0 / 0.6578 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.01914/0.2204, allocations: 4.525 MB / 0.6622 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.2205, allocations: 60.06 kB / 0.6623 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.222, allocations: 0.9408 MB / 0.6632 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.2221, allocations: 41.7 kB / 0.6633 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.2225, allocations: 484.8 kB / 0.6637 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.2229, allocations: 281.6 kB / 0.664 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.2232, allocations: 170.6 kB / 0.6642 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2234, allocations: 341.9 kB / 0.6645 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.2246, allocations: 0.5485 MB / 0.665 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.2259, allocations: 0.6672 MB / 0.6657 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01853/0.2445, allocations: 4.124 MB / 0.6697 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.2445, allocations: 4 kB / 0.6697 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009403/0.2539, allocations: 2.804 MB / 0.6724 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2539, allocations: 4 kB / 0.6724 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.2539, allocations: 4 kB / 0.6724 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00506/0.259, allocations: 1.269 MB / 0.6737 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.26, allocations: 179.8 kB / 0.6739 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.2732, allocations: 5.432 MB / 0.6792 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.2747, allocations: 147.3 kB / 0.6793 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.2749, allocations: 39.98 kB / 0.6793 GB, free: 5.023 MB / 0.5294 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 (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.0005546/0.2755, allocations: 228.3 kB / 0.6796 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.2758, allocations: 115.2 kB / 0.6797 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009331/0.2851, allocations: 2.629 MB / 0.6822 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.2851, allocations: 8 kB / 0.6822 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2851, allocations: 3.938 kB / 0.6822 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.2851, allocations: 3.984 kB / 0.6822 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.2963, allocations: 3.462 MB / 0.6856 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.2963, allocations: 0 / 0.6856 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.2968, allocations: 91.81 kB / 0.6857 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00523/0.3021, allocations: 1.318 MB / 0.687 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.3022, allocations: 19.98 kB / 0.687 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.3165, allocations: 5.759 MB / 0.6926 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3165, allocations: 0 / 0.6926 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.3276, allocations: 3.354 MB / 0.6959 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.3281, allocations: 119.3 kB / 0.696 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.3283, allocations: 16 kB / 0.696 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.3295, allocations: 83.91 kB / 0.6961 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005775/0.3301, allocations: 168.2 kB / 0.6963 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-05/0.3302, allocations: 23.98 kB / 0.6963 GB, free: 3.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00122/0.3314, allocations: 0.6348 MB / 0.6969 GB, free: 2.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 4 kB / 0.6969 GB, free: 2.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001381/0.3328, allocations: 355.7 kB / 0.6973 GB, free: 2.43 MB / 0.545 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.000303/0.3331, allocations: 127.1 kB / 0.6974 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005276/0.3384, allocations: 1.705 MB / 0.6991 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3384, allocations: 0 / 0.6991 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2895/0.6279, allocations: 1.072 MB / 0.7001 GB, free: 62.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.6288, allocations: 95.47 kB / 0.7002 GB, free: 62.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.6321, allocations: 1.826 MB / 0.702 GB, free: 61.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.6327, allocations: 462.3 kB / 0.7024 GB, free: 61.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000395/0.6331, allocations: 97.66 kB / 0.7025 GB, free: 61.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.6333, allocations: 63.83 kB / 0.7026 GB, free: 61.74 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.6333, allocations: 3.5 kB / 0.7026 GB, free: 61.74 MB / 0.545 GB Notification: Performance of Templates: time 0.03302/0.6663, allocations: 19.3 MB / 0.7214 GB, free: 56.36 MB / 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 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.241219957941212] Failed to read output from testmodel.py, exit status != 0: 0.674486692994833 0.685892353 0.5134215679999999 Calling exit ...