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.001912/0.001912, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.437/1.437, allocations: 230.6 MB / 252.7 MB, free: 8.082 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.001645/0.001645, allocations: 219.8 kB / 309.2 MB, free: 2.957 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.7152/0.7152, allocations: 107.3 MB / 473 MB, free: 4.418 MB / 334.1 MB " [Timeout remaining time 179] 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: 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.00393/0.00393, allocations: 83.86 kB / 0.6332 GB, free: 5.008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4322, allocations: 80.17 MB / 0.7115 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005285/0.4375, allocations: 5.364 MB / 0.7167 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.4411, allocations: 1.828 MB / 0.7185 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.4415, allocations: 13.03 kB / 0.7185 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.4421, allocations: 206.6 kB / 0.7187 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.4439, allocations: 0.7419 MB / 0.7194 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4452, allocations: 0.5364 MB / 0.72 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.4469, allocations: 1.447 MB / 0.7214 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.4473, allocations: 180.9 kB / 0.7216 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008907/0.4482, allocations: 0.5906 MB / 0.7221 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.449, allocations: 0.5955 MB / 0.7227 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.4492, allocations: 102.5 kB / 0.7228 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.4497, allocations: 245.2 kB / 0.723 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.4499, allocations: 268.8 kB / 0.7233 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.4504, allocations: 470.2 kB / 0.7237 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.4522, allocations: 1.425 MB / 0.7251 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4522, allocations: 0 / 0.7251 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4522, allocations: 0 / 0.7251 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.4523, allocations: 1.344 kB / 0.7251 GB, free: 11.95 MB / 0.4981 GB 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.007473/0.4597, allocations: 2.329 MB / 0.7274 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4598, allocations: 10.8 kB / 0.7274 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.4599, allocations: 111.2 kB / 0.7275 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.4636, allocations: 0.562 MB / 0.7281 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.4653, allocations: 0.7277 MB / 0.7288 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.4657, allocations: 291.4 kB / 0.7291 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.4659, allocations: 62.97 kB / 0.7291 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.4679, allocations: 0.8372 MB / 0.7299 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.4679, allocations: 0 / 0.7299 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.468, allocations: 25.47 kB / 0.73 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.468, allocations: 19.38 kB / 0.73 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.47, allocations: 0.8451 MB / 0.7308 GB, free: 9.238 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.00604/0.4761, allocations: 2.369 MB / 0.7331 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/0.4824, allocations: 1.266 MB / 0.7344 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.4836, allocations: 0.4933 MB / 0.7348 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.4837, allocations: 16.84 kB / 0.7349 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.4851, allocations: 0.6251 MB / 0.7355 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 2.785e-06/0.4851, allocations: 0 / 0.7355 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01955/0.5046, allocations: 4.526 MB / 0.7399 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.5047, allocations: 58.97 kB / 0.7399 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.5063, allocations: 0.976 MB / 0.7409 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.5064, allocations: 37.05 kB / 0.7409 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.5068, allocations: 483.9 kB / 0.7414 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.5072, allocations: 278.4 kB / 0.7417 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.5076, allocations: 180.1 kB / 0.7418 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.5077, allocations: 346.9 kB / 0.7422 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.5091, allocations: 0.5537 MB / 0.7427 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.5105, allocations: 0.6679 MB / 0.7434 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01875/0.5292, allocations: 4.143 MB / 0.7474 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.5292, allocations: 1.125 kB / 0.7474 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009624/0.5389, allocations: 2.827 MB / 0.7502 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.5389, allocations: 9.531 kB / 0.7502 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5389, allocations: 7.406 kB / 0.7502 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/0.5441, allocations: 1.263 MB / 0.7514 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5451, allocations: 190.5 kB / 0.7516 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.5587, allocations: 5.47 MB / 0.7569 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.5603, allocations: 155.3 kB / 0.7571 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.5604, allocations: 35.98 kB / 0.7571 GB, free: 8.148 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.0005087/0.5609, allocations: 241.5 kB / 0.7574 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.5611, allocations: 115.2 kB / 0.7575 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009572/0.5706, allocations: 2.629 MB / 0.76 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5707, allocations: 8 kB / 0.76 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5707, allocations: 3.984 kB / 0.76 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5707, allocations: 7.984 kB / 0.76 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.5818, allocations: 3.533 MB / 0.7635 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.5818, allocations: 7.938 kB / 0.7635 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.5823, allocations: 83.89 kB / 0.7636 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005292/0.5876, allocations: 1.322 MB / 0.7649 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/0.5877, allocations: 19.94 kB / 0.7649 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/0.602, allocations: 5.777 MB / 0.7705 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.602, allocations: 0 / 0.7705 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.6131, allocations: 3.361 MB / 0.7738 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.6136, allocations: 127.3 kB / 0.7739 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6138, allocations: 12 kB / 0.774 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.6148, allocations: 91.89 kB / 0.774 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.6153, allocations: 156.4 kB / 0.7742 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.6154, allocations: 24 kB / 0.7742 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001112/0.6165, allocations: 0.6553 MB / 0.7749 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6165, allocations: 0 / 0.7749 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001109/0.6176, allocations: 359.7 kB / 0.7752 GB, free: 5.391 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.01129/0.6289, allocations: 3.936 MB / 0.779 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005237/0.6342, allocations: 1.713 MB / 0.7807 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6342, allocations: 0 / 0.7807 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003559/0.6377, allocations: 1.077 MB / 0.7818 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.6386, allocations: 104.3 kB / 0.7819 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/0.6681, allocations: 11.98 MB / 0.7936 GB, free: 2.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.6686, allocations: 456.5 kB / 0.794 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004266/0.669, allocations: 106.7 kB / 0.7941 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.6697, allocations: 399.3 kB / 0.7945 GB, free: 1.348 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.6697, allocations: 0 / 0.7945 GB, free: 1.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07169/0.7414, allocations: 29.86 MB / 0.8236 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.78, allocations: 7.438 kB / 0.8236 GB, free: 3.656 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.560672321822494] Failed to read output from testmodel.py, exit status != 0: 14.926314326934516 14.94934149 14.492700379 Calling exit ...