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.0009943/0.0009937, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.397/1.397, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001153/0.001153, allocations: 176.6 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5485/0.5485, allocations: 91.92 MB / 433.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 12.38 kB / 0.5048 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 72.47 MB / 0.5755 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004619/0.3969, allocations: 5.893 MB / 0.5813 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.4001, allocations: 1.864 MB / 0.5831 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.4006, allocations: 12.28 kB / 0.5831 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.4011, allocations: 159.7 kB / 0.5833 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.4025, allocations: 0.6392 MB / 0.5839 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.4034, allocations: 0.495 MB / 0.5844 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.4044, allocations: 1.341 MB / 0.5857 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.4048, allocations: 249.1 kB / 0.5859 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.4053, allocations: 0.4929 MB / 0.5864 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.4058, allocations: 0.5952 MB / 0.587 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.4059, allocations: 54.44 kB / 0.587 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.4063, allocations: 181.7 kB / 0.5872 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.4065, allocations: 203.7 kB / 0.5874 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.4068, allocations: 0.5336 MB / 0.5879 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008739/0.4077, allocations: 1.312 MB / 0.5892 GB, free: 28.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4077, allocations: 0.625 kB / 0.5892 GB, free: 28.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4077, allocations: 2.406 kB / 0.5892 GB, free: 28.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.4077, allocations: 3.938 kB / 0.5892 GB, free: 28.61 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.006852/0.4146, allocations: 2.07 MB / 0.5912 GB, free: 27.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.4147, allocations: 13.06 kB / 0.5912 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.4185, allocations: 0.5648 MB / 0.5918 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.4197, allocations: 0.7825 MB / 0.5926 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.42, allocations: 214.8 kB / 0.5928 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.4202, allocations: 68.66 kB / 0.5928 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.4222, allocations: 0.8794 MB / 0.5937 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.4222, allocations: 0 / 0.5937 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.4223, allocations: 26.09 kB / 0.5937 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.4224, allocations: 18.72 kB / 0.5937 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.4244, allocations: 0.9123 MB / 0.5946 GB, free: 26.16 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.005458/0.4299, allocations: 3.1 MB / 0.5976 GB, free: 24.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/0.4365, allocations: 1.975 MB / 0.5996 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.4378, allocations: 0.5998 MB / 0.6002 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.4379, allocations: 12.45 kB / 0.6002 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/0.4394, allocations: 0.672 MB / 0.6008 GB, free: 23.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.276e-06/0.4395, allocations: 3.938 kB / 0.6008 GB, free: 23.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.02181/0.4613, allocations: 5.608 MB / 0.6063 GB, free: 21.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4613, allocations: 63.72 kB / 0.6064 GB, free: 21.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.4635, allocations: 0.9646 MB / 0.6073 GB, free: 21.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.4637, allocations: 39.86 kB / 0.6073 GB, free: 21.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.4641, allocations: 466.2 kB / 0.6078 GB, free: 21.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.4644, allocations: 268.1 kB / 0.608 GB, free: 20.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.4647, allocations: 94.91 kB / 0.6081 GB, free: 20.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.4648, allocations: 343 kB / 0.6085 GB, free: 20.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.4662, allocations: 0.6068 MB / 0.6091 GB, free: 20.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.4676, allocations: 0.7146 MB / 0.6098 GB, free: 19.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/0.4867, allocations: 4.438 MB / 0.6141 GB, free: 18.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.4868, allocations: 0.7031 kB / 0.6141 GB, free: 18.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01087/0.4977, allocations: 3.348 MB / 0.6174 GB, free: 17.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.4977, allocations: 5.875 kB / 0.6174 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4977, allocations: 2.125 kB / 0.6174 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005154/0.5029, allocations: 1.486 MB / 0.6188 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.504, allocations: 195.7 kB / 0.619 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.5157, allocations: 5.738 MB / 0.6246 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.5174, allocations: 179 kB / 0.6248 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.5176, allocations: 35.98 kB / 0.6248 GB, free: 10.62 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.0006137/0.5183, allocations: 237.6 kB / 0.625 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.5186, allocations: 114.5 kB / 0.6251 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009146/0.5277, allocations: 3.157 MB / 0.6282 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.5278, allocations: 8 kB / 0.6282 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.5278, allocations: 0 / 0.6282 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.5278, allocations: 3.984 kB / 0.6282 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.5385, allocations: 4.537 MB / 0.6327 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.5386, allocations: 0 / 0.6327 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.5392, allocations: 95.88 kB / 0.6328 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/0.5443, allocations: 1.53 MB / 0.6343 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.5445, allocations: 19.92 kB / 0.6343 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.5587, allocations: 5.898 MB / 0.64 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5588, allocations: 4 kB / 0.64 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.5711, allocations: 3.918 MB / 0.6439 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.5718, allocations: 207.7 kB / 0.6441 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.5722, allocations: 16 kB / 0.6441 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5735, allocations: 111.9 kB / 0.6442 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/0.574, allocations: 156.3 kB / 0.6443 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/0.5741, allocations: 20 kB / 0.6444 GB, free: 6.277 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.5754, allocations: 0.6669 MB / 0.645 GB, free: 5.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5754, allocations: 0 / 0.645 GB, free: 5.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001661/0.5771, allocations: 347.8 kB / 0.6453 GB, free: 5.262 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.0003705/0.5775, allocations: 131.1 kB / 0.6455 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00589/0.5834, allocations: 2.035 MB / 0.6475 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5834, allocations: 0 / 0.6475 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.5873, allocations: 1.344 MB / 0.6488 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5885, allocations: 95.58 kB / 0.6489 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.5926, allocations: 2.206 MB / 0.651 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.5933, allocations: 1.042 MB / 0.652 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004711/0.5938, allocations: 102.6 kB / 0.6521 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.5941, allocations: 63.42 kB / 0.6522 GB, free: 14.11 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5941, allocations: 3.938 kB / 0.6522 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Templates: time 0.03013/0.6242, allocations: 16.55 MB / 0.6684 GB, free: 13.58 MB / 478.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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)