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.0008836/0.0008836, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.8765/0.8765, allocations: 177.2 MB / 200.3 MB, free: 5.68 MB / 186.7 MB " [Timeout remaining time 179] 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.001194/0.001194, allocations: 164.4 kB / 257 MB, free: 12.96 MB / 250.7 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.4223/0.4223, allocations: 83.31 MB / 343.6 MB, free: 6.707 MB / 314.7 MB " [Timeout remaining time 180] 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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 387.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.962e-05, allocations: 9.203 kB / 387.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.01213/0.01216, allocations: 5.699 MB / 393.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.02259, allocations: 1.921 MB / 395.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.02341, allocations: 15.88 kB / 395.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.0241, allocations: 222.1 kB / 395.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.02594, allocations: 0.776 MB / 396.5 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.02709, allocations: 0.5534 MB / 397.1 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.0287, allocations: 1.417 MB / 398.5 MB, free: 104 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.02904, allocations: 193.8 kB / 398.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009688/0.03001, allocations: 0.787 MB / 399.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.03051, allocations: 0.514 MB / 400 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.03062, allocations: 100 kB / 400.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.03099, allocations: 255.7 kB / 400.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.03116, allocations: 274.8 kB / 400.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.03143, allocations: 382.7 kB / 401 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009647/0.03239, allocations: 1.039 MB / 402 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.0324, allocations: 0 / 402 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0324, allocations: 0 / 402 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.03241, allocations: 3.984 kB / 402 MB, free: 12.55 MB / 378.7 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.003557/0.03597, allocations: 2.178 MB / 404.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.036, allocations: 12.03 kB / 404.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.03776, allocations: 0.6832 MB / 404.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.03848, allocations: 0.5492 MB / 405.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.03865, allocations: 286.9 kB / 405.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.03874, allocations: 67.95 kB / 405.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.0393, allocations: 493 kB / 406.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.03932, allocations: 0 / 406.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.03936, allocations: 24 kB / 406.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.03937, allocations: 16 kB / 406.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.03975, allocations: 254.3 kB / 406.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.04204, allocations: 1.393 MB / 407.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.04403, allocations: 0.8183 MB / 408.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.04425, allocations: 171.2 kB / 408.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.04432, allocations: 16.64 kB / 408.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.04467, allocations: 318.9 kB / 409.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.186e-06/0.04467, allocations: 0 / 409.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.006651/0.05132, allocations: 2.893 MB / 412.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.05136, allocations: 60.06 kB / 412.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.05203, allocations: 0.7706 MB / 413 MB, free: 1.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.05212, allocations: 33.7 kB / 413 MB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.05231, allocations: 346.6 kB / 413.3 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.05251, allocations: 285.5 kB / 413.6 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.05272, allocations: 178.5 kB / 413.8 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.05281, allocations: 341.9 kB / 414.1 MB, free: 168 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.05316, allocations: 216.8 kB / 414.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.05353, allocations: 343.3 kB / 414.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.05461, allocations: 0.8895 MB / 415.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.05461, allocations: 0 / 415.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003183/0.05779, allocations: 1.663 MB / 417.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.05781, allocations: 8 kB / 417.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.05782, allocations: 3.984 kB / 417.2 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/0.06063, allocations: 1.139 MB / 418.4 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.06117, allocations: 179.7 kB / 418.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.06464, allocations: 2.645 MB / 421.2 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.06536, allocations: 127.3 kB / 421.3 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.0654, allocations: 27.98 kB / 421.3 MB, free: 8.77 MB / 394.7 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 (101): * Single equations (assignments): 99 * 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.0002574/0.06566, allocations: 152.5 kB / 421.5 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.06578, allocations: 91.91 kB / 421.6 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.06849, allocations: 1.543 MB / 423.1 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.0685, allocations: 8 kB / 423.1 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.0685, allocations: 0 / 423.1 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.06851, allocations: 3.984 kB / 423.1 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.07229, allocations: 2.06 MB / 425.2 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.07229, allocations: 0 / 425.2 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.07254, allocations: 87.89 kB / 425.3 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/0.07573, allocations: 1.32 MB / 426.6 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.07578, allocations: 12 kB / 426.6 MB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.07951, allocations: 2.987 MB / 429.6 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.07951, allocations: 4 kB / 429.6 MB, free: 348 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.08283, allocations: 1.777 MB / 431.4 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.08302, allocations: 103.1 kB / 431.5 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.08312, allocations: 19.98 kB / 431.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.08346, allocations: 55.95 kB / 431.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.08372, allocations: 156.3 kB / 431.7 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.08375, allocations: 12 kB / 431.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000302/0.08405, allocations: 388.2 kB / 432.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08405, allocations: 0 / 432.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007279/0.08478, allocations: 363.6 kB / 432.5 MB, free: 13.45 MB / 410.7 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.0002036/0.08498, allocations: 112.3 kB / 432.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.08662, allocations: 1.045 MB / 433.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.08663, allocations: 8 kB / 433.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.08771, allocations: 0.7446 MB / 434.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.08812, allocations: 111 kB / 434.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.09032, allocations: 1.676 MB / 436.2 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.09048, allocations: 205.3 kB / 436.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.09067, allocations: 86.44 kB / 436.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.09089, allocations: 147.4 kB / 436.6 MB, free: 9.211 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.09089, allocations: 0 / 436.6 MB, free: 9.211 MB / 410.7 MB Notification: Performance of Templates: time 0.1671/0.258, allocations: 19.92 MB / 456.5 MB, free: 59.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.348115232773125]