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-master/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-master/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-master/package.mo): time 0.1178/0.1178, allocations: 12.6 MB / 28.1 MB, free: 240 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.416/1.416, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001531/0.001531, allocations: 188.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4766/0.4766, allocations: 78.5 MB / 419.1 MB, free: 11.37 MB / 302.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.002663/0.002663, allocations: 143.8 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3269, allocations: 68.11 MB / 0.5546 GB, free: 32.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.008764/0.3357, allocations: 6.058 MB / 0.5605 GB, free: 28.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3411, allocations: 1.811 MB / 0.5622 GB, free: 26.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3426, allocations: 15 kB / 0.5623 GB, free: 26.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008961/0.3435, allocations: 209 kB / 0.5625 GB, free: 26.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.3455, allocations: 0.7064 MB / 0.5631 GB, free: 26.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3466, allocations: 0.5437 MB / 0.5637 GB, free: 25.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3479, allocations: 1.414 MB / 0.5651 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.3484, allocations: 273.5 kB / 0.5653 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.349, allocations: 0.56 MB / 0.5659 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.3497, allocations: 0.6564 MB / 0.5665 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3499, allocations: 99.66 kB / 0.5666 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.3504, allocations: 229 kB / 0.5668 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3506, allocations: 270.4 kB / 0.5671 GB, free: 23.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.3511, allocations: 0.5605 MB / 0.5676 GB, free: 23.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3523, allocations: 1.38 MB / 0.569 GB, free: 22.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3523, allocations: 0 / 0.569 GB, free: 22.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3523, allocations: 1.312 kB / 0.569 GB, free: 22.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.3524, allocations: 0 / 0.569 GB, free: 22.3 MB / 398.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.006804/0.3592, allocations: 2.233 MB / 0.5712 GB, free: 20.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3592, allocations: 12.77 kB / 0.5712 GB, free: 20.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.3626, allocations: 0.5593 MB / 0.5717 GB, free: 20.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.364, allocations: 0.7894 MB / 0.5725 GB, free: 19.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.3642, allocations: 211.8 kB / 0.5727 GB, free: 19.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3643, allocations: 63.12 kB / 0.5727 GB, free: 19.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.366, allocations: 0.8361 MB / 0.5736 GB, free: 19.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3661, allocations: 1.25 kB / 0.5736 GB, free: 19.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.3662, allocations: 25.09 kB / 0.5736 GB, free: 19.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.3662, allocations: 18.34 kB / 0.5736 GB, free: 19.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.3679, allocations: 0.8478 MB / 0.5744 GB, free: 18.85 MB / 398.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.005001/0.373, allocations: 3.048 MB / 0.5774 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/0.3786, allocations: 1.712 MB / 0.5791 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000991/0.3796, allocations: 0.5459 MB / 0.5796 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.068e-05/0.3797, allocations: 20.64 kB / 0.5796 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.3808, allocations: 0.621 MB / 0.5802 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 3.286e-06/0.3808, allocations: 0 / 0.5802 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01683/0.3976, allocations: 4.695 MB / 0.5848 GB, free: 8.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3977, allocations: 60.06 kB / 0.5849 GB, free: 8.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3991, allocations: 0.9699 MB / 0.5858 GB, free: 7.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3992, allocations: 41.7 kB / 0.5859 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.3995, allocations: 476.1 kB / 0.5863 GB, free: 6.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.3998, allocations: 264.2 kB / 0.5866 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.4001, allocations: 178.5 kB / 0.5867 GB, free: 6.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.4001, allocations: 345.9 kB / 0.5871 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4012, allocations: 0.5524 MB / 0.5876 GB, free: 5.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4023, allocations: 0.6711 MB / 0.5883 GB, free: 4.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/0.4177, allocations: 4.053 MB / 0.5922 GB, free: 396 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4178, allocations: 0 / 0.5922 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00907/0.4269, allocations: 2.831 MB / 0.595 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.4269, allocations: 8 kB / 0.595 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.427, allocations: 3.984 kB / 0.595 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004749/0.4317, allocations: 1.269 MB / 0.5962 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.4328, allocations: 191.7 kB / 0.5964 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.4456, allocations: 5.683 MB / 0.602 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.4473, allocations: 155 kB / 0.6021 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4474, allocations: 35.98 kB / 0.6022 GB, free: 6.059 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.0004786/0.4479, allocations: 227.2 kB / 0.6024 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.4481, allocations: 114.5 kB / 0.6025 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008347/0.4565, allocations: 2.653 MB / 0.6051 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4565, allocations: 8 kB / 0.6051 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.4565, allocations: 8 kB / 0.6051 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.4565, allocations: 3.984 kB / 0.6051 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.4667, allocations: 4.025 MB / 0.609 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4667, allocations: 4 kB / 0.609 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.4672, allocations: 91.83 kB / 0.6091 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/0.472, allocations: 1.327 MB / 0.6104 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/0.4722, allocations: 16 kB / 0.6104 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.4856, allocations: 6.016 MB / 0.6163 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4857, allocations: 0 / 0.6163 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.4957, allocations: 3.367 MB / 0.6196 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.4963, allocations: 203.6 kB / 0.6198 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.4966, allocations: 12 kB / 0.6198 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.4977, allocations: 91.89 kB / 0.6199 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/0.4982, allocations: 152.4 kB / 0.62 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.4983, allocations: 23.92 kB / 0.6201 GB, free: 3.391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.4994, allocations: 0.6592 MB / 0.6207 GB, free: 2.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4995, allocations: 4 kB / 0.6207 GB, free: 2.719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001308/0.5008, allocations: 351.7 kB / 0.621 GB, free: 2.375 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.0003291/0.5011, allocations: 119.2 kB / 0.6211 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.5065, allocations: 1.906 MB / 0.623 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5065, allocations: 0 / 0.623 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.5099, allocations: 1.231 MB / 0.6242 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.5108, allocations: 96.34 kB / 0.6243 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.5143, allocations: 1.821 MB / 0.6261 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.515, allocations: 1.046 MB / 0.6271 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004178/0.5154, allocations: 90.69 kB / 0.6272 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.5156, allocations: 71.42 kB / 0.6273 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5156, allocations: 0 / 0.6273 GB, free: 11.88 MB / 446.1 MB Notification: Performance of Templates: time 0.03003/0.5457, allocations: 18.72 MB / 0.6455 GB, free: 9.176 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)