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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.9 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 247.7 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 190 kB / 303.1 MB, free: 8.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4584/0.4584, allocations: 79.71 MB / 438.1 MB, free: 5.227 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002346/0.002346, allocations: 79.88 kB / 0.5839 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1373, allocations: 72.14 MB / 0.6544 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007384/0.1446, allocations: 6.04 MB / 0.6603 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.1486, allocations: 1.876 MB / 0.6621 GB, free: 7.852 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005464/0.1491, allocations: 15.94 kB / 0.6621 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.1498, allocations: 206.2 kB / 0.6623 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.1515, allocations: 0.7543 MB / 0.6631 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1527, allocations: 0.543 MB / 0.6636 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1545, allocations: 1.452 MB / 0.665 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1549, allocations: 191.8 kB / 0.6652 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008247/0.1557, allocations: 0.5874 MB / 0.6658 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008219/0.1565, allocations: 0.6572 MB / 0.6664 GB, free: 3.426 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1567, allocations: 100 kB / 0.6665 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.1571, allocations: 235.8 kB / 0.6667 GB, free: 3.098 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.1574, allocations: 266.9 kB / 0.667 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.1579, allocations: 0.5669 MB / 0.6675 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1596, allocations: 1.404 MB / 0.6689 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1596, allocations: 0 / 0.6689 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1596, allocations: 0 / 0.6689 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1596, allocations: 0 / 0.6689 GB, free: 0.8555 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.007408/0.167, allocations: 2.313 MB / 0.6712 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1671, allocations: 8.031 kB / 0.6712 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.1722, allocations: 0.5655 MB / 0.6717 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.1744, allocations: 0.728 MB / 0.6724 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.1747, allocations: 213.8 kB / 0.6726 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.1749, allocations: 60 kB / 0.6727 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.1774, allocations: 0.838 MB / 0.6735 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1774, allocations: 0 / 0.6735 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.1775, allocations: 24 kB / 0.6735 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1776, allocations: 19.94 kB / 0.6736 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.1802, allocations: 0.8484 MB / 0.6744 GB, free: 11.12 MB / 478.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.008289/0.1885, allocations: 2.997 MB / 0.6773 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007588/0.1961, allocations: 1.267 MB / 0.6785 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.1979, allocations: 0.4991 MB / 0.679 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.1981, allocations: 4.656 kB / 0.679 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001915/0.2, allocations: 0.6288 MB / 0.6797 GB, free: 5.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 4.037e-06/0.2, allocations: 3.938 kB / 0.6797 GB, free: 5.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.02432/0.2243, allocations: 4.533 MB / 0.6841 GB, free: 1.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.2244, allocations: 56.06 kB / 0.6841 GB, free: 0.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.2261, allocations: 0.97 MB / 0.6851 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.2262, allocations: 41.64 kB / 0.6851 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.2267, allocations: 472.9 kB / 0.6856 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.227, allocations: 285.6 kB / 0.6858 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003677/0.2274, allocations: 182.6 kB / 0.686 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2275, allocations: 341.9 kB / 0.6863 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.2288, allocations: 0.5485 MB / 0.6869 GB, free: 14.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.2301, allocations: 0.6672 MB / 0.6875 GB, free: 13.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/0.2471, allocations: 4.038 MB / 0.6915 GB, free: 9.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2471, allocations: 0 / 0.6915 GB, free: 9.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008883/0.256, allocations: 2.836 MB / 0.6942 GB, free: 6.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.256, allocations: 4 kB / 0.6943 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.256, allocations: 4 kB / 0.6943 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00467/0.2607, allocations: 1.269 MB / 0.6955 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.2617, allocations: 183.7 kB / 0.6957 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3052/0.5669, allocations: 5.574 MB / 0.7011 GB, free: 42.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5684, allocations: 154 kB / 0.7013 GB, free: 42.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.5685, allocations: 34.52 kB / 0.7013 GB, free: 42.42 MB / 494.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 (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.0004298/0.5689, allocations: 239.7 kB / 0.7015 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5691, allocations: 115.7 kB / 0.7016 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008749/0.5779, allocations: 2.639 MB / 0.7042 GB, free: 42.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5779, allocations: 11.16 kB / 0.7042 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5779, allocations: 0.9062 kB / 0.7042 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.5779, allocations: 4.828 kB / 0.7042 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5885, allocations: 3.971 MB / 0.7081 GB, free: 41.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.5885, allocations: 0 / 0.7081 GB, free: 41.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.5891, allocations: 94.38 kB / 0.7082 GB, free: 41.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005107/0.5942, allocations: 1.318 MB / 0.7095 GB, free: 41.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.5944, allocations: 17.2 kB / 0.7095 GB, free: 41.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.6076, allocations: 5.903 MB / 0.7153 GB, free: 37.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6076, allocations: 0 / 0.7153 GB, free: 37.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/0.6173, allocations: 3.363 MB / 0.7185 GB, free: 36.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.6178, allocations: 123.9 kB / 0.7187 GB, free: 36.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.6179, allocations: 15.22 kB / 0.7187 GB, free: 36.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/0.6189, allocations: 90.69 kB / 0.7188 GB, free: 36.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005257/0.6194, allocations: 160.8 kB / 0.7189 GB, free: 36.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.6194, allocations: 17.12 kB / 0.7189 GB, free: 36.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000989/0.6204, allocations: 0.6636 MB / 0.7196 GB, free: 36.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6204, allocations: 0 / 0.7196 GB, free: 36.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001214/0.6216, allocations: 360.7 kB / 0.7199 GB, free: 36.43 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.0002574/0.6219, allocations: 125.1 kB / 0.72 GB, free: 36.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004718/0.6266, allocations: 1.719 MB / 0.7217 GB, free: 35.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6266, allocations: 0 / 0.7217 GB, free: 35.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.6299, allocations: 1.084 MB / 0.7228 GB, free: 35.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.6308, allocations: 97.06 kB / 0.7229 GB, free: 35.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.634, allocations: 1.817 MB / 0.7247 GB, free: 34.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.6345, allocations: 1.054 MB / 0.7257 GB, free: 33.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.6348, allocations: 95.66 kB / 0.7258 GB, free: 33.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.635, allocations: 68.84 kB / 0.7258 GB, free: 33.52 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.635, allocations: 1.969 kB / 0.7258 GB, free: 33.52 MB / 494.1 MB Notification: Performance of Templates: time 0.02509/0.6601, allocations: 19.82 MB / 0.7452 GB, free: 18.62 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.237547758966684] Failed to read output from testmodel.py, exit status != 0: 0.6681412374600768 0.6846021729999999 0.5216653769999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fab2e4f57b0>