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.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.001301/0.001301, allocations: 110 kB / 18.93 MB, free: 2.945 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.425/1.425, allocations: 225.6 MB / 247.7 MB, free: 13.44 MB / 206.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.001492/0.001492, allocations: 198.2 kB / 303.1 MB, free: 8.68 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6066/0.6066, allocations: 99.66 MB / 458 MB, free: 4.016 MB / 318.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_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 0.002436/0.002436, allocations: 79.88 kB / 0.6129 GB, free: 6.648 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1514, allocations: 76.99 MB / 0.6881 GB, free: 9.492 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00766/0.159, allocations: 6.074 MB / 0.694 GB, free: 3.383 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004402/0.1634, allocations: 1.868 MB / 0.6958 GB, free: 1.508 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.1642, allocations: 11.94 kB / 0.6958 GB, free: 1.496 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007769/0.1649, allocations: 210.2 kB / 0.696 GB, free: 1.289 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002122/0.1671, allocations: 0.7478 MB / 0.6968 GB, free: 0.5391 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.2885/0.4555, allocations: 0.5519 MB / 0.6973 GB, free: 10.28 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002112/0.4577, allocations: 1.45 MB / 0.6987 GB, free: 10.28 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.458, allocations: 194.5 kB / 0.6989 GB, free: 10.24 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/0.4588, allocations: 0.5866 MB / 0.6995 GB, free: 10.14 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.4595, allocations: 0.6576 MB / 0.7001 GB, free: 10.01 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000168/0.4597, allocations: 98.09 kB / 0.7002 GB, free: 10.01 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.4601, allocations: 237.4 kB / 0.7004 GB, free: 10.01 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.4603, allocations: 267.3 kB / 0.7007 GB, free: 9.961 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.4607, allocations: 0.5658 MB / 0.7013 GB, free: 9.773 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001138/0.4619, allocations: 1.396 MB / 0.7026 GB, free: 9.535 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4619, allocations: 1.75 kB / 0.7026 GB, free: 9.535 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.122e-06/0.4619, allocations: 0 / 0.7026 GB, free: 9.535 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 2.372e-05/0.4619, allocations: 3.938 kB / 0.7026 GB, free: 9.535 MB / 494.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.00717/0.4691, allocations: 2.32 MB / 0.7049 GB, free: 8.746 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.4691, allocations: 15.58 kB / 0.7049 GB, free: 8.742 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.4725, allocations: 0.5564 MB / 0.7054 GB, free: 8.664 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.4738, allocations: 0.731 MB / 0.7062 GB, free: 8.352 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.4741, allocations: 212.3 kB / 0.7064 GB, free: 8.195 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.4742, allocations: 62.91 kB / 0.7064 GB, free: 8.195 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.476, allocations: 0.8308 MB / 0.7072 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.476, allocations: 1.281 kB / 0.7072 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.4761, allocations: 28.84 kB / 0.7073 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4761, allocations: 15.33 kB / 0.7073 GB, free: 8.141 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.4778, allocations: 0.8459 MB / 0.7081 GB, free: 7.898 MB / 494.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.005519/0.4834, allocations: 3 MB / 0.711 GB, free: 6.27 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006229/0.4896, allocations: 1.267 MB / 0.7123 GB, free: 5.961 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.4909, allocations: 0.4957 MB / 0.7128 GB, free: 5.773 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.658e-05/0.491, allocations: 14.25 kB / 0.7128 GB, free: 5.77 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.4924, allocations: 0.6184 MB / 0.7134 GB, free: 5.535 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=74): time 3.106e-06/0.4924, allocations: 4 kB / 0.7134 GB, free: 5.531 MB / 494.1 MB
Notification: Performance of matching and sorting (n=74): time 0.02052/0.5129, allocations: 4.53 MB / 0.7178 GB, free: 4.68 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.513, allocations: 58.94 kB / 0.7179 GB, free: 4.617 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.5144, allocations: 0.9712 MB / 0.7188 GB, free: 4.219 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.5146, allocations: 45.92 kB / 0.7188 GB, free: 4.172 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.5149, allocations: 476.4 kB / 0.7193 GB, free: 3.797 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.5152, allocations: 277.1 kB / 0.7196 GB, free: 3.586 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.5155, allocations: 177.6 kB / 0.7197 GB, free: 3.496 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 6.423e-05/0.5156, allocations: 340.3 kB / 0.7201 GB, free: 3.176 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5168, allocations: 0.5566 MB / 0.7206 GB, free: 2.973 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.5181, allocations: 0.667 MB / 0.7213 GB, free: 2.664 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/0.5351, allocations: 4.04 MB / 0.7252 GB, free: 0.8516 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.5351, allocations: 1.312 kB / 0.7252 GB, free: 0.8516 MB / 494.1 MB
Notification: Performance of matching and sorting (n=125) (initialization): time 0.009554/0.5447, allocations: 2.826 MB / 0.728 GB, free: 15.46 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.5447, allocations: 6.719 kB / 0.728 GB, free: 15.46 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5447, allocations: 6.719 kB / 0.728 GB, free: 15.46 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005142/0.5499, allocations: 1.269 MB / 0.7292 GB, free: 14.91 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.551, allocations: 188.1 kB / 0.7294 GB, free: 14.87 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.5653, allocations: 5.584 MB / 0.7348 GB, free: 11.19 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.567, allocations: 154.7 kB / 0.735 GB, free: 11.1 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.5672, allocations: 35.55 kB / 0.735 GB, free: 11.09 MB / 0.4981 GB
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.000679/0.5679, allocations: 232.5 kB / 0.7352 GB, free: 10.9 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.5683, allocations: 116.5 kB / 0.7354 GB, free: 10.84 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009345/0.5776, allocations: 2.633 MB / 0.7379 GB, free: 9.48 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.5776, allocations: 7.031 kB / 0.7379 GB, free: 9.48 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5776, allocations: 1.219 kB / 0.7379 GB, free: 9.48 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.5777, allocations: 5.062 kB / 0.7379 GB, free: 9.477 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.5888, allocations: 3.981 MB / 0.7418 GB, free: 6.984 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5889, allocations: 3.938 kB / 0.7418 GB, free: 6.984 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.5894, allocations: 85.8 kB / 0.7419 GB, free: 6.973 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.5946, allocations: 1.323 MB / 0.7432 GB, free: 6.184 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.5947, allocations: 19.98 kB / 0.7432 GB, free: 6.164 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/0.6092, allocations: 5.917 MB / 0.749 GB, free: 160 kB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6092, allocations: 0 / 0.749 GB, free: 160 kB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.6206, allocations: 3.356 MB / 0.7523 GB, free: 12.8 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.6212, allocations: 119.3 kB / 0.7524 GB, free: 12.68 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/0.6216, allocations: 19.94 kB / 0.7524 GB, free: 12.66 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6229, allocations: 87.89 kB / 0.7525 GB, free: 12.57 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006135/0.6235, allocations: 167.7 kB / 0.7527 GB, free: 12.41 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6236, allocations: 20 kB / 0.7527 GB, free: 12.39 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.001337/0.6249, allocations: 0.6631 MB / 0.7533 GB, free: 11.72 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.6249, allocations: 3.938 kB / 0.7533 GB, free: 11.72 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.001628/0.6266, allocations: 359.7 kB / 0.7537 GB, free: 11.37 MB / 0.5137 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.0003017/0.6269, allocations: 114.5 kB / 0.7538 GB, free: 11.25 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.005642/0.6325, allocations: 1.713 MB / 0.7555 GB, free: 9.531 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6325, allocations: 0.5625 kB / 0.7555 GB, free: 9.531 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.003838/0.6363, allocations: 1.103 MB / 0.7565 GB, free: 8.426 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.6377, allocations: 92.91 kB / 0.7566 GB, free: 8.336 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.6416, allocations: 1.827 MB / 0.7584 GB, free: 6.512 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.6423, allocations: 1.049 MB / 0.7594 GB, free: 5.438 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.0004178/0.6428, allocations: 98.69 kB / 0.7595 GB, free: 5.336 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.643, allocations: 63.42 kB / 0.7596 GB, free: 5.273 MB / 0.5137 GB
Notification: Performance of SimCode: time 7.31e-07/0.643, allocations: 0 / 0.7596 GB, free: 5.273 MB / 0.5137 GB
Notification: Performance of Templates: time 0.03585/0.6789, allocations: 19.8 MB / 0.7789 GB, free: 1.562 MB / 0.5294 GB
"
[Timeout remaining time 659]
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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.3874433021992445]
Failed to read output from testmodel.py, exit status != 0:
0.6881834650412202 0.70415558 0.23873363300000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f470fa8d7b0>