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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 105.7 kB / 19.59 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 248.2 MB, free: 3.098 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 190.9 kB / 303.6 MB, free: 3.461 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3451/0.3451, allocations: 79.72 MB / 438.6 MB, free: 7.09 MB / 366.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 83.86 kB / 0.5843 GB, free: 7.789 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 72.11 MB / 0.6547 GB, free: 18.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005305/0.3237, allocations: 6.04 MB / 0.6606 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.3269, allocations: 1.857 MB / 0.6624 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.3273, allocations: 18.5 kB / 0.6624 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.3279, allocations: 216.4 kB / 0.6626 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.3293, allocations: 0.7425 MB / 0.6634 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3304, allocations: 0.5512 MB / 0.6639 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.332, allocations: 1.456 MB / 0.6653 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.3323, allocations: 199.7 kB / 0.6655 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/0.3331, allocations: 0.5792 MB / 0.6661 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.3338, allocations: 0.6621 MB / 0.6667 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.334, allocations: 98.88 kB / 0.6668 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.3344, allocations: 233 kB / 0.667 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.3346, allocations: 268.8 kB / 0.6673 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.3351, allocations: 0.5603 MB / 0.6679 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3366, allocations: 1.398 MB / 0.6692 GB, free: 9.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3366, allocations: 4 kB / 0.6692 GB, free: 9.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3366, allocations: 4 kB / 0.6692 GB, free: 9.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3366, allocations: 0 / 0.6692 GB, free: 9.07 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.006605/0.3432, allocations: 2.31 MB / 0.6715 GB, free: 7.613 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3432, allocations: 14.61 kB / 0.6715 GB, free: 7.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.3466, allocations: 0.5595 MB / 0.672 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.3478, allocations: 0.7331 MB / 0.6728 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.348, allocations: 207.9 kB / 0.673 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3481, allocations: 70.95 kB / 0.673 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.3498, allocations: 0.8335 MB / 0.6738 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3498, allocations: 0 / 0.6738 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.3499, allocations: 29.61 kB / 0.6739 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3499, allocations: 18.66 kB / 0.6739 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.3517, allocations: 0.848 MB / 0.6747 GB, free: 5.656 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.004744/0.3564, allocations: 2.994 MB / 0.6776 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005853/0.3623, allocations: 1.264 MB / 0.6789 GB, free: 2.711 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3633, allocations: 0.5003 MB / 0.6794 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.279e-05/0.3634, allocations: 7.625 kB / 0.6794 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.3645, allocations: 0.6244 MB / 0.68 GB, free: 2.078 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.605e-06/0.3645, allocations: 1.375 kB / 0.68 GB, free: 2.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01801/0.3825, allocations: 4.521 MB / 0.6844 GB, free: 15.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.3826, allocations: 67.48 kB / 0.6845 GB, free: 15.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.3842, allocations: 0.9707 MB / 0.6854 GB, free: 15.22 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.3843, allocations: 50.22 kB / 0.6855 GB, free: 15.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.3847, allocations: 474.2 kB / 0.6859 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.3851, allocations: 279.2 kB / 0.6862 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.3854, allocations: 175.9 kB / 0.6863 GB, free: 14.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3856, allocations: 342.2 kB / 0.6867 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.3869, allocations: 0.5535 MB / 0.6872 GB, free: 13.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3882, allocations: 0.674 MB / 0.6879 GB, free: 13.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.406, allocations: 4.04 MB / 0.6918 GB, free: 9.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.406, allocations: 3.938 kB / 0.6918 GB, free: 9.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009524/0.4156, allocations: 2.82 MB / 0.6946 GB, free: 6.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4156, allocations: 4 kB / 0.6946 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4156, allocations: 4 kB / 0.6946 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/0.4207, allocations: 1.273 MB / 0.6958 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4217, allocations: 183.8 kB / 0.696 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.4352, allocations: 5.579 MB / 0.7014 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4368, allocations: 151.2 kB / 0.7016 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.4369, allocations: 43.92 kB / 0.7016 GB, free: 15.49 MB / 494.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.0005043/0.4374, allocations: 233.6 kB / 0.7018 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.4376, allocations: 119.2 kB / 0.702 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009191/0.4468, allocations: 2.629 MB / 0.7045 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4468, allocations: 8 kB / 0.7045 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4468, allocations: 0 / 0.7045 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4469, allocations: 3.984 kB / 0.7045 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.4578, allocations: 3.975 MB / 0.7084 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4578, allocations: 4 kB / 0.7084 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.4583, allocations: 87.88 kB / 0.7085 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005092/0.4634, allocations: 1.33 MB / 0.7098 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/0.4635, allocations: 15.98 kB / 0.7098 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.4773, allocations: 5.917 MB / 0.7156 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4773, allocations: 0 / 0.7156 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.488, allocations: 3.354 MB / 0.7189 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.4884, allocations: 123.2 kB / 0.719 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4886, allocations: 19.98 kB / 0.719 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.4896, allocations: 83.91 kB / 0.7191 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/0.4901, allocations: 160.4 kB / 0.7192 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.4901, allocations: 23.98 kB / 0.7193 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001036/0.4912, allocations: 0.6553 MB / 0.7199 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4912, allocations: 0 / 0.7199 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001081/0.4922, allocations: 355.7 kB / 0.7203 GB, free: 12.12 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.000246/0.4925, allocations: 123.1 kB / 0.7204 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004982/0.4975, allocations: 1.725 MB / 0.7221 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4975, allocations: 3.938 kB / 0.7221 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/0.5009, allocations: 1.093 MB / 0.7231 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.5018, allocations: 98.17 kB / 0.7232 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.5052, allocations: 1.869 MB / 0.725 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.5059, allocations: 1.046 MB / 0.7261 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.5062, allocations: 71.42 kB / 0.7261 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.5062, allocations: 0 / 0.7261 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.02741/0.5336, allocations: 22.02 MB / 0.7476 GB, free: 15.95 MB / 0.5294 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: 8.536380172008649] Failed to read output from testmodel.py, exit status != 0: 0.5423200670047663 0.5562975609999999 0.21666306499999996 Calling exit ...