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.001296/0.001296, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.421/1.421, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001553/0.001553, allocations: 208.4 kB / 306.7 MB, free: 4.285 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.5588/0.5588, allocations: 101.3 MB / 464 MB, free: 11.92 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="cs",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.003576/0.003576, allocations: 95.84 kB / 0.6199 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1628, allocations: 78.56 MB / 0.6967 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2966/0.4594, allocations: 6.064 MB / 0.7026 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.4632, allocations: 1.911 MB / 0.7045 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007884/0.464, allocations: 18.31 kB / 0.7045 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.4646, allocations: 211.3 kB / 0.7047 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.4664, allocations: 0.7561 MB / 0.7054 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4675, allocations: 0.5477 MB / 0.7059 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.4689, allocations: 1.429 MB / 0.7073 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.4693, allocations: 190.7 kB / 0.7075 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.47, allocations: 0.579 MB / 0.7081 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.4706, allocations: 0.6634 MB / 0.7087 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.4708, allocations: 100.2 kB / 0.7088 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.4712, allocations: 248.4 kB / 0.7091 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.4714, allocations: 268.8 kB / 0.7093 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.4718, allocations: 0.5657 MB / 0.7099 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.4733, allocations: 1.416 MB / 0.7113 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4733, allocations: 0 / 0.7113 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4733, allocations: 4 kB / 0.7113 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4733, allocations: 0 / 0.7113 GB, free: 0.6523 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.007114/0.4805, allocations: 2.286 MB / 0.7135 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4805, allocations: 8.953 kB / 0.7135 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.087e-05/0.4805, allocations: 17.59 kB / 0.7135 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.4807, allocations: 110.3 kB / 0.7136 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.4841, allocations: 0.5574 MB / 0.7142 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.4855, allocations: 0.7998 MB / 0.7149 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.4858, allocations: 210.3 kB / 0.7152 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.4859, allocations: 66.59 kB / 0.7152 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.4876, allocations: 0.8296 MB / 0.716 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4876, allocations: 7.938 kB / 0.716 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.4877, allocations: 29.78 kB / 0.7161 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4877, allocations: 14.53 kB / 0.7161 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.4895, allocations: 0.8515 MB / 0.7169 GB, free: 13.94 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.005975/0.4955, allocations: 3.031 MB / 0.7199 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006477/0.502, allocations: 1.659 MB / 0.7215 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.5032, allocations: 0.5003 MB / 0.722 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.574e-05/0.5033, allocations: 16.66 kB / 0.722 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.5047, allocations: 0.6169 MB / 0.7226 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 2.705e-06/0.5047, allocations: 0 / 0.7226 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01955/0.5243, allocations: 4.69 MB / 0.7272 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5243, allocations: 60 kB / 0.7272 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.5259, allocations: 0.963 MB / 0.7282 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.526, allocations: 37.83 kB / 0.7282 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.5264, allocations: 478.4 kB / 0.7287 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.5267, allocations: 280 kB / 0.7289 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.5271, allocations: 187.4 kB / 0.7291 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.5273, allocations: 346.1 kB / 0.7294 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.5285, allocations: 0.5535 MB / 0.73 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.5298, allocations: 0.6628 MB / 0.7306 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.5479, allocations: 4.154 MB / 0.7347 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5479, allocations: 1.094 kB / 0.7347 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00913/0.557, allocations: 2.822 MB / 0.7374 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.5571, allocations: 5.719 kB / 0.7374 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5571, allocations: 6.875 kB / 0.7375 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004901/0.562, allocations: 1.264 MB / 0.7387 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.563, allocations: 186.4 kB / 0.7389 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.5764, allocations: 5.691 MB / 0.7444 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.5781, allocations: 153.8 kB / 0.7446 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.5783, allocations: 36.14 kB / 0.7446 GB, free: 14.99 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.0006578/0.5789, allocations: 225.3 kB / 0.7448 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.5793, allocations: 128.9 kB / 0.7449 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009113/0.5884, allocations: 2.629 MB / 0.7475 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5884, allocations: 6.75 kB / 0.7475 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5884, allocations: 5.531 kB / 0.7475 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5884, allocations: 3.984 kB / 0.7475 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.6, allocations: 4.012 MB / 0.7514 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.6001, allocations: 0 / 0.7514 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.6006, allocations: 91.88 kB / 0.7515 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005277/0.6059, allocations: 1.314 MB / 0.7528 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.606, allocations: 19.98 kB / 0.7528 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.6202, allocations: 6.027 MB / 0.7587 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6202, allocations: 3.984 kB / 0.7587 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.631, allocations: 3.358 MB / 0.762 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.6314, allocations: 200.4 kB / 0.7622 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.6317, allocations: 12 kB / 0.7622 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6328, allocations: 91.84 kB / 0.7623 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.6334, allocations: 160.4 kB / 0.7624 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.6334, allocations: 20 kB / 0.7625 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001217/0.6347, allocations: 0.6553 MB / 0.7631 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6347, allocations: 0 / 0.7631 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00145/0.6361, allocations: 355.7 kB / 0.7634 GB, free: 12.96 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.01102/0.6471, allocations: 3.94 MB / 0.7673 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005423/0.6526, allocations: 1.78 MB / 0.769 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6526, allocations: 0 / 0.769 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/0.6562, allocations: 1.168 MB / 0.7702 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6573, allocations: 96.34 kB / 0.7703 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/0.6874, allocations: 11.97 MB / 0.782 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/0.6882, allocations: 1.049 MB / 0.783 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005595/0.6888, allocations: 98.67 kB / 0.7831 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/0.6896, allocations: 399.3 kB / 0.7835 GB, free: 8.152 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.6896, allocations: 4 kB / 0.7835 GB, free: 8.148 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06446/0.754, allocations: 28.58 MB / 0.8114 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.08, allocations: 8 kB / 0.8114 GB, free: 11.69 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 19.603872657986358] Failed to read output from testmodel.py, exit status != 0: 16.25350631499896 16.277456798 15.799511553 Calling exit ...