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.00193/0.00193, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.525/1.525, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001515/0.001515, allocations: 212.5 kB / 309.2 MB, free: 3.156 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.6324/0.6324, allocations: 107.3 MB / 473 MB, free: 29.99 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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",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.002652/0.002652, allocations: 90.86 kB / 0.6332 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1376, allocations: 80.18 MB / 0.7115 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007454/0.1451, allocations: 5.364 MB / 0.7167 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.1494, allocations: 1.821 MB / 0.7185 GB, free: 376 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.1499, allocations: 15.94 kB / 0.7185 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.1506, allocations: 214.2 kB / 0.7187 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.1523, allocations: 0.737 MB / 0.7194 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1536, allocations: 0.5372 MB / 0.72 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.1553, allocations: 1.444 MB / 0.7214 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.1557, allocations: 183.7 kB / 0.7216 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009343/0.1566, allocations: 0.5874 MB / 0.7221 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008336/0.1575, allocations: 0.6024 MB / 0.7227 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.1576, allocations: 96 kB / 0.7228 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.1582, allocations: 251.8 kB / 0.723 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.1585, allocations: 270.9 kB / 0.7233 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.159, allocations: 469.3 kB / 0.7238 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.1608, allocations: 1.42 MB / 0.7251 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1608, allocations: 0 / 0.7251 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1608, allocations: 0 / 0.7251 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.1608, allocations: 0 / 0.7251 GB, free: 9.535 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.007622/0.1684, allocations: 2.333 MB / 0.7274 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1684, allocations: 8.031 kB / 0.7274 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.1686, allocations: 114.7 kB / 0.7275 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.1721, allocations: 0.5615 MB / 0.7281 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.1737, allocations: 0.7241 MB / 0.7288 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.1741, allocations: 294.9 kB / 0.7291 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.1742, allocations: 64 kB / 0.7291 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.1761, allocations: 0.8302 MB / 0.7299 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1761, allocations: 0 / 0.7299 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.1762, allocations: 28 kB / 0.73 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.1762, allocations: 15.94 kB / 0.73 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.1781, allocations: 0.8484 MB / 0.7308 GB, free: 3.57 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.005528/0.1836, allocations: 2.368 MB / 0.7331 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006122/0.1898, allocations: 1.269 MB / 0.7344 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.191, allocations: 0.4958 MB / 0.7349 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.774e-05/0.1911, allocations: 16.59 kB / 0.7349 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.1924, allocations: 0.625 MB / 0.7355 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 3.066e-06/0.1924, allocations: 3.938 kB / 0.7355 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.01875/0.2112, allocations: 4.521 MB / 0.7399 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2113, allocations: 60.06 kB / 0.74 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.213, allocations: 0.97 MB / 0.7409 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.2132, allocations: 37.7 kB / 0.7409 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.2137, allocations: 480.9 kB / 0.7414 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.2141, allocations: 277.6 kB / 0.7417 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.2144, allocations: 178.6 kB / 0.7418 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2146, allocations: 353.8 kB / 0.7422 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.2159, allocations: 0.5524 MB / 0.7427 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.2173, allocations: 0.6633 MB / 0.7434 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.2353, allocations: 4.151 MB / 0.7474 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2353, allocations: 3.938 kB / 0.7474 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009086/0.2443, allocations: 2.824 MB / 0.7502 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.2444, allocations: 8 kB / 0.7502 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2444, allocations: 0 / 0.7502 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/0.2493, allocations: 1.268 MB / 0.7514 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.2503, allocations: 191.7 kB / 0.7516 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.2633, allocations: 5.467 MB / 0.7569 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.2647, allocations: 151.3 kB / 0.7571 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.2648, allocations: 35.98 kB / 0.7571 GB, free: 8.289 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 (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.0004708/0.2653, allocations: 240 kB / 0.7573 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2655, allocations: 119.2 kB / 0.7575 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008823/0.2743, allocations: 2.629 MB / 0.76 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2743, allocations: 8 kB / 0.76 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2743, allocations: 4 kB / 0.76 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.2743, allocations: 3.984 kB / 0.76 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.2856, allocations: 3.537 MB / 0.7635 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.2857, allocations: 3.938 kB / 0.7635 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.2862, allocations: 95.81 kB / 0.7636 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/0.2915, allocations: 1.318 MB / 0.7649 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.2917, allocations: 16 kB / 0.7649 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.3058, allocations: 5.782 MB / 0.7705 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3058, allocations: 0 / 0.7705 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.3165, allocations: 3.358 MB / 0.7738 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.317, allocations: 135.2 kB / 0.7739 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.3172, allocations: 15.94 kB / 0.774 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.3182, allocations: 87.89 kB / 0.774 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/0.3187, allocations: 156.4 kB / 0.7742 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.3188, allocations: 23.98 kB / 0.7742 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001146/0.3199, allocations: 0.6592 MB / 0.7749 GB, free: 5.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3199, allocations: 0 / 0.7749 GB, free: 5.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00122/0.3211, allocations: 351.7 kB / 0.7752 GB, free: 5.523 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.0109/0.332, allocations: 3.932 MB / 0.779 GB, free: 1.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005042/0.3371, allocations: 1.705 MB / 0.7807 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3371, allocations: 0 / 0.7807 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/0.3405, allocations: 1.082 MB / 0.7818 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.3414, allocations: 103 kB / 0.7819 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/0.3699, allocations: 11.98 MB / 0.7936 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.3704, allocations: 464.5 kB / 0.794 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004192/0.3708, allocations: 94.69 kB / 0.7941 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.3714, allocations: 403.3 kB / 0.7945 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.3714, allocations: 0 / 0.7945 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3664/0.7378, allocations: 29.84 MB / 0.8236 GB, free: 94.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.2, allocations: 12.72 kB / 0.8236 GB, free: 94.11 MB / 0.5762 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 19.15375499194488] Failed to read output from testmodel.py, exit status != 0: 15.340355810709298 15.353702724 15.190197833 Calling exit ...