Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001278/0.001279, allocations: 168.9 kB / 16.1 MB, free: 5.691 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.434/1.434, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.0008651/0.0008652, allocations: 93.39 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5202/0.5202, allocations: 78.62 MB / 421 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004216, allocations: 15.94 kB / 0.4894 GB, free: 9.301 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3378, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004355/0.3422, allocations: 5.871 MB / 0.5629 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3449, allocations: 1.86 MB / 0.5647 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.3453, allocations: 15.94 kB / 0.5647 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.3458, allocations: 162.9 kB / 0.5648 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.347, allocations: 0.6276 MB / 0.5655 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.3478, allocations: 0.5023 MB / 0.5659 GB, free: 9.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.3486, allocations: 1.347 MB / 0.5673 GB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.3489, allocations: 251.7 kB / 0.5675 GB, free: 8.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.3494, allocations: 0.4937 MB / 0.568 GB, free: 7.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.35, allocations: 0.5908 MB / 0.5686 GB, free: 7.051 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.3501, allocations: 48 kB / 0.5686 GB, free: 7.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.3504, allocations: 179.9 kB / 0.5688 GB, free: 6.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.3506, allocations: 214.8 kB / 0.569 GB, free: 6.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.3509, allocations: 0.5296 MB / 0.5695 GB, free: 6.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.3516, allocations: 1.019 MB / 0.5705 GB, free: 5.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3516, allocations: 0 / 0.5705 GB, free: 5.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3517, allocations: 0 / 0.5705 GB, free: 5.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3517, allocations: 4 kB / 0.5705 GB, free: 5.055 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.005543/0.3572, allocations: 2.076 MB / 0.5725 GB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3573, allocations: 16.03 kB / 0.5725 GB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.3603, allocations: 0.5532 MB / 0.5731 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3614, allocations: 0.7836 MB / 0.5738 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.3616, allocations: 221.8 kB / 0.5741 GB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3617, allocations: 64 kB / 0.5741 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.3631, allocations: 0.881 MB / 0.575 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3631, allocations: 7.922 kB / 0.575 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.3632, allocations: 28 kB / 0.575 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3632, allocations: 19.88 kB / 0.575 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.365, allocations: 0.907 MB / 0.5759 GB, free: 15.36 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.00519/0.3702, allocations: 3.109 MB / 0.579 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00596/0.3762, allocations: 1.98 MB / 0.5809 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.3774, allocations: 0.5967 MB / 0.5815 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.094e-05/0.3775, allocations: 8.656 kB / 0.5815 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.3787, allocations: 0.668 MB / 0.5821 GB, free: 8.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 2.725e-06/0.3787, allocations: 0 / 0.5821 GB, free: 8.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.01829/0.397, allocations: 5.62 MB / 0.5876 GB, free: 3.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3971, allocations: 60.06 kB / 0.5877 GB, free: 3.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.3986, allocations: 0.9622 MB / 0.5886 GB, free: 2.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.3987, allocations: 37.7 kB / 0.5887 GB, free: 1.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.3991, allocations: 472.2 kB / 0.5891 GB, free: 1.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.3994, allocations: 268.2 kB / 0.5894 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3995, allocations: 89.66 kB / 0.5894 GB, free: 1.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3997, allocations: 345.9 kB / 0.5898 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4009, allocations: 0.5993 MB / 0.5904 GB, free: 212 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.4022, allocations: 0.718 MB / 0.5911 GB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/0.4188, allocations: 4.451 MB / 0.5954 GB, free: 10.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4188, allocations: 0 / 0.5954 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008773/0.4276, allocations: 3.331 MB / 0.5987 GB, free: 7.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4276, allocations: 11.92 kB / 0.5987 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4277, allocations: 7.938 kB / 0.5987 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004759/0.4324, allocations: 1.48 MB / 0.6001 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.4334, allocations: 187.8 kB / 0.6003 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.4451, allocations: 5.734 MB / 0.6059 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.4466, allocations: 175 kB / 0.6061 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4468, allocations: 43.92 kB / 0.6061 GB, free: 15.85 MB / 426.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.0005741/0.4473, allocations: 229.6 kB / 0.6063 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.4476, allocations: 118.5 kB / 0.6064 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/0.4566, allocations: 3.157 MB / 0.6095 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4566, allocations: 12 kB / 0.6095 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4566, allocations: 3.984 kB / 0.6095 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.4566, allocations: 3.984 kB / 0.6095 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4674, allocations: 4.525 MB / 0.614 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4675, allocations: 3.938 kB / 0.614 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.468, allocations: 103.8 kB / 0.6141 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004916/0.4729, allocations: 1.53 MB / 0.6156 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.473, allocations: 16 kB / 0.6156 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.4854, allocations: 5.905 MB / 0.6213 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4854, allocations: 0 / 0.6213 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.4958, allocations: 3.926 MB / 0.6252 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.4963, allocations: 203.6 kB / 0.6254 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.4966, allocations: 16 kB / 0.6254 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4977, allocations: 111.9 kB / 0.6255 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/0.4982, allocations: 164.3 kB / 0.6257 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.4983, allocations: 19.94 kB / 0.6257 GB, free: 11.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.4994, allocations: 0.6592 MB / 0.6263 GB, free: 10.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4995, allocations: 0 / 0.6263 GB, free: 10.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001309/0.5008, allocations: 347.7 kB / 0.6266 GB, free: 10.48 MB / 442.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.0003003/0.5011, allocations: 127.2 kB / 0.6268 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005032/0.5061, allocations: 2.046 MB / 0.6288 GB, free: 8.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5062, allocations: 0 / 0.6288 GB, free: 8.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/0.5096, allocations: 1.329 MB / 0.6301 GB, free: 6.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009461/0.5105, allocations: 96.41 kB / 0.6302 GB, free: 6.812 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.5145, allocations: 2.233 MB / 0.6323 GB, free: 4.547 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.5152, allocations: 1.053 MB / 0.6334 GB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.5155, allocations: 67.42 kB / 0.6334 GB, free: 3.402 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5156, allocations: 0 / 0.6334 GB, free: 3.402 MB / 442.7 MB Notification: Performance of Templates: time 0.02917/0.5447, allocations: 21.67 MB / 0.6546 GB, free: 13.71 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)