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.001316/0.001316, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.461/1.461, allocations: 230.6 MB / 252.6 MB, free: 8.336 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.00218/0.00218, allocations: 214.2 kB / 309.2 MB, free: 3.203 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.5827/0.5827, allocations: 101.3 MB / 467 MB, free: 10.37 MB / 334.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="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.002497/0.002497, allocations: 83.88 kB / 0.6244 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4406, allocations: 78.61 MB / 0.7012 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007137/0.4477, allocations: 6.094 MB / 0.7071 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005511/0.4532, allocations: 1.924 MB / 0.709 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.4546, allocations: 19.47 kB / 0.709 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008304/0.4554, allocations: 211.3 kB / 0.7092 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.4578, allocations: 0.7605 MB / 0.71 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.4591, allocations: 0.5554 MB / 0.7105 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.4611, allocations: 1.454 MB / 0.7119 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.4615, allocations: 190.8 kB / 0.7121 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008527/0.4623, allocations: 0.5865 MB / 0.7127 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.4631, allocations: 0.6638 MB / 0.7133 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.4632, allocations: 103.1 kB / 0.7134 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.4637, allocations: 251.9 kB / 0.7137 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.4639, allocations: 263.8 kB / 0.7139 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.4643, allocations: 0.5697 MB / 0.7145 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.4661, allocations: 1.409 MB / 0.7158 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4661, allocations: 0.6562 kB / 0.7158 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4661, allocations: 0 / 0.7158 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.413e-05/0.4661, allocations: 0 / 0.7158 GB, free: 15.91 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.007572/0.4737, allocations: 2.334 MB / 0.7181 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4737, allocations: 11.12 kB / 0.7181 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.4739, allocations: 110.5 kB / 0.7182 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.4772, allocations: 0.56 MB / 0.7188 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4787, allocations: 0.7302 MB / 0.7195 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.4789, allocations: 286.9 kB / 0.7198 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.4791, allocations: 68.88 kB / 0.7198 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.4808, allocations: 0.834 MB / 0.7207 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4808, allocations: 0 / 0.7207 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.4809, allocations: 25.78 kB / 0.7207 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4809, allocations: 17.84 kB / 0.7207 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.4827, allocations: 0.8476 MB / 0.7215 GB, free: 13.2 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.006199/0.4889, allocations: 2.993 MB / 0.7244 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006265/0.4951, allocations: 1.262 MB / 0.7257 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4965, allocations: 0.5004 MB / 0.7262 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4966, allocations: 16.77 kB / 0.7262 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.4981, allocations: 0.6198 MB / 0.7268 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 2.595e-06/0.4981, allocations: 4.531 kB / 0.7268 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01904/0.5171, allocations: 4.531 MB / 0.7312 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5172, allocations: 58.94 kB / 0.7313 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.519, allocations: 0.9672 MB / 0.7322 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.5192, allocations: 44.73 kB / 0.7323 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.5196, allocations: 475.8 kB / 0.7327 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.52, allocations: 274.5 kB / 0.733 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.5203, allocations: 183.4 kB / 0.7331 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5205, allocations: 347.5 kB / 0.7335 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.5218, allocations: 0.5529 MB / 0.734 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.5232, allocations: 0.6661 MB / 0.7347 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.5416, allocations: 4.158 MB / 0.7387 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5416, allocations: 0 / 0.7387 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009127/0.5508, allocations: 2.822 MB / 0.7415 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5508, allocations: 6.469 kB / 0.7415 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5508, allocations: 2.188 kB / 0.7415 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005013/0.5558, allocations: 1.269 MB / 0.7427 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5569, allocations: 187.4 kB / 0.7429 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.5702, allocations: 5.577 MB / 0.7484 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.5718, allocations: 153.3 kB / 0.7485 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5719, allocations: 35.61 kB / 0.7485 GB, free: 14.61 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.0005035/0.5724, allocations: 237.9 kB / 0.7488 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5726, allocations: 119.7 kB / 0.7489 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009092/0.5817, allocations: 2.64 MB / 0.7515 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.5817, allocations: 8 kB / 0.7515 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5817, allocations: 0 / 0.7515 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.5818, allocations: 3.984 kB / 0.7515 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.593, allocations: 3.971 MB / 0.7553 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.593, allocations: 3.938 kB / 0.7554 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.5936, allocations: 91.83 kB / 0.7554 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005134/0.5987, allocations: 1.326 MB / 0.7567 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.5989, allocations: 12 kB / 0.7567 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.6128, allocations: 5.919 MB / 0.7625 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6128, allocations: 3.938 kB / 0.7625 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.6235, allocations: 3.358 MB / 0.7658 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.624, allocations: 123.2 kB / 0.7659 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.6242, allocations: 16 kB / 0.7659 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6252, allocations: 87.89 kB / 0.766 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/0.6257, allocations: 164.3 kB / 0.7662 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.6258, allocations: 20 kB / 0.7662 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00107/0.6269, allocations: 0.6669 MB / 0.7669 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6269, allocations: 0 / 0.7669 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001131/0.628, allocations: 351.8 kB / 0.7672 GB, free: 12.27 MB / 0.5294 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.01133/0.6393, allocations: 3.928 MB / 0.771 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005311/0.6446, allocations: 1.709 MB / 0.7727 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6446, allocations: 0 / 0.7727 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/0.6482, allocations: 1.089 MB / 0.7738 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.6492, allocations: 110.5 kB / 0.7739 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/0.6783, allocations: 11.97 MB / 0.7856 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.679, allocations: 1.046 MB / 0.7866 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004859/0.6795, allocations: 90.69 kB / 0.7867 GB, free: 8.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.6801, allocations: 399.3 kB / 0.787 GB, free: 7.656 MB / 0.545 GB Notification: Performance of SimCode: time 9.31e-07/0.6801, allocations: 0 / 0.787 GB, free: 7.656 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07199/0.7521, allocations: 29.32 MB / 0.8157 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/17.75, allocations: 11.16 kB / 0.8157 GB, free: 10.48 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 & 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: 21.315700790000847] Failed to read output from testmodel.py, exit status != 0: 17.88242226500006 17.906405272 17.435772203 Calling exit ...