Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0858/0.0858, allocations: 12.6 MB / 28.9 MB, free: 0.6289 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.5 kB / 32.5 MB, free: 3.57 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 241.1 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 192.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4361/0.4361, allocations: 78.5 MB / 420 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 142 kB / 0.5565 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1356, allocations: 68.13 MB / 0.623 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007325/0.1429, allocations: 6.063 MB / 0.6289 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1471, allocations: 1.806 MB / 0.6307 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1482, allocations: 15.94 kB / 0.6307 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000948/0.1492, allocations: 210.2 kB / 0.6309 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.1518, allocations: 0.7066 MB / 0.6316 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1532, allocations: 0.5439 MB / 0.6321 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.1554, allocations: 1.417 MB / 0.6335 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.156, allocations: 283.2 kB / 0.6338 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1571, allocations: 0.5641 MB / 0.6343 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.1583, allocations: 0.6611 MB / 0.635 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.1586, allocations: 100 kB / 0.6351 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.1594, allocations: 231.9 kB / 0.6353 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.1599, allocations: 262.9 kB / 0.6356 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000882/0.1608, allocations: 0.5708 MB / 0.6361 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.1628, allocations: 1.39 MB / 0.6375 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1628, allocations: 0 / 0.6375 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1628, allocations: 4 kB / 0.6375 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.211e-05/0.1629, allocations: 0 / 0.6375 GB, free: 0.5938 MB / 446.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.007997/0.1709, allocations: 2.235 MB / 0.6397 GB, free: 14.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1709, allocations: 11.98 kB / 0.6397 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.1746, allocations: 0.5609 MB / 0.6402 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.1763, allocations: 0.7876 MB / 0.641 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.1766, allocations: 205.8 kB / 0.6412 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.1768, allocations: 64 kB / 0.6412 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.1787, allocations: 0.8341 MB / 0.6421 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1788, allocations: 0 / 0.6421 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.1789, allocations: 24 kB / 0.6421 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.1789, allocations: 19.94 kB / 0.6421 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.1808, allocations: 0.8523 MB / 0.6429 GB, free: 10.86 MB / 462.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.005953/0.1867, allocations: 3.035 MB / 0.6459 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006281/0.193, allocations: 1.702 MB / 0.6476 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.1942, allocations: 0.5551 MB / 0.6481 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.774e-05/0.1943, allocations: 12.64 kB / 0.6481 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.1957, allocations: 0.6249 MB / 0.6487 GB, free: 4.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 4.298e-06/0.1957, allocations: 0 / 0.6487 GB, free: 4.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01847/0.2142, allocations: 4.695 MB / 0.6533 GB, free: 15.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2143, allocations: 60.06 kB / 0.6534 GB, free: 15.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.216, allocations: 0.9738 MB / 0.6543 GB, free: 14.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.2162, allocations: 41.7 kB / 0.6543 GB, free: 14.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.2166, allocations: 464.2 kB / 0.6548 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.217, allocations: 272.2 kB / 0.6551 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.2174, allocations: 178.5 kB / 0.6552 GB, free: 13.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2175, allocations: 345.9 kB / 0.6556 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.2188, allocations: 0.5563 MB / 0.6561 GB, free: 13.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.2201, allocations: 0.6633 MB / 0.6567 GB, free: 12.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/0.2368, allocations: 4.042 MB / 0.6607 GB, free: 8.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2369, allocations: 0 / 0.6607 GB, free: 8.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008984/0.2459, allocations: 2.831 MB / 0.6635 GB, free: 5.391 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.246, allocations: 15.98 kB / 0.6635 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.246, allocations: 0 / 0.6635 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/0.2508, allocations: 1.262 MB / 0.6647 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.2518, allocations: 191.7 kB / 0.6649 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.2646, allocations: 5.668 MB / 0.6704 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.2662, allocations: 151 kB / 0.6706 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.2664, allocations: 35.98 kB / 0.6706 GB, free: 13.92 MB / 494.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.0006445/0.2671, allocations: 249.8 kB / 0.6708 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.2674, allocations: 110.6 kB / 0.6709 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008815/0.2763, allocations: 2.657 MB / 0.6735 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.2763, allocations: 8 kB / 0.6735 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.2763, allocations: 4 kB / 0.6735 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.2763, allocations: 3.984 kB / 0.6736 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.287, allocations: 4.019 MB / 0.6775 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.2871, allocations: 0 / 0.6775 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.2876, allocations: 95.83 kB / 0.6776 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004926/0.2925, allocations: 1.321 MB / 0.6789 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.2927, allocations: 12 kB / 0.6789 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/0.3062, allocations: 6.019 MB / 0.6847 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3063, allocations: 4 kB / 0.6848 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.3165, allocations: 3.369 MB / 0.688 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.3169, allocations: 203.6 kB / 0.6882 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.3172, allocations: 19.94 kB / 0.6883 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.3183, allocations: 87.89 kB / 0.6883 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.3188, allocations: 148.4 kB / 0.6885 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.3189, allocations: 23.98 kB / 0.6885 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001128/0.32, allocations: 0.6631 MB / 0.6892 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.32, allocations: 0 / 0.6892 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001223/0.3212, allocations: 347.7 kB / 0.6895 GB, free: 10.23 MB / 0.4981 GB 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.0002886/0.3215, allocations: 123.7 kB / 0.6896 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005138/0.3267, allocations: 1.878 MB / 0.6914 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3267, allocations: 4.188 kB / 0.6914 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003438/0.3302, allocations: 1.207 MB / 0.6926 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/0.3311, allocations: 96.39 kB / 0.6927 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.3349, allocations: 1.817 MB / 0.6945 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.3356, allocations: 1.046 MB / 0.6955 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.3359, allocations: 71.42 kB / 0.6956 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.3359, allocations: 0 / 0.6956 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of Templates: time 0.3041/0.64, allocations: 21.89 MB / 0.7169 GB, free: 85.55 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)