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.001912/0.001912, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.549/1.549, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.002461/0.002461, allocations: 224.8 kB / 306 MB, free: 4.289 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.6034/0.6034, allocations: 101.3 MB / 463.4 MB, free: 11.89 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.002588/0.002588, allocations: 87.88 kB / 0.6193 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1414, allocations: 78.58 MB / 0.696 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2617/0.4031, allocations: 6.065 MB / 0.7019 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.4061, allocations: 1.911 MB / 0.7038 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.4066, allocations: 14.03 kB / 0.7038 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.4071, allocations: 213.1 kB / 0.704 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.4084, allocations: 0.7589 MB / 0.7048 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.4094, allocations: 0.5435 MB / 0.7053 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.4106, allocations: 1.426 MB / 0.7067 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.4108, allocations: 189.7 kB / 0.7069 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.4115, allocations: 0.581 MB / 0.7074 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.4121, allocations: 0.6668 MB / 0.7081 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.4122, allocations: 102.1 kB / 0.7082 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.4127, allocations: 253 kB / 0.7084 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.4129, allocations: 261.7 kB / 0.7087 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.4132, allocations: 0.5717 MB / 0.7092 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4146, allocations: 1.408 MB / 0.7106 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4146, allocations: 0.7031 kB / 0.7106 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4146, allocations: 3.938 kB / 0.7106 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.4146, allocations: 0 / 0.7106 GB, free: 0.6289 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.007202/0.4218, allocations: 2.293 MB / 0.7128 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4219, allocations: 10.44 kB / 0.7129 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.422, allocations: 105.9 kB / 0.713 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.4257, allocations: 0.563 MB / 0.7135 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.427, allocations: 0.8031 MB / 0.7143 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.4273, allocations: 209.8 kB / 0.7145 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.4274, allocations: 62.44 kB / 0.7146 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.4292, allocations: 0.8325 MB / 0.7154 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4292, allocations: 0 / 0.7154 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4294, allocations: 26.42 kB / 0.7154 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.4294, allocations: 21.34 kB / 0.7154 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.4313, allocations: 0.8515 MB / 0.7162 GB, free: 13.91 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.00599/0.4373, allocations: 3.033 MB / 0.7192 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006843/0.4441, allocations: 1.654 MB / 0.7208 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.4454, allocations: 0.4991 MB / 0.7213 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-05/0.4455, allocations: 13.38 kB / 0.7213 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.4469, allocations: 0.6244 MB / 0.7219 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 3.006e-06/0.4469, allocations: 0 / 0.7219 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.02038/0.4673, allocations: 4.683 MB / 0.7265 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4674, allocations: 59.41 kB / 0.7266 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.4689, allocations: 0.9708 MB / 0.7275 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.469, allocations: 40.45 kB / 0.7275 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.4694, allocations: 479.8 kB / 0.728 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.4697, allocations: 270.7 kB / 0.7283 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.4701, allocations: 187.9 kB / 0.7284 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4703, allocations: 346 kB / 0.7288 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4716, allocations: 0.5499 MB / 0.7293 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.473, allocations: 0.6666 MB / 0.73 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01862/0.4916, allocations: 4.149 MB / 0.734 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4916, allocations: 0 / 0.734 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00964/0.5012, allocations: 2.827 MB / 0.7368 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.5013, allocations: 5.812 kB / 0.7368 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.5013, allocations: 2.906 kB / 0.7368 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005265/0.5065, allocations: 1.261 MB / 0.738 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5076, allocations: 190 kB / 0.7382 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.5213, allocations: 5.697 MB / 0.7438 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5228, allocations: 154.4 kB / 0.7439 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.5229, allocations: 35.3 kB / 0.7439 GB, free: 14.95 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.0004947/0.5234, allocations: 235.2 kB / 0.7442 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5236, allocations: 118.5 kB / 0.7443 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009508/0.5331, allocations: 2.638 MB / 0.7468 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5331, allocations: 7.938 kB / 0.7469 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5331, allocations: 0 / 0.7469 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.5332, allocations: 3.984 kB / 0.7469 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.5448, allocations: 4.002 MB / 0.7508 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.5448, allocations: 3.938 kB / 0.7508 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.5453, allocations: 87.89 kB / 0.7509 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00538/0.5507, allocations: 1.326 MB / 0.7522 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.5508, allocations: 15.98 kB / 0.7522 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.5652, allocations: 6.027 MB / 0.7581 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5652, allocations: 0 / 0.7581 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.5764, allocations: 3.361 MB / 0.7613 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.5768, allocations: 196.4 kB / 0.7615 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.577, allocations: 23.92 kB / 0.7615 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.578, allocations: 83.91 kB / 0.7616 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005137/0.5786, allocations: 156.4 kB / 0.7618 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.5786, allocations: 20 kB / 0.7618 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001118/0.5798, allocations: 0.6631 MB / 0.7624 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5798, allocations: 0 / 0.7624 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001285/0.581, allocations: 359.7 kB / 0.7628 GB, free: 12.93 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.01157/0.5926, allocations: 3.933 MB / 0.7666 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005399/0.598, allocations: 1.788 MB / 0.7684 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.598, allocations: 0 / 0.7684 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/0.6018, allocations: 1.175 MB / 0.7695 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/0.6027, allocations: 97.33 kB / 0.7696 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03018/0.6329, allocations: 11.97 MB / 0.7813 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/0.6336, allocations: 1.042 MB / 0.7823 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004318/0.634, allocations: 98.67 kB / 0.7824 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.6346, allocations: 399.3 kB / 0.7828 GB, free: 8.129 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.6346, allocations: 0 / 0.7828 GB, free: 8.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06888/0.7035, allocations: 28.55 MB / 0.8107 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.59, allocations: 11.14 kB / 0.8107 GB, free: 11.68 MB / 0.5762 GB " [Timeout remaining time 643] (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: 20.186364064225927] Failed to read output from testmodel.py, exit status != 0: 16.70330347120762 16.723245804 16.304792395 Calling exit ...