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.0006259/0.0006259, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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 0.831/0.831, allocations: 177.1 MB / 199.4 MB, free: 5.918 MB / 186.7 MB " [Timeout remaining time 179] 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.000966/0.000966, allocations: 152.7 kB / 256 MB, free: 13.33 MB / 250.7 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.258/0.258, allocations: 80.35 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5549 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.874e-05, allocations: 6.109 kB / 0.5549 GB, free: 12.3 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004571/0.00459, allocations: 5.362 MB / 0.5601 GB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.007291, allocations: 1.806 MB / 0.5619 GB, free: 5.094 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.007732, allocations: 11.94 kB / 0.5619 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.008283, allocations: 214.1 kB / 0.5621 GB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.00961, allocations: 0.757 MB / 0.5629 GB, free: 4.117 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.01054, allocations: 0.5562 MB / 0.5634 GB, free: 3.562 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.01168, allocations: 1.424 MB / 0.5648 GB, free: 2.133 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.01196, allocations: 199.6 kB / 0.565 GB, free: 1.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007942/0.01275, allocations: 0.7831 MB / 0.5657 GB, free: 1.145 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.01319, allocations: 0.5062 MB / 0.5662 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.0133, allocations: 100 kB / 0.5663 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.01362, allocations: 243.8 kB / 0.5666 GB, free: 308 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.01379, allocations: 266.8 kB / 0.5668 GB, free: 40 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1871/0.2009, allocations: 379 kB / 0.5672 GB, free: 16.56 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.2024, allocations: 1.441 MB / 0.5686 GB, free: 16.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2024, allocations: 4.75 kB / 0.5686 GB, free: 16.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2024, allocations: 0 / 0.5686 GB, free: 16.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.2024, allocations: 0 / 0.5686 GB, free: 16.5 MB / 442.7 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.004296/0.2067, allocations: 2.317 MB / 0.5709 GB, free: 15.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2067, allocations: 12.55 kB / 0.5709 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.2068, allocations: 109 kB / 0.571 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.2086, allocations: 0.5606 MB / 0.5715 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.2096, allocations: 0.7235 MB / 0.5722 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2097, allocations: 292.8 kB / 0.5725 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.2098, allocations: 63.66 kB / 0.5726 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2109, allocations: 0.8314 MB / 0.5734 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2109, allocations: 0 / 0.5734 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.211, allocations: 27.05 kB / 0.5734 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.211, allocations: 14.69 kB / 0.5734 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.2122, allocations: 0.8475 MB / 0.5743 GB, free: 14.98 MB / 442.7 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.003456/0.2157, allocations: 2.375 MB / 0.5766 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.2187, allocations: 1.26 MB / 0.5778 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.2194, allocations: 0.5013 MB / 0.5783 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.2195, allocations: 8.094 kB / 0.5783 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008421/0.2203, allocations: 0.614 MB / 0.5789 GB, free: 13.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.846e-06/0.2203, allocations: 0 / 0.5789 GB, free: 13.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.01005/0.2304, allocations: 4.536 MB / 0.5833 GB, free: 12.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2304, allocations: 66.56 kB / 0.5834 GB, free: 12.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/0.2314, allocations: 0.9719 MB / 0.5843 GB, free: 11.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.2314, allocations: 43.95 kB / 0.5844 GB, free: 11.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2316, allocations: 477.4 kB / 0.5848 GB, free: 11.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.2318, allocations: 274.9 kB / 0.5851 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.232, allocations: 179 kB / 0.5853 GB, free: 11.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.232, allocations: 342.2 kB / 0.5856 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/0.2327, allocations: 0.5503 MB / 0.5861 GB, free: 10.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007577/0.2335, allocations: 0.6672 MB / 0.5868 GB, free: 10.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008436/0.2419, allocations: 4.156 MB / 0.5908 GB, free: 8.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2419, allocations: 1.094 kB / 0.5908 GB, free: 8.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004689/0.2466, allocations: 2.829 MB / 0.5936 GB, free: 7.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2466, allocations: 6.969 kB / 0.5936 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2466, allocations: 2.219 kB / 0.5936 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.249, allocations: 1.272 MB / 0.5949 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.2497, allocations: 185.1 kB / 0.595 GB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.2566, allocations: 5.468 MB / 0.6004 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/0.2574, allocations: 151.7 kB / 0.6005 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.2575, allocations: 41.52 kB / 0.6006 GB, free: 3.023 MB / 442.7 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.0003303/0.2578, allocations: 238.2 kB / 0.6008 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2579, allocations: 118 kB / 0.6009 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.262, allocations: 2.626 MB / 0.6035 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.262, allocations: 11.94 kB / 0.6035 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.262, allocations: 0 / 0.6035 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.262, allocations: 7.984 kB / 0.6035 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.2675, allocations: 3.536 MB / 0.6069 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2676, allocations: 4 kB / 0.6069 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.2678, allocations: 83.33 kB / 0.607 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.2703, allocations: 1.325 MB / 0.6083 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.2704, allocations: 20 kB / 0.6083 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007395/0.2778, allocations: 5.78 MB / 0.614 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2778, allocations: 0 / 0.614 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.2832, allocations: 3.353 MB / 0.6172 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.2835, allocations: 127.2 kB / 0.6174 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.2836, allocations: 16 kB / 0.6174 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.2841, allocations: 87.89 kB / 0.6175 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.2844, allocations: 160.4 kB / 0.6176 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.2844, allocations: 20 kB / 0.6176 GB, free: 2.285 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006558/0.2851, allocations: 0.663 MB / 0.6183 GB, free: 1.613 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2851, allocations: 4 kB / 0.6183 GB, free: 1.609 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000793/0.2859, allocations: 351.8 kB / 0.6186 GB, free: 1.266 MB / 458.7 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.005776/0.2917, allocations: 3.941 MB / 0.6225 GB, free: 13.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.2945, allocations: 1.703 MB / 0.6241 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2945, allocations: 4.188 kB / 0.6241 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.2962, allocations: 1.092 MB / 0.6252 GB, free: 10.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.2968, allocations: 95.66 kB / 0.6253 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.3127, allocations: 11.94 MB / 0.637 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.313, allocations: 460.5 kB / 0.6374 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.3133, allocations: 98.66 kB / 0.6375 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.3136, allocations: 404.4 kB / 0.6379 GB, free: 13.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3136, allocations: 0 / 0.6379 GB, free: 13.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.3548, allocations: 30.07 MB / 0.6672 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.434, allocations: 17.36 kB / 0.6673 GB, free: 15.54 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.106224540621042] Failed to read output from testmodel.py, exit status != 0: 8.53388519398868 8.541957449 8.338042163999999 Calling exit ...