Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001653/0.001653, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.488/1.488, allocations: 230.6 MB / 249.8 MB, free: 9.246 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.001592/0.001592, allocations: 204.5 kB / 306 MB, free: 4.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4831/0.4831, allocations: 79.72 MB / 441.8 MB, free: 140 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_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.002439/0.002439, allocations: 79.88 kB / 0.5878 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1323, allocations: 73.26 MB / 0.6593 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007288/0.1396, allocations: 6.042 MB / 0.6652 GB, free: 2.172 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1432, allocations: 1.895 MB / 0.6671 GB, free: 276 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.1436, allocations: 19.88 kB / 0.6671 GB, free: 256 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.1442, allocations: 210.2 kB / 0.6673 GB, free: 44 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.1459, allocations: 0.7555 MB / 0.668 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.147, allocations: 0.547 MB / 0.6686 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1486, allocations: 1.425 MB / 0.67 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.1489, allocations: 191.3 kB / 0.6701 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.1497, allocations: 0.5875 MB / 0.6707 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008121/0.1505, allocations: 0.6649 MB / 0.6714 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1507, allocations: 96 kB / 0.6715 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.1511, allocations: 247.9 kB / 0.6717 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.1514, allocations: 262.8 kB / 0.6719 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.1519, allocations: 0.5709 MB / 0.6725 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1536, allocations: 1.412 MB / 0.6739 GB, free: 9.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1536, allocations: 0 / 0.6739 GB, free: 9.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1536, allocations: 4 kB / 0.6739 GB, free: 9.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.1536, allocations: 0 / 0.6739 GB, free: 9.266 MB / 478.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.007526/0.1611, allocations: 2.293 MB / 0.6761 GB, free: 6.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1612, allocations: 8.031 kB / 0.6761 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.1613, allocations: 106.7 kB / 0.6762 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.165, allocations: 0.5654 MB / 0.6768 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.1664, allocations: 0.7963 MB / 0.6776 GB, free: 5.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.1667, allocations: 209.8 kB / 0.6778 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1668, allocations: 67.89 kB / 0.6778 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.1687, allocations: 0.8341 MB / 0.6786 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1687, allocations: 3.938 kB / 0.6786 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.1688, allocations: 24 kB / 0.6787 GB, free: 4.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1688, allocations: 19.94 kB / 0.6787 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.1708, allocations: 0.8523 MB / 0.6795 GB, free: 3.336 MB / 478.1 MB 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.005767/0.1766, allocations: 3.047 MB / 0.6825 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006696/0.1833, allocations: 1.644 MB / 0.6841 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.1845, allocations: 0.5029 MB / 0.6846 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.1846, allocations: 12.59 kB / 0.6846 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.1861, allocations: 0.6172 MB / 0.6852 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.685e-06/0.1861, allocations: 0 / 0.6852 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01997/0.206, allocations: 4.683 MB / 0.6898 GB, free: 8.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.2061, allocations: 60.06 kB / 0.6898 GB, free: 8.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.2077, allocations: 0.97 MB / 0.6908 GB, free: 7.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.2079, allocations: 41.7 kB / 0.6908 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.2083, allocations: 476.8 kB / 0.6913 GB, free: 6.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.2086, allocations: 273.6 kB / 0.6915 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.209, allocations: 178.6 kB / 0.6917 GB, free: 6.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2092, allocations: 353.8 kB / 0.692 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.2105, allocations: 0.5564 MB / 0.6926 GB, free: 5.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.2119, allocations: 0.6672 MB / 0.6932 GB, free: 4.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01851/0.2304, allocations: 4.151 MB / 0.6973 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2304, allocations: 4 kB / 0.6973 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.3071/0.5375, allocations: 2.82 MB / 0.7001 GB, free: 35.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.5375, allocations: 11.88 kB / 0.7001 GB, free: 35.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5376, allocations: 2.594 kB / 0.7001 GB, free: 35.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/0.5429, allocations: 1.266 MB / 0.7013 GB, free: 35.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.544, allocations: 187.4 kB / 0.7015 GB, free: 35.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.5576, allocations: 5.676 MB / 0.707 GB, free: 34.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.5591, allocations: 151.2 kB / 0.7072 GB, free: 34.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5592, allocations: 35.69 kB / 0.7072 GB, free: 34.35 MB / 494.1 MB 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.0004169/0.5596, allocations: 242.7 kB / 0.7074 GB, free: 34.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.5598, allocations: 124.1 kB / 0.7076 GB, free: 34.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009463/0.5692, allocations: 2.635 MB / 0.7101 GB, free: 33.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5692, allocations: 8.594 kB / 0.7101 GB, free: 33.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5693, allocations: 2.344 kB / 0.7101 GB, free: 33.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.5693, allocations: 7.406 kB / 0.7101 GB, free: 33.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.5806, allocations: 3.999 MB / 0.714 GB, free: 31.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.5807, allocations: 0.8125 kB / 0.714 GB, free: 31.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.5812, allocations: 89.75 kB / 0.7141 GB, free: 31.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005276/0.5865, allocations: 1.321 MB / 0.7154 GB, free: 31.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.5866, allocations: 15.45 kB / 0.7154 GB, free: 31.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.5993, allocations: 6.014 MB / 0.7213 GB, free: 28.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5993, allocations: 0 / 0.7213 GB, free: 28.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.6094, allocations: 3.363 MB / 0.7246 GB, free: 26.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.6097, allocations: 203.8 kB / 0.7248 GB, free: 26.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6098, allocations: 16.47 kB / 0.7248 GB, free: 26.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.6107, allocations: 86.61 kB / 0.7249 GB, free: 26.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004325/0.6112, allocations: 153.7 kB / 0.725 GB, free: 26.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.6112, allocations: 17.28 kB / 0.7251 GB, free: 26.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009152/0.6122, allocations: 0.6666 MB / 0.7257 GB, free: 25.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6122, allocations: 0 / 0.7257 GB, free: 25.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001124/0.6133, allocations: 353.6 kB / 0.726 GB, free: 25.84 MB / 494.1 MB 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.009844/0.6231, allocations: 3.927 MB / 0.7299 GB, free: 23.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004779/0.6279, allocations: 1.793 MB / 0.7316 GB, free: 22.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6279, allocations: 0 / 0.7316 GB, free: 22.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.631, allocations: 1.161 MB / 0.7328 GB, free: 21.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.6318, allocations: 107.2 kB / 0.7329 GB, free: 21.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/0.656, allocations: 11.98 MB / 0.7446 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.6564, allocations: 1.049 MB / 0.7456 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.6568, allocations: 94.67 kB / 0.7457 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.6572, allocations: 399.3 kB / 0.7461 GB, free: 9.367 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6572, allocations: 4 kB / 0.7461 GB, free: 9.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/0.7233, allocations: 28.54 MB / 0.7739 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.64, allocations: 15.97 kB / 0.7739 GB, free: 12.95 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.053824931994313] Failed to read output from testmodel.py, exit status != 0: 16.756140395998955 16.780553282 16.622415107 Calling exit ...