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.00184/0.00184, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.429/1.429, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.002319/0.002319, allocations: 219 kB / 310 MB, free: 3.051 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.5681/0.5681, allocations: 101.3 MB / 467.7 MB, free: 31.94 MB / 350.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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="cs",version="2.0",platforms={"static"}) [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.002306/0.002306, allocations: 93.94 kB / 0.625 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 78.61 MB / 0.7018 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00654/0.1387, allocations: 5.355 MB / 0.707 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.1422, allocations: 1.813 MB / 0.7088 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.1426, allocations: 15.94 kB / 0.7088 GB, free: 9.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.1432, allocations: 210.2 kB / 0.709 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.1447, allocations: 0.7412 MB / 0.7098 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1459, allocations: 0.5437 MB / 0.7103 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.1474, allocations: 1.448 MB / 0.7117 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.1478, allocations: 195.7 kB / 0.7119 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000791/0.1486, allocations: 0.5875 MB / 0.7125 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.1494, allocations: 0.6688 MB / 0.7131 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1495, allocations: 96 kB / 0.7132 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.15, allocations: 247.9 kB / 0.7134 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.1502, allocations: 270.9 kB / 0.7137 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.1507, allocations: 465.3 kB / 0.7141 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.1522, allocations: 1.428 MB / 0.7155 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1522, allocations: 0 / 0.7155 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1522, allocations: 0 / 0.7155 GB, free: 2.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.1522, allocations: 0 / 0.7155 GB, free: 2.777 MB / 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.007171/0.1594, allocations: 2.34 MB / 0.7178 GB, free: 404 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1594, allocations: 8.031 kB / 0.7178 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.312e-05/0.1595, allocations: 17.5 kB / 0.7178 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1596, allocations: 114.7 kB / 0.718 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.163, allocations: 0.5574 MB / 0.7185 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1644, allocations: 0.728 MB / 0.7192 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.1647, allocations: 290.9 kB / 0.7195 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.1649, allocations: 63.98 kB / 0.7195 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1667, allocations: 0.8302 MB / 0.7204 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1667, allocations: 3.984 kB / 0.7204 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.1668, allocations: 27.94 kB / 0.7204 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1668, allocations: 16 kB / 0.7204 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.1686, allocations: 0.8484 MB / 0.7212 GB, free: 12.79 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.005394/0.174, allocations: 2.372 MB / 0.7235 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/0.1799, allocations: 1.262 MB / 0.7248 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.181, allocations: 0.5035 MB / 0.7253 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/0.1811, allocations: 12.66 kB / 0.7253 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.1824, allocations: 0.6172 MB / 0.7259 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 3.227e-06/0.1824, allocations: 0 / 0.7259 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.0183/0.2007, allocations: 4.525 MB / 0.7303 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.2008, allocations: 60.06 kB / 0.7304 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.2024, allocations: 0.9661 MB / 0.7313 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.2026, allocations: 45.64 kB / 0.7313 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.203, allocations: 476.9 kB / 0.7318 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.2033, allocations: 277.6 kB / 0.7321 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.2038, allocations: 178.6 kB / 0.7322 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2039, allocations: 345.9 kB / 0.7326 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.2052, allocations: 0.5564 MB / 0.7331 GB, free: 484 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.2065, allocations: 0.6633 MB / 0.7338 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/0.2243, allocations: 4.151 MB / 0.7378 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.2243, allocations: 7.938 kB / 0.7378 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008942/0.2332, allocations: 2.828 MB / 0.7406 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2333, allocations: 4 kB / 0.7406 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2333, allocations: 7.938 kB / 0.7406 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004718/0.238, allocations: 1.261 MB / 0.7418 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.239, allocations: 191.7 kB / 0.742 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.2517, allocations: 5.462 MB / 0.7473 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.2532, allocations: 159.2 kB / 0.7475 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.2534, allocations: 39.98 kB / 0.7475 GB, free: 1.5 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.0005575/0.254, allocations: 237.5 kB / 0.7478 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.2542, allocations: 115.2 kB / 0.7479 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/0.2629, allocations: 2.63 MB / 0.7504 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2629, allocations: 12 kB / 0.7504 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2629, allocations: 4 kB / 0.7505 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.2629, allocations: 3.984 kB / 0.7505 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.273, allocations: 3.541 MB / 0.7539 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.273, allocations: 0 / 0.7539 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.2735, allocations: 91.83 kB / 0.754 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004758/0.2783, allocations: 1.318 MB / 0.7553 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/0.2783, allocations: 16 kB / 0.7553 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.2914, allocations: 5.785 MB / 0.761 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2914, allocations: 0 / 0.761 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009896/0.3013, allocations: 3.365 MB / 0.7642 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.3016, allocations: 123.2 kB / 0.7644 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.3018, allocations: 12 kB / 0.7644 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.3029, allocations: 87.89 kB / 0.7645 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/0.3034, allocations: 164.4 kB / 0.7646 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/0.3035, allocations: 23.94 kB / 0.7646 GB, free: 15.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001135/0.3046, allocations: 0.6592 MB / 0.7653 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3046, allocations: 0 / 0.7653 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001159/0.3058, allocations: 351.7 kB / 0.7656 GB, free: 14.74 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.01046/0.3162, allocations: 3.928 MB / 0.7694 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005049/0.3213, allocations: 1.713 MB / 0.7711 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3213, allocations: 0 / 0.7711 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003368/0.3247, allocations: 1.081 MB / 0.7722 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/0.3256, allocations: 100.5 kB / 0.7723 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/0.3538, allocations: 11.98 MB / 0.784 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.3543, allocations: 456.5 kB / 0.7844 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004261/0.3548, allocations: 110.6 kB / 0.7845 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.3554, allocations: 399.3 kB / 0.7849 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.3554, allocations: 0 / 0.7849 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3357/0.6911, allocations: 29.31 MB / 0.8135 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.32, allocations: 13.19 kB / 0.8135 GB, free: 103.6 MB / 0.5762 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.016675109043717] Failed to read output from testmodel.py, exit status != 0: 17.50345761294011 17.52287384 17.366997777 Calling exit ...