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.001532/0.001532, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.398/1.398, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.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.001477/0.001477, allocations: 210.1 kB / 310 MB, free: 3.074 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.5749/0.5749, allocations: 107.3 MB / 473.7 MB, free: 29.74 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002415/0.002415, allocations: 90.77 kB / 0.6344 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1234, allocations: 80.18 MB / 0.7127 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006679/0.1301, allocations: 5.36 MB / 0.7179 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1337, allocations: 1.821 MB / 0.7197 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.1341, allocations: 15.94 kB / 0.7197 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.1347, allocations: 210.2 kB / 0.7199 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1363, allocations: 0.7315 MB / 0.7207 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1375, allocations: 0.5508 MB / 0.7212 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1391, allocations: 1.444 MB / 0.7226 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.1394, allocations: 179.8 kB / 0.7228 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.1402, allocations: 0.5874 MB / 0.7234 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.141, allocations: 0.6064 MB / 0.7239 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.1411, allocations: 96 kB / 0.724 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1416, allocations: 251.8 kB / 0.7243 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.1419, allocations: 266.9 kB / 0.7245 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.1423, allocations: 457.4 kB / 0.725 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.1439, allocations: 1.428 MB / 0.7264 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1439, allocations: 3.938 kB / 0.7264 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1439, allocations: 0 / 0.7264 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.1439, allocations: 0 / 0.7264 GB, free: 9.043 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.007009/0.1509, allocations: 2.336 MB / 0.7286 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1509, allocations: 8.031 kB / 0.7287 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.1542, allocations: 0.5539 MB / 0.7292 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1556, allocations: 0.7358 MB / 0.7299 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.1559, allocations: 286.9 kB / 0.7302 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.1561, allocations: 60 kB / 0.7302 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.1578, allocations: 0.8379 MB / 0.7311 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1578, allocations: 0 / 0.7311 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.1579, allocations: 24 kB / 0.7311 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.1579, allocations: 23.92 kB / 0.7311 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.1597, allocations: 0.8445 MB / 0.7319 GB, free: 3.195 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.005108/0.1648, allocations: 2.279 MB / 0.7342 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/0.1705, allocations: 1.269 MB / 0.7354 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.1717, allocations: 0.4963 MB / 0.7359 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.1718, allocations: 12.64 kB / 0.7359 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.173, allocations: 0.621 MB / 0.7365 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 2.575e-06/0.173, allocations: 0 / 0.7365 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.01767/0.1907, allocations: 4.521 MB / 0.7409 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.1908, allocations: 60.06 kB / 0.741 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.1922, allocations: 0.9408 MB / 0.7419 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.1923, allocations: 45.7 kB / 0.7419 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.1927, allocations: 484.8 kB / 0.7424 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.193, allocations: 273.6 kB / 0.7427 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.1933, allocations: 178.6 kB / 0.7428 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1935, allocations: 341.9 kB / 0.7432 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.1947, allocations: 0.5485 MB / 0.7437 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.1961, allocations: 0.6594 MB / 0.7443 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/0.2129, allocations: 4.136 MB / 0.7484 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.213, allocations: 0 / 0.7484 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008541/0.2215, allocations: 2.808 MB / 0.7511 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2215, allocations: 8 kB / 0.7511 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2215, allocations: 0 / 0.7511 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/0.2262, allocations: 1.268 MB / 0.7524 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/0.2271, allocations: 179.7 kB / 0.7525 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.2394, allocations: 5.431 MB / 0.7578 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.2407, allocations: 147.3 kB / 0.758 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.2408, allocations: 35.98 kB / 0.758 GB, free: 8.168 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.0004428/0.2413, allocations: 229.7 kB / 0.7582 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2414, allocations: 119.2 kB / 0.7583 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008469/0.2499, allocations: 2.633 MB / 0.7609 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.2499, allocations: 8 kB / 0.7609 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2499, allocations: 3.938 kB / 0.7609 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2499, allocations: 7.984 kB / 0.7609 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009954/0.2599, allocations: 3.462 MB / 0.7643 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2599, allocations: 4 kB / 0.7643 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.2604, allocations: 87.88 kB / 0.7644 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00474/0.2651, allocations: 1.314 MB / 0.7657 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/0.2652, allocations: 15.98 kB / 0.7657 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/0.2783, allocations: 5.755 MB / 0.7713 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2784, allocations: 0 / 0.7713 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009958/0.2883, allocations: 3.346 MB / 0.7746 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.2886, allocations: 127.4 kB / 0.7747 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.2889, allocations: 19.94 kB / 0.7747 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009646/0.2898, allocations: 83.91 kB / 0.7748 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000457/0.2903, allocations: 164.3 kB / 0.775 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.2903, allocations: 19.98 kB / 0.775 GB, free: 6.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001059/0.2914, allocations: 0.6387 MB / 0.7756 GB, free: 5.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2914, allocations: 0 / 0.7756 GB, free: 5.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001133/0.2925, allocations: 355.7 kB / 0.7759 GB, free: 5.57 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.0002727/0.2928, allocations: 139 kB / 0.7761 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004804/0.2976, allocations: 1.705 MB / 0.7777 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2976, allocations: 0 / 0.7777 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003282/0.3009, allocations: 1.073 MB / 0.7788 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.3017, allocations: 92.3 kB / 0.7789 GB, free: 2.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.3053, allocations: 1.867 MB / 0.7807 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.3057, allocations: 456.4 kB / 0.7811 GB, free: 144 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.306, allocations: 67.42 kB / 0.7812 GB, free: 76 kB / 0.545 GB Notification: Performance of SimCode: time 9.51e-07/0.306, allocations: 4 kB / 0.7812 GB, free: 72 kB / 0.545 GB Notification: Performance of Templates: time 0.0292/0.3352, allocations: 22.38 MB / 0.8031 GB, free: 9.672 MB / 0.5762 GB " [Timeout remaining time 660] 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.702921740245074] Failed to read output from testmodel.py, exit status != 0: 0.34327581292018294 0.5744494400000001 0.42825677300000004 Calling exit ...