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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 239.7 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009645/0.0009642, allocations: 96.2 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4402/0.4402, allocations: 78.48 MB / 418.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 64.19 kB / 497.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 68.12 MB / 0.5523 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004974/0.2793, allocations: 6.318 MB / 0.5585 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2825, allocations: 1.895 MB / 0.5603 GB, free: 11.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.2831, allocations: 15.94 kB / 0.5603 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.2836, allocations: 162.9 kB / 0.5605 GB, free: 11.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.2849, allocations: 0.6278 MB / 0.5611 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.2858, allocations: 0.5067 MB / 0.5616 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.2867, allocations: 1.374 MB / 0.5629 GB, free: 9.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.2871, allocations: 249.9 kB / 0.5632 GB, free: 9.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.2875, allocations: 0.5171 MB / 0.5637 GB, free: 8.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.288, allocations: 0.6181 MB / 0.5643 GB, free: 7.902 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.884e-05/0.2881, allocations: 60 kB / 0.5643 GB, free: 7.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.2885, allocations: 195.9 kB / 0.5645 GB, free: 7.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.2887, allocations: 230.8 kB / 0.5647 GB, free: 7.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.289, allocations: 0.524 MB / 0.5653 GB, free: 6.898 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.2898, allocations: 1.339 MB / 0.5666 GB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2898, allocations: 0 / 0.5666 GB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2898, allocations: 0 / 0.5666 GB, free: 5.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2898, allocations: 0 / 0.5666 GB, free: 5.555 MB / 378.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.006343/0.2962, allocations: 2.243 MB / 0.5688 GB, free: 3.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2962, allocations: 8.031 kB / 0.5688 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.2994, allocations: 0.5571 MB / 0.5693 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3004, allocations: 0.7797 MB / 0.5701 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.3006, allocations: 213.7 kB / 0.5703 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3008, allocations: 68 kB / 0.5703 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.3022, allocations: 0.8302 MB / 0.5711 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3022, allocations: 0 / 0.5711 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.3023, allocations: 24 kB / 0.5712 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3023, allocations: 19.94 kB / 0.5712 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3039, allocations: 0.8562 MB / 0.572 GB, free: 15.81 MB / 394.7 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.00518/0.3091, allocations: 3.054 MB / 0.575 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.3155, allocations: 1.709 MB / 0.5767 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.3167, allocations: 0.5498 MB / 0.5772 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.3168, allocations: 4.656 kB / 0.5772 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.318, allocations: 0.621 MB / 0.5778 GB, free: 9.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.318, allocations: 0 / 0.5778 GB, free: 9.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.01816/0.3362, allocations: 4.71 MB / 0.5824 GB, free: 4.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3363, allocations: 60.06 kB / 0.5825 GB, free: 4.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.3377, allocations: 0.9621 MB / 0.5834 GB, free: 3.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.3379, allocations: 41.7 kB / 0.5835 GB, free: 3.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.3382, allocations: 464.2 kB / 0.5839 GB, free: 3.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.3384, allocations: 272.2 kB / 0.5842 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.3388, allocations: 178.5 kB / 0.5843 GB, free: 2.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3389, allocations: 345.9 kB / 0.5847 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.3401, allocations: 0.5524 MB / 0.5852 GB, free: 1.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.3413, allocations: 0.6672 MB / 0.5859 GB, free: 1.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/0.3582, allocations: 4.045 MB / 0.5898 GB, free: 13.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3583, allocations: 0 / 0.5898 GB, free: 13.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008524/0.3668, allocations: 2.831 MB / 0.5926 GB, free: 10.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3669, allocations: 4 kB / 0.5926 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3669, allocations: 4 kB / 0.5926 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/0.3717, allocations: 1.265 MB / 0.5938 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.3727, allocations: 191.7 kB / 0.594 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.3845, allocations: 5.241 MB / 0.5991 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.386, allocations: 155 kB / 0.5993 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.3862, allocations: 35.98 kB / 0.5993 GB, free: 3.312 MB / 410.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 (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.0004831/0.3867, allocations: 237.6 kB / 0.5995 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.387, allocations: 114.5 kB / 0.5996 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008826/0.3958, allocations: 2.653 MB / 0.6022 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3959, allocations: 8 kB / 0.6022 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3959, allocations: 0 / 0.6022 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3959, allocations: 3.984 kB / 0.6022 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4066, allocations: 4.021 MB / 0.6062 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4066, allocations: 4 kB / 0.6062 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.4071, allocations: 99.86 kB / 0.6063 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004971/0.4121, allocations: 1.319 MB / 0.6075 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.4122, allocations: 12 kB / 0.6076 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.4245, allocations: 5.475 MB / 0.6129 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4245, allocations: 0 / 0.6129 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06203/0.4865, allocations: 21.55 MB / 0.6339 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.4868, allocations: 195.5 kB / 0.6341 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.487, allocations: 15.94 kB / 0.6341 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.4881, allocations: 87.89 kB / 0.6342 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/0.4887, allocations: 156.3 kB / 0.6344 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/0.4888, allocations: 16 kB / 0.6344 GB, free: 14.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.4898, allocations: 0.667 MB / 0.635 GB, free: 14.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4898, allocations: 0 / 0.635 GB, free: 14.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001539/0.4914, allocations: 495.5 kB / 0.6355 GB, free: 13.57 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.0002772/0.4917, allocations: 127.1 kB / 0.6356 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006098/0.4978, allocations: 1.843 MB / 0.6374 GB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4978, allocations: 0.5625 kB / 0.6374 GB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/0.5016, allocations: 1.195 MB / 0.6386 GB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5027, allocations: 99.09 kB / 0.6387 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.5092, allocations: 3.093 MB / 0.6417 GB, free: 7.086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.51, allocations: 1.076 MB / 0.6428 GB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.5105, allocations: 102.7 kB / 0.6429 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.5108, allocations: 67.42 kB / 0.6429 GB, free: 5.809 MB / 458.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5108, allocations: 0 / 0.6429 GB, free: 5.809 MB / 458.7 MB Notification: Performance of Templates: time 0.03847/0.5493, allocations: 23.57 MB / 0.666 GB, free: 14.25 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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)