Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001407/0.001407, 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.452/1.452, allocations: 230.6 MB / 252.7 MB, free: 8.086 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.001652/0.001652, allocations: 212.8 kB / 309.2 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5885/0.5885, allocations: 107.2 MB / 472.8 MB, free: 4.516 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") [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.002613/0.002613, allocations: 83.88 kB / 0.6335 GB, free: 4.531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3971, allocations: 80.14 MB / 0.7117 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005112/0.4022, allocations: 5.384 MB / 0.717 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.4057, allocations: 1.814 MB / 0.7188 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.4061, allocations: 15.38 kB / 0.7188 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.4068, allocations: 209.9 kB / 0.719 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.4086, allocations: 0.7382 MB / 0.7197 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4099, allocations: 0.5418 MB / 0.7202 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.4116, allocations: 1.437 MB / 0.7216 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.412, allocations: 181.5 kB / 0.7218 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.413, allocations: 0.5897 MB / 0.7224 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/0.4138, allocations: 0.6036 MB / 0.723 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.4139, allocations: 100.4 kB / 0.7231 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.4144, allocations: 243.3 kB / 0.7233 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.4147, allocations: 263.3 kB / 0.7236 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.4151, allocations: 474.2 kB / 0.724 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.4169, allocations: 1.417 MB / 0.7254 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4169, allocations: 0.7031 kB / 0.7254 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4169, allocations: 0 / 0.7254 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.4169, allocations: 0 / 0.7254 GB, free: 12.24 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.007826/0.4247, allocations: 2.338 MB / 0.7277 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4248, allocations: 8.938 kB / 0.7277 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.4285, allocations: 0.5599 MB / 0.7282 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.4303, allocations: 0.728 MB / 0.7289 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.4306, allocations: 294.9 kB / 0.7292 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.4308, allocations: 63.03 kB / 0.7293 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.4327, allocations: 0.8333 MB / 0.7301 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.4327, allocations: 0 / 0.7301 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.4328, allocations: 26.56 kB / 0.7301 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.4329, allocations: 18.09 kB / 0.7301 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4349, allocations: 0.8444 MB / 0.731 GB, free: 9.609 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.005897/0.4408, allocations: 2.286 MB / 0.7332 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/0.4471, allocations: 1.264 MB / 0.7344 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.4484, allocations: 0.4971 MB / 0.7349 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/0.4485, allocations: 16.61 kB / 0.7349 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.4499, allocations: 0.6179 MB / 0.7355 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 3.196e-06/0.4499, allocations: 0 / 0.7355 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01943/0.4693, allocations: 4.527 MB / 0.74 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.4694, allocations: 63.39 kB / 0.74 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.471, allocations: 0.9385 MB / 0.7409 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.4712, allocations: 44.98 kB / 0.741 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.4717, allocations: 477.2 kB / 0.7414 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.472, allocations: 282.7 kB / 0.7417 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.4724, allocations: 168.8 kB / 0.7419 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4725, allocations: 343.1 kB / 0.7422 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.4738, allocations: 0.5463 MB / 0.7427 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4752, allocations: 0.6679 MB / 0.7434 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/0.4936, allocations: 4.125 MB / 0.7474 GB, free: 312 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.4936, allocations: 1.094 kB / 0.7474 GB, free: 312 kB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00942/0.503, allocations: 2.806 MB / 0.7501 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.503, allocations: 5.406 kB / 0.7502 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.503, allocations: 2.312 kB / 0.7502 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005009/0.508, allocations: 1.27 MB / 0.7514 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.5091, allocations: 188.7 kB / 0.7516 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.5226, allocations: 5.441 MB / 0.7569 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5243, allocations: 147.4 kB / 0.757 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.5244, allocations: 35.98 kB / 0.7571 GB, free: 8.473 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 (99): * Single equations (assignments): 97 * 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.000535/0.5249, allocations: 233.6 kB / 0.7573 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5252, allocations: 115.2 kB / 0.7574 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009274/0.5344, allocations: 2.629 MB / 0.76 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.5345, allocations: 8 kB / 0.76 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5345, allocations: 4 kB / 0.76 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.5345, allocations: 7.922 kB / 0.76 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.5456, allocations: 3.458 MB / 0.7634 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5456, allocations: 0 / 0.7634 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.5462, allocations: 91.88 kB / 0.7634 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005208/0.5514, allocations: 1.314 MB / 0.7647 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.5516, allocations: 19.98 kB / 0.7648 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.5657, allocations: 5.743 MB / 0.7704 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5657, allocations: 0 / 0.7704 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.5767, allocations: 3.361 MB / 0.7736 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.5772, allocations: 119.3 kB / 0.7738 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.5774, allocations: 12 kB / 0.7738 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.5785, allocations: 87.89 kB / 0.7739 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/0.5791, allocations: 168.3 kB / 0.774 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.5791, allocations: 19.98 kB / 0.774 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00119/0.5803, allocations: 0.6387 MB / 0.7747 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5803, allocations: 0 / 0.7747 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00124/0.5816, allocations: 355.7 kB / 0.775 GB, free: 5.887 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.0002765/0.5818, allocations: 123.2 kB / 0.7751 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.5871, allocations: 1.717 MB / 0.7768 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5871, allocations: 4.062 kB / 0.7768 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.5907, allocations: 1.077 MB / 0.7778 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.5921, allocations: 102.4 kB / 0.7779 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.5976, allocations: 1.82 MB / 0.7797 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.5983, allocations: 460.4 kB / 0.7802 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005476/0.5989, allocations: 94.47 kB / 0.7802 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.5992, allocations: 63.42 kB / 0.7803 GB, free: 344 kB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.5992, allocations: 0 / 0.7803 GB, free: 344 kB / 0.5294 GB Notification: Performance of Templates: time 0.04751/0.6467, allocations: 20.48 MB / 0.8003 GB, free: 11.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.358727049082518] Failed to read output from testmodel.py, exit status != 0: 0.6555898040533066 0.670702448 0.250625935 Calling exit ...