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.11/0.11, allocations: 12.6 MB / 28.87 MB, free: 0.6641 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.001159/0.001158, allocations: 111.5 kB / 32.46 MB, free: 3.613 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.496/1.496, allocations: 205.1 MB / 241.1 MB, free: 12.41 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.001483/0.001483, allocations: 180.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4449/0.4449, allocations: 78.52 MB / 419.9 MB, free: 11.31 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.002751/0.002751, allocations: 152.5 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3259, allocations: 68.11 MB / 0.556 GB, free: 33.01 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005913/0.3319, allocations: 6.047 MB / 0.5619 GB, free: 28.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.3351, allocations: 1.815 MB / 0.5637 GB, free: 27.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.3356, allocations: 14.44 kB / 0.5637 GB, free: 27.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.3363, allocations: 209.1 kB / 0.5639 GB, free: 26.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3376, allocations: 0.7106 MB / 0.5646 GB, free: 26.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.3386, allocations: 0.5443 MB / 0.5651 GB, free: 25.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3399, allocations: 1.416 MB / 0.5665 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.3402, allocations: 280.1 kB / 0.5668 GB, free: 24.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.3408, allocations: 0.5608 MB / 0.5673 GB, free: 24.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.3414, allocations: 0.6527 MB / 0.5679 GB, free: 24.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.3416, allocations: 98.22 kB / 0.568 GB, free: 24.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.342, allocations: 232.8 kB / 0.5683 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3423, allocations: 267.3 kB / 0.5685 GB, free: 23.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.3427, allocations: 0.5607 MB / 0.5691 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3438, allocations: 1.397 MB / 0.5704 GB, free: 22.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3438, allocations: 0 / 0.5704 GB, free: 22.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3438, allocations: 4 kB / 0.5704 GB, free: 22.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3438, allocations: 1.344 kB / 0.5704 GB, free: 22.35 MB / 398.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.007249/0.3511, allocations: 2.234 MB / 0.5726 GB, free: 20.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3511, allocations: 13.36 kB / 0.5726 GB, free: 20.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.3546, allocations: 0.5563 MB / 0.5732 GB, free: 20.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.356, allocations: 0.7945 MB / 0.5739 GB, free: 20.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.3562, allocations: 212.8 kB / 0.5742 GB, free: 19.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3564, allocations: 61.97 kB / 0.5742 GB, free: 19.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3579, allocations: 0.8329 MB / 0.575 GB, free: 19.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3579, allocations: 0.9688 kB / 0.575 GB, free: 19.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.358, allocations: 24.78 kB / 0.575 GB, free: 19.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.358, allocations: 23.22 kB / 0.5751 GB, free: 19.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.3597, allocations: 0.8524 MB / 0.5759 GB, free: 18.85 MB / 398.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.004591/0.3643, allocations: 3.035 MB / 0.5789 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/0.3699, allocations: 1.697 MB / 0.5805 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/0.3708, allocations: 0.5499 MB / 0.5811 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/0.3709, allocations: 16.58 kB / 0.5811 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.372, allocations: 0.6248 MB / 0.5817 GB, free: 12.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 3.346e-06/0.372, allocations: 3.984 kB / 0.5817 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01648/0.3885, allocations: 4.695 MB / 0.5863 GB, free: 7.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3885, allocations: 68.06 kB / 0.5863 GB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3898, allocations: 0.9621 MB / 0.5873 GB, free: 6.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.3899, allocations: 41.7 kB / 0.5873 GB, free: 6.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.3902, allocations: 472.2 kB / 0.5878 GB, free: 6.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.3904, allocations: 264.2 kB / 0.588 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.3907, allocations: 182.5 kB / 0.5882 GB, free: 5.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.3908, allocations: 349.9 kB / 0.5885 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.3918, allocations: 0.5446 MB / 0.5891 GB, free: 5.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3928, allocations: 0.6711 MB / 0.5897 GB, free: 4.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/0.4081, allocations: 4.042 MB / 0.5937 GB, free: 240 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4082, allocations: 0 / 0.5937 GB, free: 240 kB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00843/0.4166, allocations: 2.831 MB / 0.5964 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.4167, allocations: 8 kB / 0.5964 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.4167, allocations: 0 / 0.5964 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004529/0.4213, allocations: 1.273 MB / 0.5977 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.4223, allocations: 191.8 kB / 0.5979 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.4346, allocations: 5.677 MB / 0.6034 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.4361, allocations: 151 kB / 0.6036 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4363, allocations: 39.98 kB / 0.6036 GB, free: 5.91 MB / 414.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.0004941/0.4368, allocations: 238.7 kB / 0.6038 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.437, allocations: 110.6 kB / 0.6039 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008523/0.4455, allocations: 2.657 MB / 0.6065 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4455, allocations: 8 kB / 0.6065 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4456, allocations: 4 kB / 0.6065 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.4456, allocations: 7.984 kB / 0.6065 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.4557, allocations: 4.023 MB / 0.6105 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4558, allocations: 0 / 0.6105 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.4563, allocations: 95.77 kB / 0.6106 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004693/0.461, allocations: 1.319 MB / 0.6118 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/0.4611, allocations: 16 kB / 0.6119 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.4739, allocations: 6.005 MB / 0.6177 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4739, allocations: 3.938 kB / 0.6177 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.484, allocations: 3.365 MB / 0.621 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.4845, allocations: 199.6 kB / 0.6212 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4847, allocations: 12 kB / 0.6212 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009746/0.4857, allocations: 91.89 kB / 0.6213 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006681/0.4864, allocations: 152.4 kB / 0.6214 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/0.4864, allocations: 23.98 kB / 0.6215 GB, free: 3.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.4876, allocations: 0.6552 MB / 0.6221 GB, free: 2.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4876, allocations: 0 / 0.6221 GB, free: 2.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4889, allocations: 355.8 kB / 0.6225 GB, free: 2.25 MB / 430.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.0002789/0.4892, allocations: 123.2 kB / 0.6226 GB, free: 2.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005216/0.4944, allocations: 1.878 MB / 0.6244 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4944, allocations: 0 / 0.6244 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003606/0.4981, allocations: 1.223 MB / 0.6256 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4991, allocations: 100.3 kB / 0.6257 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.5032, allocations: 1.779 MB / 0.6274 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.504, allocations: 1.049 MB / 0.6285 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004193/0.5045, allocations: 94.67 kB / 0.6285 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5047, allocations: 71.42 kB / 0.6286 GB, free: 11.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5047, allocations: 0 / 0.6286 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Templates: time 0.03229/0.537, allocations: 18.75 MB / 0.6469 GB, free: 9.07 MB / 462.1 MB 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)