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.005288/0.005288, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.348/1.348, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001232/0.001232, allocations: 184.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.514/0.514, allocations: 91.9 MB / 431.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 78.53 kB / 0.5727 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1162, allocations: 71.29 MB / 0.6423 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00653/0.1228, allocations: 6.012 MB / 0.6482 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.1268, allocations: 1.848 MB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006031/0.1275, allocations: 15.94 kB / 0.65 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.1281, allocations: 210.2 kB / 0.6502 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.1298, allocations: 0.7399 MB / 0.6509 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.131, allocations: 0.5514 MB / 0.6515 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.1325, allocations: 1.417 MB / 0.6528 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.133, allocations: 291.2 kB / 0.6531 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.1337, allocations: 0.5679 MB / 0.6537 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.1344, allocations: 0.6455 MB / 0.6543 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.1345, allocations: 100 kB / 0.6544 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.1349, allocations: 235.8 kB / 0.6546 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1351, allocations: 262.9 kB / 0.6549 GB, free: 6.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.1356, allocations: 0.5669 MB / 0.6554 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1369, allocations: 1.386 MB / 0.6568 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1369, allocations: 4 kB / 0.6568 GB, free: 4.727 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1369, allocations: 7.938 kB / 0.6568 GB, free: 4.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1369, allocations: 4 kB / 0.6568 GB, free: 4.715 MB / 462.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.006843/0.1438, allocations: 2.232 MB / 0.659 GB, free: 2.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1438, allocations: 8.031 kB / 0.659 GB, free: 2.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.1474, allocations: 0.5532 MB / 0.6595 GB, free: 1.867 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.1487, allocations: 0.7991 MB / 0.6603 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.1489, allocations: 205.8 kB / 0.6605 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1491, allocations: 67.98 kB / 0.6606 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1508, allocations: 0.8302 MB / 0.6614 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1509, allocations: 7.984 kB / 0.6614 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.151, allocations: 24 kB / 0.6614 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.151, allocations: 19.94 kB / 0.6614 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.1529, allocations: 0.8484 MB / 0.6623 GB, free: 14.98 MB / 478.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.005477/0.1583, allocations: 3.035 MB / 0.6652 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006662/0.165, allocations: 1.712 MB / 0.6669 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.1664, allocations: 0.542 MB / 0.6674 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.1665, allocations: 16.66 kB / 0.6674 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.1678, allocations: 0.621 MB / 0.668 GB, free: 8.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 3.516e-06/0.1678, allocations: 0 / 0.668 GB, free: 8.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01903/0.1869, allocations: 4.698 MB / 0.6726 GB, free: 4.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.187, allocations: 60.06 kB / 0.6727 GB, free: 3.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.1886, allocations: 0.9738 MB / 0.6736 GB, free: 2.984 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.1888, allocations: 41.7 kB / 0.6737 GB, free: 2.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.1892, allocations: 468.2 kB / 0.6741 GB, free: 2.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.1895, allocations: 264.2 kB / 0.6744 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.1899, allocations: 178.5 kB / 0.6745 GB, free: 2.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.19, allocations: 341.9 kB / 0.6749 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.1912, allocations: 0.5564 MB / 0.6754 GB, free: 1.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.1926, allocations: 0.6672 MB / 0.6761 GB, free: 444 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/0.2102, allocations: 4.038 MB / 0.68 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.2103, allocations: 4 kB / 0.68 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009613/0.2199, allocations: 2.835 MB / 0.6828 GB, free: 9.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.22, allocations: 8 kB / 0.6828 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.22, allocations: 0 / 0.6828 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/0.2252, allocations: 1.264 MB / 0.684 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.2263, allocations: 195.7 kB / 0.6842 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.2398, allocations: 5.68 MB / 0.6898 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.2414, allocations: 151 kB / 0.6899 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.2416, allocations: 35.98 kB / 0.6899 GB, free: 2.035 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.0005549/0.2422, allocations: 243.5 kB / 0.6902 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.2425, allocations: 110.6 kB / 0.6903 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009511/0.252, allocations: 2.653 MB / 0.6929 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.252, allocations: 8 kB / 0.6929 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2521, allocations: 4 kB / 0.6929 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/0.2521, allocations: 3.984 kB / 0.6929 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.2638, allocations: 4.019 MB / 0.6968 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.2638, allocations: 0 / 0.6968 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.2644, allocations: 99.81 kB / 0.6969 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/0.2697, allocations: 1.327 MB / 0.6982 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.2698, allocations: 12 kB / 0.6982 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/0.2844, allocations: 6.012 MB / 0.7041 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2844, allocations: 0 / 0.7041 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.2956, allocations: 3.361 MB / 0.7074 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.2962, allocations: 215.5 kB / 0.7076 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/0.2965, allocations: 12 kB / 0.7076 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.2977, allocations: 83.89 kB / 0.7077 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005469/0.2983, allocations: 156.4 kB / 0.7078 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.2984, allocations: 20 kB / 0.7078 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00116/0.2995, allocations: 0.6592 MB / 0.7085 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2995, allocations: 0 / 0.7085 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001327/0.3009, allocations: 351.6 kB / 0.7088 GB, free: 14.36 MB / 0.5137 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.000283/0.3012, allocations: 139.2 kB / 0.7089 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005333/0.3065, allocations: 1.878 MB / 0.7108 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3065, allocations: 0 / 0.7108 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003716/0.3103, allocations: 1.207 MB / 0.7119 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3114, allocations: 93.5 kB / 0.712 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.315, allocations: 1.78 MB / 0.7138 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.3157, allocations: 1.057 MB / 0.7148 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000384/0.316, allocations: 94.69 kB / 0.7149 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.3163, allocations: 67.42 kB / 0.715 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.3163, allocations: 0 / 0.715 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of Templates: time 0.03015/0.3465, allocations: 18.93 MB / 0.7334 GB, free: 5.008 MB / 0.5294 GB 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)