Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 181.6 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 239.5 MB, free: 1.605 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007952/0.0007954, allocations: 99.05 kB / 290.6 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4969/0.4969, allocations: 78.62 MB / 420.4 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 12 kB / 0.4889 GB, free: 2.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4261, allocations: 69.35 MB / 0.5566 GB, free: 39 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007882/0.434, allocations: 5.877 MB / 0.5623 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.4392, allocations: 1.854 MB / 0.5641 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.4402, allocations: 15.62 kB / 0.5642 GB, free: 35.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.4409, allocations: 160.7 kB / 0.5643 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.4431, allocations: 0.6255 MB / 0.5649 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.4447, allocations: 0.5017 MB / 0.5654 GB, free: 35.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.447, allocations: 1.339 MB / 0.5667 GB, free: 34.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.4475, allocations: 257.6 kB / 0.567 GB, free: 34.78 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008847/0.4484, allocations: 0.4951 MB / 0.5674 GB, free: 34.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.4492, allocations: 0.5988 MB / 0.568 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.4494, allocations: 49.88 kB / 0.5681 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.4501, allocations: 175.4 kB / 0.5682 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.4504, allocations: 217.9 kB / 0.5685 GB, free: 34.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.451, allocations: 0.529 MB / 0.569 GB, free: 33.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.453, allocations: 1.307 MB / 0.5702 GB, free: 33.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.453, allocations: 0 / 0.5702 GB, free: 33.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.453, allocations: 0 / 0.5702 GB, free: 33.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.453, allocations: 2.531 kB / 0.5702 GB, free: 33.26 MB / 426.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.008667/0.4617, allocations: 2.08 MB / 0.5723 GB, free: 32.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4618, allocations: 9.25 kB / 0.5723 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.462, allocations: 106.2 kB / 0.5724 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.4665, allocations: 0.5628 MB / 0.5729 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.4678, allocations: 0.7794 MB / 0.5737 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.4681, allocations: 220.8 kB / 0.5739 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.4683, allocations: 67.5 kB / 0.574 GB, free: 31.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.4706, allocations: 0.8782 MB / 0.5748 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.4706, allocations: 0 / 0.5748 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.4707, allocations: 25.16 kB / 0.5749 GB, free: 31.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.4708, allocations: 20.5 kB / 0.5749 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4735, allocations: 0.9103 MB / 0.5758 GB, free: 30.72 MB / 426.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.007917/0.4815, allocations: 3.111 MB / 0.5788 GB, free: 28.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008571/0.4901, allocations: 1.973 MB / 0.5807 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.4919, allocations: 0.6046 MB / 0.5813 GB, free: 27.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.4921, allocations: 16.67 kB / 0.5813 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.4938, allocations: 0.6628 MB / 0.582 GB, free: 27.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 6.011e-06/0.4938, allocations: 3.984 kB / 0.582 GB, free: 27.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.02449/0.5183, allocations: 5.615 MB / 0.5875 GB, free: 26.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.5184, allocations: 61.5 kB / 0.5875 GB, free: 26.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.5204, allocations: 0.9629 MB / 0.5885 GB, free: 26.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.5206, allocations: 41.3 kB / 0.5885 GB, free: 25.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.521, allocations: 472.8 kB / 0.589 GB, free: 25.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.5214, allocations: 266.6 kB / 0.5892 GB, free: 25.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.5215, allocations: 95.67 kB / 0.5893 GB, free: 25.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.5216, allocations: 348 kB / 0.5896 GB, free: 25.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.5233, allocations: 0.5975 MB / 0.5902 GB, free: 24.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.5251, allocations: 0.7231 MB / 0.5909 GB, free: 24.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0238/0.5489, allocations: 4.435 MB / 0.5953 GB, free: 23.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.549, allocations: 1.344 kB / 0.5953 GB, free: 23.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01313/0.5621, allocations: 3.343 MB / 0.5985 GB, free: 22.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.5622, allocations: 5.688 kB / 0.5985 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5622, allocations: 4.703 kB / 0.5985 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006911/0.5691, allocations: 1.479 MB / 0.6 GB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.5706, allocations: 195.4 kB / 0.6002 GB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.5887, allocations: 5.74 MB / 0.6058 GB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.5907, allocations: 175.7 kB / 0.6059 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.5909, allocations: 40.42 kB / 0.606 GB, free: 19.27 MB / 426.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.00059/0.5915, allocations: 231.8 kB / 0.6062 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.5918, allocations: 115.4 kB / 0.6063 GB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.6051, allocations: 3.16 MB / 0.6094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.6052, allocations: 7.844 kB / 0.6094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6052, allocations: 5.719 kB / 0.6094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.6052, allocations: 3.562 kB / 0.6094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.6204, allocations: 4.531 MB / 0.6138 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.6204, allocations: 4 kB / 0.6138 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.6212, allocations: 103.9 kB / 0.6139 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00656/0.6278, allocations: 1.529 MB / 0.6154 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.628, allocations: 15.94 kB / 0.6154 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/0.6443, allocations: 5.903 MB / 0.6212 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6444, allocations: 0 / 0.6212 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.6587, allocations: 3.922 MB / 0.625 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.6594, allocations: 203.7 kB / 0.6252 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.6598, allocations: 16 kB / 0.6252 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.6613, allocations: 111.9 kB / 0.6254 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006652/0.662, allocations: 156.3 kB / 0.6255 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.6621, allocations: 27.94 kB / 0.6255 GB, free: 2.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001397/0.6635, allocations: 0.6553 MB / 0.6262 GB, free: 2.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6635, allocations: 0 / 0.6262 GB, free: 2.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001795/0.6653, allocations: 355.8 kB / 0.6265 GB, free: 1.762 MB / 426.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.01485/0.6802, allocations: 4.49 MB / 0.6309 GB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007268/0.6875, allocations: 2.047 MB / 0.6329 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6875, allocations: 0 / 0.6329 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.6924, allocations: 1.334 MB / 0.6342 GB, free: 9.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.6941, allocations: 92.59 kB / 0.6343 GB, free: 9.699 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04238/0.7366, allocations: 13.96 MB / 0.6479 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/0.7375, allocations: 1.049 MB / 0.6489 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006726/0.7382, allocations: 98.67 kB / 0.649 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007954/0.739, allocations: 395.3 kB / 0.6494 GB, free: 9.812 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.739, allocations: 0 / 0.6494 GB, free: 9.812 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06206/0.8011, allocations: 25.45 MB / 0.6743 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.8014, allocations: 215.7 kB / 0.6745 GB, free: 288 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.492, allocations: 0 / 0.6745 GB, free: 288 kB / 474.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)