Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09615/0.09615, allocations: 12.37 MB / 31.96 MB, free: 6.43 MB / 26.18 MB " [Timeout remaining time 180] 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.001446/0.001446, allocations: 113 kB / 37.99 MB, free: 1.113 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 207.7 MB / 251.7 MB, free: 7.25 MB / 190.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.001878/0.001878, allocations: 212.3 kB / 306.9 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3295/0.3295, allocations: 79.73 MB / 441.7 MB, free: 12.29 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.00436/0.00436, allocations: 141 kB / 0.5887 GB, free: 7.023 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4206, allocations: 71.96 MB / 0.659 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006575/0.4272, allocations: 5.358 MB / 0.6642 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.4318, allocations: 1.734 MB / 0.6659 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008312/0.4327, allocations: 19.12 kB / 0.6659 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.4334, allocations: 217.1 kB / 0.6661 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.4356, allocations: 0.7269 MB / 0.6668 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.4372, allocations: 0.562 MB / 0.6674 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.4394, allocations: 1.444 MB / 0.6688 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/0.4398, allocations: 185.2 kB / 0.669 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.441, allocations: 0.5843 MB / 0.6695 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.4422, allocations: 0.6005 MB / 0.6701 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.4425, allocations: 98.25 kB / 0.6702 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007788/0.4433, allocations: 224.3 kB / 0.6704 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.4437, allocations: 270 kB / 0.6707 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.4444, allocations: 471.2 kB / 0.6711 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.4472, allocations: 1.411 MB / 0.6725 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4472, allocations: 0 / 0.6725 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4472, allocations: 1.281 kB / 0.6725 GB, free: 10.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.4472, allocations: 0 / 0.6725 GB, free: 10.29 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.01126/0.4585, allocations: 2.314 MB / 0.6748 GB, free: 8.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4585, allocations: 13.38 kB / 0.6748 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/0.4642, allocations: 0.5639 MB / 0.6753 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.4668, allocations: 0.7221 MB / 0.676 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.4672, allocations: 286.1 kB / 0.6763 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.4675, allocations: 73.91 kB / 0.6764 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.4702, allocations: 0.8293 MB / 0.6772 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.4702, allocations: 3.984 kB / 0.6772 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.4703, allocations: 26 kB / 0.6772 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.4703, allocations: 18.22 kB / 0.6772 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.4731, allocations: 0.8426 MB / 0.6781 GB, free: 6.781 MB / 462.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.008152/0.4813, allocations: 2.278 MB / 0.6803 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008265/0.4895, allocations: 1.265 MB / 0.6815 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4914, allocations: 0.5003 MB / 0.682 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.4915, allocations: 8.719 kB / 0.682 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/0.4938, allocations: 0.6214 MB / 0.6826 GB, free: 3.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 7.023e-06/0.4938, allocations: 0 / 0.6826 GB, free: 3.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.02259/0.5164, allocations: 4.529 MB / 0.687 GB, free: 1.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.5164, allocations: 58.72 kB / 0.6871 GB, free: 1.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.5183, allocations: 0.9468 MB / 0.688 GB, free: 1.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.5185, allocations: 36.14 kB / 0.6881 GB, free: 1.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.5189, allocations: 486.3 kB / 0.6885 GB, free: 0.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.5193, allocations: 269.9 kB / 0.6888 GB, free: 444 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.5197, allocations: 177.4 kB / 0.689 GB, free: 332 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.5199, allocations: 341.3 kB / 0.6893 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.5212, allocations: 0.5476 MB / 0.6898 GB, free: 15.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5226, allocations: 0.663 MB / 0.6905 GB, free: 15.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/0.5402, allocations: 4.015 MB / 0.6944 GB, free: 13.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5402, allocations: 0 / 0.6944 GB, free: 13.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009307/0.5495, allocations: 2.814 MB / 0.6971 GB, free: 10.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.5495, allocations: 8 kB / 0.6971 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5495, allocations: 4 kB / 0.6971 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004932/0.5544, allocations: 1.258 MB / 0.6984 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5555, allocations: 187.7 kB / 0.6985 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.5691, allocations: 5.447 MB / 0.7039 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5708, allocations: 147.3 kB / 0.704 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5709, allocations: 35.98 kB / 0.704 GB, free: 3.738 MB / 478.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 (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.0005962/0.5715, allocations: 237.6 kB / 0.7043 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.5717, allocations: 115.2 kB / 0.7044 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009025/0.5807, allocations: 2.641 MB / 0.707 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.5808, allocations: 8 kB / 0.707 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5808, allocations: 0 / 0.707 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.5808, allocations: 3.984 kB / 0.707 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.5917, allocations: 3.462 MB / 0.7103 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.5918, allocations: 4 kB / 0.7104 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.5923, allocations: 83.89 kB / 0.7104 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/0.5974, allocations: 1.317 MB / 0.7117 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.5976, allocations: 15.98 kB / 0.7117 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.6114, allocations: 5.743 MB / 0.7173 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6114, allocations: 0 / 0.7173 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.622, allocations: 3.35 MB / 0.7206 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.6225, allocations: 123.3 kB / 0.7207 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.6227, allocations: 19.98 kB / 0.7208 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.6237, allocations: 83.91 kB / 0.7208 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/0.6242, allocations: 168.4 kB / 0.721 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.6242, allocations: 19.98 kB / 0.721 GB, free: 2.148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.6253, allocations: 0.6387 MB / 0.7216 GB, free: 1.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6253, allocations: 0 / 0.7216 GB, free: 1.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001175/0.6265, allocations: 351.7 kB / 0.722 GB, free: 1.156 MB / 494.1 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.000288/0.6268, allocations: 127.1 kB / 0.7221 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005068/0.6319, allocations: 1.701 MB / 0.7238 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6319, allocations: 0 / 0.7238 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.6353, allocations: 1.081 MB / 0.7248 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.6362, allocations: 96.22 kB / 0.7249 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.64, allocations: 1.869 MB / 0.7267 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.6405, allocations: 464.4 kB / 0.7272 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.6408, allocations: 67.42 kB / 0.7272 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.6408, allocations: 0 / 0.7272 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.03153/0.6723, allocations: 22.33 MB / 0.749 GB, free: 5.305 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.719458467327058] Failed to read output from testmodel.py, exit status != 0: 0.6821727510541677 0.696227704 0.24589075400000002 Calling exit ...