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.001263/0.001263, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.417/1.417, allocations: 222.9 MB / 238.8 MB, free: 4.758 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.001705/0.001704, allocations: 192.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5324/0.5324, allocations: 91.89 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 75.83 kB / 0.5012 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3626, allocations: 71.27 MB / 0.5708 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006679/0.3693, allocations: 6.339 MB / 0.577 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.3738, allocations: 1.884 MB / 0.5788 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.3748, allocations: 17.75 kB / 0.5788 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007326/0.3755, allocations: 160.9 kB / 0.579 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.3773, allocations: 0.6364 MB / 0.5796 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3784, allocations: 0.5079 MB / 0.5801 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3797, allocations: 1.343 MB / 0.5814 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.3801, allocations: 247 kB / 0.5817 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.3807, allocations: 0.5121 MB / 0.5822 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.3812, allocations: 0.6176 MB / 0.5828 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.3813, allocations: 62.03 kB / 0.5828 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.3818, allocations: 191 kB / 0.583 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.382, allocations: 227 kB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.3823, allocations: 0.5284 MB / 0.5837 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3833, allocations: 1.345 MB / 0.585 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3834, allocations: 0 / 0.585 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3834, allocations: 3.375 kB / 0.585 GB, free: 28.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3834, allocations: 0 / 0.585 GB, free: 28.51 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.007118/0.3905, allocations: 2.229 MB / 0.5872 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3906, allocations: 9.875 kB / 0.5872 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/0.3941, allocations: 0.563 MB / 0.5878 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.3954, allocations: 0.7793 MB / 0.5885 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.3957, allocations: 209.4 kB / 0.5887 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3959, allocations: 62.94 kB / 0.5888 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.3976, allocations: 0.8392 MB / 0.5896 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3976, allocations: 1.625 kB / 0.5896 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.3977, allocations: 28.84 kB / 0.5897 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3977, allocations: 18.69 kB / 0.5897 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3996, allocations: 0.8495 MB / 0.5905 GB, free: 25.94 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.005549/0.4051, allocations: 3.048 MB / 0.5935 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006273/0.4114, allocations: 1.713 MB / 0.5952 GB, free: 23.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.4127, allocations: 0.5494 MB / 0.5957 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.329e-05/0.4128, allocations: 15.67 kB / 0.5957 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.4142, allocations: 0.6156 MB / 0.5963 GB, free: 22.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.905e-06/0.4142, allocations: 0 / 0.5963 GB, free: 22.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01973/0.4339, allocations: 4.699 MB / 0.6009 GB, free: 21.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.434, allocations: 59.91 kB / 0.6009 GB, free: 21.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.4358, allocations: 0.9739 MB / 0.6019 GB, free: 21.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.4361, allocations: 41.67 kB / 0.6019 GB, free: 21.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.4365, allocations: 464.8 kB / 0.6024 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.4368, allocations: 268.1 kB / 0.6026 GB, free: 20.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.4372, allocations: 182 kB / 0.6028 GB, free: 20.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.4373, allocations: 342.8 kB / 0.6031 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4386, allocations: 0.5505 MB / 0.6037 GB, free: 20.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.4399, allocations: 0.6697 MB / 0.6043 GB, free: 19.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/0.4573, allocations: 4.041 MB / 0.6083 GB, free: 18.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.4573, allocations: 0 / 0.6083 GB, free: 18.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009393/0.4667, allocations: 2.836 MB / 0.611 GB, free: 17.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.4668, allocations: 13.56 kB / 0.6111 GB, free: 17.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4668, allocations: 3.672 kB / 0.6111 GB, free: 17.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00501/0.4718, allocations: 1.26 MB / 0.6123 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.473, allocations: 190.3 kB / 0.6125 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.4843, allocations: 5.247 MB / 0.6176 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.486, allocations: 153.9 kB / 0.6177 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.4861, allocations: 43.92 kB / 0.6178 GB, free: 14.14 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.0004642/0.4866, allocations: 225.7 kB / 0.618 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.4868, allocations: 114.5 kB / 0.6181 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007714/0.4945, allocations: 2.653 MB / 0.6207 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4945, allocations: 8 kB / 0.6207 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.4946, allocations: 0 / 0.6207 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4946, allocations: 7.984 kB / 0.6207 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009085/0.5037, allocations: 4.025 MB / 0.6246 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5037, allocations: 3.938 kB / 0.6247 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.5042, allocations: 87.88 kB / 0.6247 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004401/0.5086, allocations: 1.319 MB / 0.626 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.5088, allocations: 19.98 kB / 0.626 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.5198, allocations: 5.469 MB / 0.6314 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5198, allocations: 0 / 0.6314 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.5308, allocations: 3.36 MB / 0.6347 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/0.5314, allocations: 203.7 kB / 0.6349 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/0.5317, allocations: 12 kB / 0.6349 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5328, allocations: 87.89 kB / 0.635 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/0.5333, allocations: 160.3 kB / 0.6351 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.5334, allocations: 20 kB / 0.6351 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.5345, allocations: 0.6553 MB / 0.6358 GB, free: 11.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5345, allocations: 4 kB / 0.6358 GB, free: 11.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001349/0.5359, allocations: 355.8 kB / 0.6361 GB, free: 11.04 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.0002716/0.5362, allocations: 119.2 kB / 0.6362 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005348/0.5415, allocations: 1.851 MB / 0.638 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5416, allocations: 0 / 0.638 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.5449, allocations: 1.182 MB / 0.6392 GB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.5463, allocations: 92.41 kB / 0.6393 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.5503, allocations: 2.176 MB / 0.6414 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.551, allocations: 1.046 MB / 0.6424 GB, free: 4.449 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.5514, allocations: 94.69 kB / 0.6425 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.5516, allocations: 67.42 kB / 0.6426 GB, free: 4.285 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5516, allocations: 0 / 0.6426 GB, free: 4.285 MB / 446.1 MB Notification: Performance of Templates: time 0.0307/0.5824, allocations: 16.89 MB / 0.6591 GB, free: 3.43 MB / 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)