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) 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/Complex 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 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 196.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5111/0.5111, allocations: 91.9 MB / 432.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 75.89 kB / 0.5033 GB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3555, allocations: 71.26 MB / 0.5729 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.0086/0.3641, allocations: 6.025 MB / 0.5787 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005737/0.3699, allocations: 1.844 MB / 0.5805 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.3712, allocations: 15.78 kB / 0.5806 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3724, allocations: 206.7 kB / 0.5808 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.3756, allocations: 0.7068 MB / 0.5814 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.3776, allocations: 0.5444 MB / 0.582 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.3801, allocations: 1.419 MB / 0.5834 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.3808, allocations: 287.3 kB / 0.5836 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.382, allocations: 0.5634 MB / 0.5842 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.3832, allocations: 0.6458 MB / 0.5848 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.3835, allocations: 99.47 kB / 0.5849 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.3844, allocations: 230.4 kB / 0.5851 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.3848, allocations: 262.4 kB / 0.5854 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009494/0.3858, allocations: 0.5715 MB / 0.5859 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.3878, allocations: 1.396 MB / 0.5873 GB, free: 28.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3879, allocations: 0 / 0.5873 GB, free: 28.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3879, allocations: 0 / 0.5873 GB, free: 28.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.647e-05/0.3879, allocations: 0 / 0.5873 GB, free: 28.85 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.01229/0.4003, allocations: 2.234 MB / 0.5895 GB, free: 27.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4003, allocations: 13.84 kB / 0.5895 GB, free: 27.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.4038, allocations: 0.5589 MB / 0.59 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.405, allocations: 0.787 MB / 0.5908 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4052, allocations: 215.8 kB / 0.591 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4054, allocations: 65.59 kB / 0.5911 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.4069, allocations: 0.8353 MB / 0.5919 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.4069, allocations: 0 / 0.5919 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.407, allocations: 25.59 kB / 0.5919 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.407, allocations: 19.41 kB / 0.5919 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.4087, allocations: 0.8523 MB / 0.5928 GB, free: 26.27 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.005089/0.4138, allocations: 3.025 MB / 0.5957 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005669/0.4195, allocations: 1.712 MB / 0.5974 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.4206, allocations: 0.5544 MB / 0.5979 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.634e-05/0.4207, allocations: 9.812 kB / 0.598 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.4219, allocations: 0.6206 MB / 0.5986 GB, free: 23.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.455e-06/0.4219, allocations: 0 / 0.5986 GB, free: 23.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01867/0.4406, allocations: 4.708 MB / 0.6032 GB, free: 22.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4407, allocations: 59.77 kB / 0.6032 GB, free: 22.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.4427, allocations: 0.9671 MB / 0.6042 GB, free: 21.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.4428, allocations: 40.45 kB / 0.6042 GB, free: 21.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.4432, allocations: 473.3 kB / 0.6046 GB, free: 21.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/0.4436, allocations: 263.6 kB / 0.6049 GB, free: 21.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004824/0.4441, allocations: 178.8 kB / 0.6051 GB, free: 21.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4442, allocations: 342.3 kB / 0.6054 GB, free: 20.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4455, allocations: 0.5545 MB / 0.6059 GB, free: 20.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.4467, allocations: 0.6698 MB / 0.6066 GB, free: 20.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/0.4629, allocations: 4.038 MB / 0.6105 GB, free: 19.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.4629, allocations: 0 / 0.6105 GB, free: 19.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008577/0.4715, allocations: 2.836 MB / 0.6133 GB, free: 18.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4716, allocations: 8.828 kB / 0.6133 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.4716, allocations: 2.688 kB / 0.6133 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004273/0.4759, allocations: 1.271 MB / 0.6146 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.4768, allocations: 185.2 kB / 0.6147 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.4878, allocations: 5.684 MB / 0.6203 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4894, allocations: 155 kB / 0.6204 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.4895, allocations: 35.98 kB / 0.6205 GB, free: 13.11 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.0004786/0.49, allocations: 229.6 kB / 0.6207 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.4903, allocations: 118.6 kB / 0.6208 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007384/0.4976, allocations: 2.649 MB / 0.6234 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4977, allocations: 8 kB / 0.6234 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4977, allocations: 0 / 0.6234 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.4977, allocations: 3.984 kB / 0.6234 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008498/0.5062, allocations: 4.027 MB / 0.6273 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5062, allocations: 0 / 0.6273 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.5067, allocations: 91.83 kB / 0.6274 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004187/0.5109, allocations: 1.322 MB / 0.6287 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.511, allocations: 12 kB / 0.6287 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.5222, allocations: 6.017 MB / 0.6346 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5222, allocations: 0 / 0.6346 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009581/0.5318, allocations: 3.369 MB / 0.6379 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.5322, allocations: 199.6 kB / 0.6381 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5324, allocations: 23.92 kB / 0.6381 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.5334, allocations: 83.91 kB / 0.6382 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/0.5339, allocations: 156.4 kB / 0.6383 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.534, allocations: 20 kB / 0.6383 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.535, allocations: 0.6631 MB / 0.639 GB, free: 9.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.535, allocations: 0 / 0.639 GB, free: 9.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001113/0.5361, allocations: 351.7 kB / 0.6393 GB, free: 9.445 MB / 446.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.0002518/0.5364, allocations: 119.2 kB / 0.6394 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004668/0.541, allocations: 1.87 MB / 0.6413 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5411, allocations: 0 / 0.6413 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.5444, allocations: 1.227 MB / 0.6425 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.5452, allocations: 96.41 kB / 0.6426 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.5487, allocations: 1.788 MB / 0.6443 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.5494, allocations: 1.042 MB / 0.6453 GB, free: 3.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003679/0.5498, allocations: 98.67 kB / 0.6454 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.55, allocations: 67.42 kB / 0.6455 GB, free: 3.004 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.55, allocations: 0 / 0.6455 GB, free: 3.004 MB / 446.1 MB Notification: Performance of Templates: time 0.03004/0.58, allocations: 18.75 MB / 0.6638 GB, free: 296 kB / 462.1 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)