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.09408/0.09408, allocations: 12.36 MB / 31.95 MB, free: 6.477 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.001393/0.001393, allocations: 115.1 kB / 38 MB, free: 1.16 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.588/1.588, allocations: 207.6 MB / 251.6 MB, free: 7.371 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.001958/0.001958, allocations: 204.4 kB / 306.8 MB, free: 500 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.3239/0.3239, allocations: 79.73 MB / 441.7 MB, free: 12.45 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.004166/0.004166, allocations: 153 kB / 0.5887 GB, free: 7.137 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4492, allocations: 71.94 MB / 0.659 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007324/0.4565, allocations: 6.111 MB / 0.665 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.4627, allocations: 1.827 MB / 0.6667 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4639, allocations: 18.81 kB / 0.6668 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.465, allocations: 217.5 kB / 0.667 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.4676, allocations: 0.7417 MB / 0.6677 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.4692, allocations: 0.5647 MB / 0.6682 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.4721, allocations: 1.454 MB / 0.6697 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.4726, allocations: 189.7 kB / 0.6698 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.4739, allocations: 0.5821 MB / 0.6704 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.475, allocations: 0.6635 MB / 0.6711 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.4752, allocations: 102.2 kB / 0.6712 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006759/0.4759, allocations: 229.2 kB / 0.6714 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.4762, allocations: 271.9 kB / 0.6716 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.4768, allocations: 0.5616 MB / 0.6722 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.479, allocations: 1.401 MB / 0.6735 GB, free: 9.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4791, allocations: 1.188 kB / 0.6735 GB, free: 9.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4791, allocations: 0 / 0.6735 GB, free: 9.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.4791, allocations: 4 kB / 0.6736 GB, free: 9.371 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.008101/0.4872, allocations: 2.31 MB / 0.6758 GB, free: 7.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4872, allocations: 9.438 kB / 0.6758 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/0.491, allocations: 0.5679 MB / 0.6764 GB, free: 7.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.4927, allocations: 0.7212 MB / 0.6771 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.4931, allocations: 290.2 kB / 0.6774 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.4933, allocations: 67.09 kB / 0.6774 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.4951, allocations: 0.8367 MB / 0.6782 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4951, allocations: 3.938 kB / 0.6782 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.4952, allocations: 21.56 kB / 0.6783 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.4952, allocations: 18.41 kB / 0.6783 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.4972, allocations: 0.8487 MB / 0.6791 GB, free: 5.867 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.006316/0.5035, allocations: 3.005 MB / 0.682 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005883/0.5094, allocations: 1.272 MB / 0.6833 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.5105, allocations: 0.4957 MB / 0.6838 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.5106, allocations: 16.92 kB / 0.6838 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.512, allocations: 0.6168 MB / 0.6844 GB, free: 2.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.995e-06/0.512, allocations: 0 / 0.6844 GB, free: 2.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01863/0.5307, allocations: 4.534 MB / 0.6888 GB, free: 40 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.5307, allocations: 58.72 kB / 0.6889 GB, free: 15.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.5326, allocations: 0.9714 MB / 0.6898 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.5328, allocations: 41.45 kB / 0.6899 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.5332, allocations: 474.1 kB / 0.6903 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.5336, allocations: 275.5 kB / 0.6906 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.534, allocations: 180.3 kB / 0.6907 GB, free: 14.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.5342, allocations: 342 kB / 0.6911 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.5355, allocations: 0.5542 MB / 0.6916 GB, free: 14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.5369, allocations: 0.6692 MB / 0.6923 GB, free: 13.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.5544, allocations: 4.039 MB / 0.6962 GB, free: 11.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.078e-06/0.5544, allocations: 4 kB / 0.6962 GB, free: 11.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009022/0.5634, allocations: 2.832 MB / 0.699 GB, free: 9.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5634, allocations: 4 kB / 0.699 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5635, allocations: 7.938 kB / 0.699 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004754/0.5682, allocations: 1.262 MB / 0.7002 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.5693, allocations: 195.7 kB / 0.7004 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.5826, allocations: 5.58 MB / 0.7059 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.5844, allocations: 155.2 kB / 0.706 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.5846, allocations: 32 kB / 0.706 GB, free: 1.789 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 (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.0007015/0.5853, allocations: 237.6 kB / 0.7063 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.5857, allocations: 115.2 kB / 0.7064 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008945/0.5946, allocations: 2.637 MB / 0.7089 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.5947, allocations: 8 kB / 0.709 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5947, allocations: 0 / 0.709 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5947, allocations: 3.984 kB / 0.709 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.6061, allocations: 3.979 MB / 0.7128 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.6061, allocations: 0 / 0.7128 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.6067, allocations: 95.83 kB / 0.7129 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005026/0.6117, allocations: 1.321 MB / 0.7142 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.6118, allocations: 16 kB / 0.7142 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/0.6263, allocations: 5.911 MB / 0.72 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6263, allocations: 4 kB / 0.72 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.6369, allocations: 3.342 MB / 0.7233 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/0.6375, allocations: 135.2 kB / 0.7234 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.6379, allocations: 19.94 kB / 0.7234 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6391, allocations: 83.89 kB / 0.7235 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/0.6397, allocations: 160.4 kB / 0.7237 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.6398, allocations: 20 kB / 0.7237 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001329/0.6411, allocations: 0.6631 MB / 0.7243 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6411, allocations: 0 / 0.7243 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001526/0.6426, allocations: 351.7 kB / 0.7247 GB, free: 14.42 MB / 0.4981 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.0003695/0.643, allocations: 124.2 kB / 0.7248 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005212/0.6482, allocations: 1.725 MB / 0.7265 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6482, allocations: 4.062 kB / 0.7265 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/0.6516, allocations: 1.081 MB / 0.7275 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6528, allocations: 96.03 kB / 0.7276 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.6573, allocations: 1.883 MB / 0.7295 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/0.6582, allocations: 1.038 MB / 0.7305 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.6585, allocations: 67.42 kB / 0.7305 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/0.6585, allocations: 0 / 0.7305 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of Templates: time 0.03632/0.6949, allocations: 22.02 MB / 0.752 GB, free: 2.262 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.83514343504794] Failed to read output from testmodel.py, exit status != 0: 0.7051523220725358 0.721503373 0.23905153499999995 Calling exit ...