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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1216/0.1216, allocations: 12.2 MB / 27.47 MB, free: 0.9258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009228, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 239.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 183 kB / 291 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4578/0.4578, allocations: 78.53 MB / 420.5 MB, free: 48.6 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008413/0.0008414, allocations: 32 kB / 0.4901 GB, free: 2.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3417, allocations: 69.23 MB / 0.5577 GB, free: 43.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005926/0.3477, allocations: 5.917 MB / 0.5635 GB, free: 41.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.3521, allocations: 1.836 MB / 0.5653 GB, free: 40.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.3532, allocations: 16.31 kB / 0.5653 GB, free: 40.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.3541, allocations: 165.3 kB / 0.5654 GB, free: 40.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.3565, allocations: 0.6208 MB / 0.566 GB, free: 39.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.3578, allocations: 0.5086 MB / 0.5665 GB, free: 39.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.3596, allocations: 1.345 MB / 0.5679 GB, free: 38.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.3601, allocations: 249.6 kB / 0.5681 GB, free: 38.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007652/0.3608, allocations: 499.4 kB / 0.5686 GB, free: 38.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.3615, allocations: 0.5904 MB / 0.5691 GB, free: 38.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3616, allocations: 50.06 kB / 0.5692 GB, free: 38.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.362, allocations: 179.4 kB / 0.5694 GB, free: 38.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.3622, allocations: 210.1 kB / 0.5696 GB, free: 37.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.3626, allocations: 0.5364 MB / 0.5701 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3637, allocations: 1.311 MB / 0.5714 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3637, allocations: 0 / 0.5714 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3637, allocations: 0 / 0.5714 GB, free: 37.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3637, allocations: 7 kB / 0.5714 GB, free: 37.11 MB / 430.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.006049/0.3698, allocations: 2.074 MB / 0.5734 GB, free: 36.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3698, allocations: 12.23 kB / 0.5734 GB, free: 36.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.373, allocations: 0.5557 MB / 0.574 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3741, allocations: 0.7861 MB / 0.5747 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3744, allocations: 220.9 kB / 0.5749 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.3745, allocations: 67.06 kB / 0.575 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.376, allocations: 0.8792 MB / 0.5759 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3761, allocations: 0 / 0.5759 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.3761, allocations: 25.84 kB / 0.5759 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3762, allocations: 24.62 kB / 0.5759 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.3779, allocations: 0.909 MB / 0.5768 GB, free: 34.64 MB / 430.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.004959/0.3829, allocations: 3.097 MB / 0.5798 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00595/0.3888, allocations: 1.98 MB / 0.5817 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3899, allocations: 0.5944 MB / 0.5823 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.39, allocations: 14.2 kB / 0.5823 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.3912, allocations: 0.6699 MB / 0.583 GB, free: 31.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.434e-06/0.3912, allocations: 0 / 0.583 GB, free: 31.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01826/0.4095, allocations: 5.616 MB / 0.5885 GB, free: 30.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4096, allocations: 62.06 kB / 0.5885 GB, free: 30.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.4112, allocations: 0.9707 MB / 0.5895 GB, free: 29.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.4114, allocations: 35.98 kB / 0.5895 GB, free: 29.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.4117, allocations: 474.3 kB / 0.59 GB, free: 29.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.4119, allocations: 264.1 kB / 0.5902 GB, free: 29.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.4121, allocations: 92.7 kB / 0.5903 GB, free: 29.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.4121, allocations: 342.6 kB / 0.5906 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4132, allocations: 0.5966 MB / 0.5912 GB, free: 28.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4145, allocations: 0.718 MB / 0.5919 GB, free: 28.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/0.4326, allocations: 4.441 MB / 0.5963 GB, free: 27.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/0.4326, allocations: 5.219 kB / 0.5963 GB, free: 27.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009475/0.4421, allocations: 3.339 MB / 0.5995 GB, free: 26.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4422, allocations: 5.938 kB / 0.5995 GB, free: 26.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.4422, allocations: 6.703 kB / 0.5995 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.4475, allocations: 1.481 MB / 0.601 GB, free: 26.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4486, allocations: 196 kB / 0.6012 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.4615, allocations: 5.735 MB / 0.6068 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4633, allocations: 180.3 kB / 0.6069 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.4635, allocations: 35.73 kB / 0.607 GB, free: 23.22 MB / 430.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.0006381/0.4641, allocations: 224.7 kB / 0.6072 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.4644, allocations: 115.7 kB / 0.6073 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009521/0.474, allocations: 3.165 MB / 0.6104 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.474, allocations: 11.47 kB / 0.6104 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.474, allocations: 0.9062 kB / 0.6104 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.4741, allocations: 5.141 kB / 0.6104 GB, free: 21.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.4848, allocations: 4.523 MB / 0.6148 GB, free: 17.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.4849, allocations: 4 kB / 0.6148 GB, free: 17.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/0.4855, allocations: 95.89 kB / 0.6149 GB, free: 16.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004939/0.4905, allocations: 1.542 MB / 0.6164 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.4906, allocations: 16 kB / 0.6164 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.5024, allocations: 5.89 MB / 0.6222 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5024, allocations: 0 / 0.6222 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.5128, allocations: 3.93 MB / 0.626 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.5133, allocations: 207.7 kB / 0.6262 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/0.5136, allocations: 12 kB / 0.6262 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.5148, allocations: 115.9 kB / 0.6264 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005329/0.5154, allocations: 156.3 kB / 0.6265 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/0.5155, allocations: 16 kB / 0.6265 GB, free: 4.852 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.5165, allocations: 0.6631 MB / 0.6272 GB, free: 4.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5165, allocations: 0 / 0.6272 GB, free: 4.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001602/0.5181, allocations: 355.5 kB / 0.6275 GB, free: 3.832 MB / 430.1 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.0002896/0.5184, allocations: 131.2 kB / 0.6276 GB, free: 3.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004956/0.5234, allocations: 2.036 MB / 0.6296 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5234, allocations: 4 kB / 0.6296 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.5268, allocations: 1.349 MB / 0.6309 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.528, allocations: 96.89 kB / 0.631 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.532, allocations: 2.197 MB / 0.6332 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.5328, allocations: 1.053 MB / 0.6342 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.5333, allocations: 98.67 kB / 0.6343 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.5336, allocations: 63.42 kB / 0.6344 GB, free: 12.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5336, allocations: 0 / 0.6344 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Templates: time 0.03017/0.5638, allocations: 16.57 MB / 0.6505 GB, free: 12.16 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: