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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005883/0.005883, allocations: 99.83 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 239.4 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4794/0.4794, allocations: 91.9 MB / 431.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 81.23 kB / 0.5722 GB, free: 33.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 71.28 MB / 0.6418 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005874/0.1232, allocations: 6.02 MB / 0.6477 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.1263, allocations: 1.853 MB / 0.6495 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.1267, allocations: 19.94 kB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.1273, allocations: 210.2 kB / 0.6497 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1287, allocations: 0.7318 MB / 0.6504 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1298, allocations: 0.562 MB / 0.651 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.131, allocations: 1.421 MB / 0.6524 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.1315, allocations: 271.3 kB / 0.6526 GB, free: 9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.1321, allocations: 0.5641 MB / 0.6532 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.1328, allocations: 0.6571 MB / 0.6538 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.1329, allocations: 96 kB / 0.6539 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.1333, allocations: 235.9 kB / 0.6541 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1336, allocations: 266.8 kB / 0.6544 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.134, allocations: 0.567 MB / 0.655 GB, free: 6.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.1353, allocations: 1.404 MB / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1353, allocations: 0 / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1353, allocations: 0 / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1354, allocations: 0 / 0.6563 GB, free: 5.207 MB / 462.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.006718/0.1421, allocations: 2.27 MB / 0.6585 GB, free: 2.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1421, allocations: 12.03 kB / 0.6586 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.1423, allocations: 102.7 kB / 0.6587 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.1456, allocations: 0.5731 MB / 0.6592 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1469, allocations: 0.7962 MB / 0.66 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.1471, allocations: 205.8 kB / 0.6602 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1473, allocations: 68 kB / 0.6603 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.1489, allocations: 0.8341 MB / 0.6611 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.149, allocations: 0 / 0.6611 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.1491, allocations: 20 kB / 0.6611 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1491, allocations: 19.94 kB / 0.6611 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.1508, allocations: 0.8562 MB / 0.6619 GB, free: 15.3 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.005004/0.1558, allocations: 3.043 MB / 0.6649 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/0.1618, allocations: 1.708 MB / 0.6666 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.1629, allocations: 0.5459 MB / 0.6671 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/0.163, allocations: 20.52 kB / 0.6671 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.1642, allocations: 0.6133 MB / 0.6677 GB, free: 9.117 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.965e-06/0.1642, allocations: 4 kB / 0.6677 GB, free: 9.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01781/0.1821, allocations: 4.707 MB / 0.6723 GB, free: 4.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1821, allocations: 60.06 kB / 0.6724 GB, free: 4.285 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.1836, allocations: 0.9661 MB / 0.6733 GB, free: 3.301 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.1837, allocations: 41.7 kB / 0.6734 GB, free: 3.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.184, allocations: 476.8 kB / 0.6738 GB, free: 2.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.1843, allocations: 281.6 kB / 0.6741 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/0.1846, allocations: 178.6 kB / 0.6743 GB, free: 2.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1847, allocations: 345.9 kB / 0.6746 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.1859, allocations: 0.5564 MB / 0.6751 GB, free: 1.422 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.1871, allocations: 0.6633 MB / 0.6758 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/0.2033, allocations: 4.042 MB / 0.6797 GB, free: 12.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.2034, allocations: 0 / 0.6797 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008766/0.2122, allocations: 2.836 MB / 0.6825 GB, free: 9.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.2122, allocations: 8 kB / 0.6825 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2122, allocations: 4 kB / 0.6825 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004699/0.2169, allocations: 1.276 MB / 0.6838 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.2179, allocations: 183.8 kB / 0.6839 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.2301, allocations: 5.677 MB / 0.6895 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.2315, allocations: 159.2 kB / 0.6896 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.2316, allocations: 36 kB / 0.6897 GB, free: 2.324 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.0004207/0.232, allocations: 233.6 kB / 0.6899 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.2322, allocations: 119.2 kB / 0.69 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008365/0.2406, allocations: 2.665 MB / 0.6926 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.2406, allocations: 4 kB / 0.6926 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.2407, allocations: 4 kB / 0.6926 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.2407, allocations: 3.984 kB / 0.6926 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.2514, allocations: 4.019 MB / 0.6965 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.2515, allocations: 3.938 kB / 0.6965 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.2521, allocations: 87.83 kB / 0.6966 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004861/0.2569, allocations: 1.331 MB / 0.6979 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.2571, allocations: 12 kB / 0.6979 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.2698, allocations: 6.02 MB / 0.7038 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2698, allocations: 0 / 0.7038 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009703/0.2795, allocations: 3.385 MB / 0.7071 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.2799, allocations: 200.6 kB / 0.7073 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.2801, allocations: 19.98 kB / 0.7073 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.2811, allocations: 83.91 kB / 0.7074 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/0.2816, allocations: 160.4 kB / 0.7076 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/0.2817, allocations: 16 kB / 0.7076 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001023/0.2827, allocations: 0.667 MB / 0.7082 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2827, allocations: 3.938 kB / 0.7082 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001185/0.2839, allocations: 351.7 kB / 0.7086 GB, free: 14.61 MB / 0.5137 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.009928/0.2938, allocations: 3.947 MB / 0.7124 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004824/0.2987, allocations: 1.877 MB / 0.7143 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2987, allocations: 0 / 0.7143 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.3021, allocations: 1.211 MB / 0.7154 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009471/0.303, allocations: 104.3 kB / 0.7155 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/0.3305, allocations: 12.01 MB / 0.7273 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.3312, allocations: 1.049 MB / 0.7283 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000453/0.3317, allocations: 94.69 kB / 0.7284 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.3323, allocations: 399.3 kB / 0.7288 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.3323, allocations: 0 / 0.7288 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05781/0.3901, allocations: 28.24 MB / 0.7563 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/15.47, allocations: 12.38 kB / 0.7564 GB, free: 13.48 MB / 0.5606 GB (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)