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.0009548/0.0009547, allocations: 171 kB / 16.07 MB, free: 5.582 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.423/1.423, allocations: 222.8 MB / 239.7 MB, free: 11.89 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.0007681/0.0007681, allocations: 100.4 kB / 290.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4691/0.4691, allocations: 78.42 MB / 419.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 8.219 kB / 499.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 68.75 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005214/0.3051, allocations: 6.315 MB / 0.5607 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.3084, allocations: 1.891 MB / 0.5625 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.3089, allocations: 15.94 kB / 0.5625 GB, free: 11.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.3094, allocations: 162.9 kB / 0.5627 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.3107, allocations: 0.6256 MB / 0.5633 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.3116, allocations: 0.5069 MB / 0.5638 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.3125, allocations: 1.347 MB / 0.5651 GB, free: 9.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.3128, allocations: 247.7 kB / 0.5653 GB, free: 9.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.3132, allocations: 0.4937 MB / 0.5658 GB, free: 8.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.3137, allocations: 0.5985 MB / 0.5664 GB, free: 7.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.3138, allocations: 48 kB / 0.5665 GB, free: 7.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.3141, allocations: 179.9 kB / 0.5666 GB, free: 7.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3143, allocations: 210.8 kB / 0.5668 GB, free: 7.562 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.3146, allocations: 0.5045 MB / 0.5673 GB, free: 7.055 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.3153, allocations: 1.023 MB / 0.5683 GB, free: 6.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3153, allocations: 0 / 0.5683 GB, free: 6.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3153, allocations: 0 / 0.5683 GB, free: 6.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3153, allocations: 0 / 0.5683 GB, free: 6.031 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.005626/0.3209, allocations: 2.037 MB / 0.5703 GB, free: 3.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.321, allocations: 8.031 kB / 0.5703 GB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.3242, allocations: 0.5531 MB / 0.5709 GB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3253, allocations: 0.7837 MB / 0.5716 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.3255, allocations: 209.8 kB / 0.5718 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.3256, allocations: 60 kB / 0.5719 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.327, allocations: 0.8379 MB / 0.5727 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3271, allocations: 0 / 0.5727 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.3271, allocations: 24 kB / 0.5727 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3271, allocations: 19.94 kB / 0.5727 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.3287, allocations: 0.8523 MB / 0.5736 GB, free: 0.5039 MB / 378.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.005138/0.3338, allocations: 3.058 MB / 0.5766 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005921/0.3398, allocations: 1.711 MB / 0.5782 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.3408, allocations: 0.5498 MB / 0.5788 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.3409, allocations: 8.656 kB / 0.5788 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.3422, allocations: 0.6133 MB / 0.5794 GB, free: 10.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 3.697e-06/0.3422, allocations: 0 / 0.5794 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.01752/0.3597, allocations: 4.714 MB / 0.584 GB, free: 5.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3598, allocations: 60.06 kB / 0.584 GB, free: 5.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.3612, allocations: 0.9583 MB / 0.585 GB, free: 4.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/0.3613, allocations: 41.69 kB / 0.585 GB, free: 4.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.3617, allocations: 472.2 kB / 0.5855 GB, free: 3.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.3619, allocations: 268.2 kB / 0.5857 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.3621, allocations: 89.67 kB / 0.5858 GB, free: 3.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3622, allocations: 341.9 kB / 0.5861 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.3633, allocations: 0.5485 MB / 0.5867 GB, free: 2.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3646, allocations: 0.6711 MB / 0.5873 GB, free: 2.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/0.3808, allocations: 4.041 MB / 0.5913 GB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.3809, allocations: 0 / 0.5913 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008591/0.3895, allocations: 2.839 MB / 0.594 GB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3895, allocations: 4 kB / 0.594 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3895, allocations: 4 kB / 0.594 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004576/0.3941, allocations: 1.265 MB / 0.5953 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.3951, allocations: 195.7 kB / 0.5955 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.4063, allocations: 5.235 MB / 0.6006 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4077, allocations: 155 kB / 0.6007 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.4077, allocations: 39.92 kB / 0.6008 GB, free: 4.082 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.000441/0.4082, allocations: 233.6 kB / 0.601 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4084, allocations: 114.5 kB / 0.6011 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.4167, allocations: 2.653 MB / 0.6037 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4168, allocations: 4 kB / 0.6037 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4168, allocations: 4 kB / 0.6037 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.4168, allocations: 3.984 kB / 0.6037 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009641/0.4264, allocations: 4.025 MB / 0.6076 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4265, allocations: 0 / 0.6076 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.4269, allocations: 91.88 kB / 0.6077 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004692/0.4317, allocations: 1.315 MB / 0.609 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.4317, allocations: 19.98 kB / 0.609 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.4434, allocations: 5.479 MB / 0.6144 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4435, allocations: 0 / 0.6144 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009718/0.4532, allocations: 3.367 MB / 0.6177 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.4535, allocations: 199.7 kB / 0.6178 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4537, allocations: 16 kB / 0.6179 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/0.4546, allocations: 87.84 kB / 0.6179 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/0.455, allocations: 156.3 kB / 0.6181 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.4551, allocations: 24 kB / 0.6181 GB, free: 1.977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009307/0.456, allocations: 0.6553 MB / 0.6188 GB, free: 1.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.456, allocations: 0 / 0.6188 GB, free: 1.312 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009793/0.457, allocations: 347.7 kB / 0.6191 GB, free: 0.9727 MB / 426.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.0002378/0.4573, allocations: 127.2 kB / 0.6192 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004678/0.462, allocations: 1.843 MB / 0.621 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.462, allocations: 0 / 0.621 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003212/0.4652, allocations: 1.184 MB / 0.6222 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.4661, allocations: 92.41 kB / 0.6223 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.4695, allocations: 2.201 MB / 0.6244 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.4701, allocations: 1.046 MB / 0.6254 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.4704, allocations: 67.42 kB / 0.6255 GB, free: 10.28 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4704, allocations: 0 / 0.6255 GB, free: 10.28 MB / 442.7 MB Notification: Performance of Templates: time 0.0252/0.4956, allocations: 21.67 MB / 0.6467 GB, free: 4.59 MB / 458.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)