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.00181/0.00181, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.9798/0.9798, allocations: 177.1 MB / 200.2 MB, free: 5.707 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.001165/0.001165, allocations: 156.5 kB / 256.9 MB, free: 12.98 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.3365/0.3365, allocations: 83.3 MB / 396.7 MB, free: 15.01 MB / 330.7 MB " [Timeout remaining time 179] 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.443e-06/1.443e-06, allocations: 0 / 494.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.179e-05, allocations: 2.312 kB / 494.3 MB, free: 7.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004748/0.00477, allocations: 5.684 MB / 500 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.007898, allocations: 1.843 MB / 0.4901 GB, free: 15.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.008494, allocations: 15.88 kB / 0.4901 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.009098, allocations: 214.1 kB / 0.4903 GB, free: 15.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.01062, allocations: 0.7674 MB / 0.491 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.01159, allocations: 0.5595 MB / 0.4916 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01305, allocations: 1.409 MB / 0.493 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.01338, allocations: 183.7 kB / 0.4931 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.01456, allocations: 0.787 MB / 0.4939 GB, free: 11.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.0152, allocations: 0.5187 MB / 0.4944 GB, free: 11.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.01541, allocations: 100 kB / 0.4945 GB, free: 10.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.01594, allocations: 253.4 kB / 0.4948 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.01612, allocations: 274.8 kB / 0.495 GB, free: 10.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.01645, allocations: 378.7 kB / 0.4954 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.01744, allocations: 1.039 MB / 0.4964 GB, free: 9.047 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01744, allocations: 0 / 0.4964 GB, free: 9.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01744, allocations: 0.9375 kB / 0.4964 GB, free: 9.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.01746, allocations: 0 / 0.4964 GB, free: 9.047 MB / 426.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.003749/0.02121, allocations: 2.446 MB / 0.4988 GB, free: 6.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.02125, allocations: 12.02 kB / 0.4988 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.02299, allocations: 0.665 MB / 0.4994 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.02375, allocations: 0.6972 MB / 0.5001 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.02405, allocations: 283.8 kB / 0.5004 GB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.02413, allocations: 72.66 kB / 0.5005 GB, free: 4.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.02472, allocations: 475.1 kB / 0.5009 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.02473, allocations: 0 / 0.5009 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.02478, allocations: 33.55 kB / 0.501 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.02479, allocations: 12 kB / 0.501 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.0252, allocations: 306.1 kB / 0.5013 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.02773, allocations: 2.009 MB / 0.5032 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.03006, allocations: 0.8134 MB / 0.504 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.03029, allocations: 198 kB / 0.5042 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/0.03035, allocations: 12.66 kB / 0.5042 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.0307, allocations: 317.8 kB / 0.5045 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/0.0307, allocations: 4 kB / 0.5045 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.00663/0.03733, allocations: 3.078 MB / 0.5075 GB, free: 13.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.03736, allocations: 68 kB / 0.5076 GB, free: 13.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.038, allocations: 0.8453 MB / 0.5084 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.03806, allocations: 37.7 kB / 0.5085 GB, free: 12.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.03833, allocations: 0.5345 MB / 0.509 GB, free: 11.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.03851, allocations: 281.6 kB / 0.5092 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.03872, allocations: 184.2 kB / 0.5094 GB, free: 11.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.03889, allocations: 0.5198 MB / 0.5099 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.03922, allocations: 225.9 kB / 0.5101 GB, free: 10.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.03962, allocations: 391.5 kB / 0.5105 GB, free: 10.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.04095, allocations: 0.9275 MB / 0.5114 GB, free: 9.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.04095, allocations: 0 / 0.5114 GB, free: 9.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003178/0.04413, allocations: 1.869 MB / 0.5132 GB, free: 7.434 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.04415, allocations: 8 kB / 0.5133 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.04416, allocations: 4 kB / 0.5133 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.04711, allocations: 1.195 MB / 0.5144 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.04759, allocations: 179.7 kB / 0.5146 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.05172, allocations: 3.373 MB / 0.5179 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/0.05271, allocations: 115.4 kB / 0.518 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.05276, allocations: 27.98 kB / 0.518 GB, free: 2.418 MB / 442.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.000304/0.05306, allocations: 212.3 kB / 0.5182 GB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.05323, allocations: 135.2 kB / 0.5184 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.05626, allocations: 1.663 MB / 0.52 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.05626, allocations: 8 kB / 0.52 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.05627, allocations: 0 / 0.52 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.05627, allocations: 7.984 kB / 0.52 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.05994, allocations: 2.347 MB / 0.5223 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.05995, allocations: 3.984 kB / 0.5223 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.06019, allocations: 83.89 kB / 0.5224 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003262/0.06345, allocations: 1.347 MB / 0.5237 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.0635, allocations: 16 kB / 0.5237 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/0.06801, allocations: 3.896 MB / 0.5275 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.06802, allocations: 0 / 0.5275 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.07136, allocations: 1.946 MB / 0.5294 GB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.07156, allocations: 119.1 kB / 0.5295 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.07164, allocations: 12 kB / 0.5295 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.07199, allocations: 55.94 kB / 0.5296 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.07225, allocations: 160.4 kB / 0.5297 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.07228, allocations: 15.98 kB / 0.5298 GB, free: 6.172 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003523/0.07264, allocations: 0.5135 MB / 0.5303 GB, free: 5.648 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07264, allocations: 0 / 0.5303 GB, free: 5.648 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007418/0.07338, allocations: 355.7 kB / 0.5306 GB, free: 5.301 MB / 458.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.0002039/0.07358, allocations: 131 kB / 0.5307 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.07531, allocations: 1.165 MB / 0.5319 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.07531, allocations: 0.5625 kB / 0.5319 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.07674, allocations: 0.8449 MB / 0.5327 GB, free: 3.098 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.07718, allocations: 106.9 kB / 0.5328 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.07942, allocations: 1.663 MB / 0.5344 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.07955, allocations: 197.3 kB / 0.5346 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.07975, allocations: 94.42 kB / 0.5347 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.07997, allocations: 170.2 kB / 0.5349 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.07997, allocations: 0 / 0.5349 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of Templates: time 0.02245/0.1024, allocations: 20.98 MB / 0.5553 GB, free: 11.97 MB / 490.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.6588543099351227]