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.08385/0.08385, allocations: 12.2 MB / 28.08 MB, free: 1.348 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.001135/0.001134, allocations: 125 kB / 31.6 MB, free: 4.566 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.414/1.414, allocations: 205.1 MB / 240.1 MB, free: 10.93 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.001438/0.001438, allocations: 189.4 kB / 290.2 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4536/0.4536, allocations: 78.51 MB / 418.8 MB, free: 31.73 MB / 318.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.002572/0.002572, allocations: 135.8 kB / 499.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3782, allocations: 68.03 MB / 0.5538 GB, free: 37.88 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005685/0.384, allocations: 6.379 MB / 0.56 GB, free: 33.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.3876, allocations: 1.841 MB / 0.5618 GB, free: 31.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.3885, allocations: 15.34 kB / 0.5618 GB, free: 31.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.3893, allocations: 160.6 kB / 0.562 GB, free: 31.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.391, allocations: 0.6167 MB / 0.5626 GB, free: 31.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.392, allocations: 0.511 MB / 0.5631 GB, free: 31.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3934, allocations: 1.406 MB / 0.5645 GB, free: 30.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.3938, allocations: 281.2 kB / 0.5647 GB, free: 30.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006953/0.3945, allocations: 0.5677 MB / 0.5653 GB, free: 30.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.395, allocations: 0.6507 MB / 0.5659 GB, free: 29.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3952, allocations: 97.41 kB / 0.566 GB, free: 29.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.3956, allocations: 234.3 kB / 0.5662 GB, free: 29.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.3958, allocations: 264.6 kB / 0.5665 GB, free: 29.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.3962, allocations: 0.5764 MB / 0.5671 GB, free: 29.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3973, allocations: 1.058 MB / 0.5681 GB, free: 28.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3973, allocations: 0 / 0.5681 GB, free: 28.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3973, allocations: 0 / 0.5681 GB, free: 28.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3973, allocations: 0 / 0.5681 GB, free: 28.7 MB / 414.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.006668/0.404, allocations: 2.239 MB / 0.5703 GB, free: 27.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.404, allocations: 14.98 kB / 0.5703 GB, free: 27.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.4073, allocations: 0.5583 MB / 0.5708 GB, free: 27.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.4085, allocations: 0.7812 MB / 0.5716 GB, free: 26.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.4087, allocations: 209.9 kB / 0.5718 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4088, allocations: 66 kB / 0.5719 GB, free: 26.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.4103, allocations: 0.8314 MB / 0.5727 GB, free: 26.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4104, allocations: 0 / 0.5727 GB, free: 26.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.4105, allocations: 24.75 kB / 0.5727 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4105, allocations: 24.38 kB / 0.5727 GB, free: 26.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.412, allocations: 0.848 MB / 0.5735 GB, free: 26.12 MB / 414.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.005002/0.4171, allocations: 3.053 MB / 0.5765 GB, free: 24.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.4232, allocations: 1.717 MB / 0.5782 GB, free: 23.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.4244, allocations: 0.5473 MB / 0.5787 GB, free: 23.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/0.4245, allocations: 9.922 kB / 0.5787 GB, free: 23.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.4259, allocations: 0.6167 MB / 0.5793 GB, free: 23.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 3.346e-06/0.4259, allocations: 0 / 0.5793 GB, free: 23.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.02024/0.4462, allocations: 4.704 MB / 0.5839 GB, free: 22.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.4463, allocations: 59.09 kB / 0.584 GB, free: 21.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.448, allocations: 0.9631 MB / 0.5849 GB, free: 21.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.4483, allocations: 45.14 kB / 0.585 GB, free: 21.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.4486, allocations: 464.8 kB / 0.5854 GB, free: 21.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.449, allocations: 271.6 kB / 0.5857 GB, free: 20.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.4493, allocations: 180.1 kB / 0.5859 GB, free: 20.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.4494, allocations: 342.7 kB / 0.5862 GB, free: 20.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4505, allocations: 0.5507 MB / 0.5867 GB, free: 20.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.4518, allocations: 0.6734 MB / 0.5874 GB, free: 19.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/0.4688, allocations: 4.053 MB / 0.5913 GB, free: 17.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.4689, allocations: 1.25 kB / 0.5913 GB, free: 17.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008469/0.4773, allocations: 2.84 MB / 0.5941 GB, free: 16.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.4774, allocations: 6.594 kB / 0.5941 GB, free: 16.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4774, allocations: 2.312 kB / 0.5941 GB, free: 16.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004598/0.482, allocations: 1.27 MB / 0.5954 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4831, allocations: 193.6 kB / 0.5955 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.4938, allocations: 5.686 MB / 0.6011 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4955, allocations: 151 kB / 0.6012 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.4956, allocations: 32 kB / 0.6013 GB, free: 9.648 MB / 414.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.0004537/0.4961, allocations: 239.5 kB / 0.6015 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4962, allocations: 110.6 kB / 0.6016 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/0.5038, allocations: 2.657 MB / 0.6042 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.5039, allocations: 8 kB / 0.6042 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5039, allocations: 0 / 0.6042 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5039, allocations: 3.984 kB / 0.6042 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009277/0.5132, allocations: 4.029 MB / 0.6081 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.5133, allocations: 0 / 0.6081 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.5138, allocations: 91.83 kB / 0.6082 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004363/0.5181, allocations: 1.32 MB / 0.6095 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.83e-05/0.5182, allocations: 15.98 kB / 0.6095 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.5314, allocations: 6.017 MB / 0.6154 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5314, allocations: 4 kB / 0.6154 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.5415, allocations: 3.363 MB / 0.6187 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.5421, allocations: 203.6 kB / 0.6189 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.5423, allocations: 12 kB / 0.6189 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5433, allocations: 87.89 kB / 0.619 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005249/0.5439, allocations: 156.4 kB / 0.6191 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.5439, allocations: 16 kB / 0.6192 GB, free: 6.992 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.545, allocations: 0.6631 MB / 0.6198 GB, free: 6.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.545, allocations: 3.938 kB / 0.6198 GB, free: 6.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001161/0.5462, allocations: 359.6 kB / 0.6202 GB, free: 5.965 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.0002767/0.5464, allocations: 119.8 kB / 0.6203 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.5515, allocations: 1.898 MB / 0.6221 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5515, allocations: 7.938 kB / 0.6221 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00324/0.5548, allocations: 1.226 MB / 0.6233 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.5557, allocations: 94.16 kB / 0.6234 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.5593, allocations: 2.195 MB / 0.6256 GB, free: 340 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.56, allocations: 1.046 MB / 0.6266 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.5603, allocations: 75.36 kB / 0.6266 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5603, allocations: 0 / 0.6266 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02726/0.5875, allocations: 21.79 MB / 0.6479 GB, free: 9.383 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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)