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/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/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/package.mo): time 0.08532/0.08532, allocations: 12.2 MB / 27.43 MB, free: 1.379 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.0009805/0.0009806, allocations: 119.4 kB / 30.94 MB, free: 4.656 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.398/1.398, allocations: 205.1 MB / 239.4 MB, free: 12.94 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.001399/0.001398, allocations: 192.5 kB / 289.6 MB, free: 14.08 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.51 MB / 418.1 MB, free: 11.97 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.002383/0.002383, allocations: 127.8 kB / 498.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3703, allocations: 68.02 MB / 0.5532 GB, free: 32.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00692/0.3773, allocations: 6.383 MB / 0.5594 GB, free: 28.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.3815, allocations: 1.837 MB / 0.5612 GB, free: 26.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.3828, allocations: 12.38 kB / 0.5612 GB, free: 26.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009798/0.3838, allocations: 161.2 kB / 0.5613 GB, free: 26.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.3864, allocations: 0.6198 MB / 0.5619 GB, free: 26.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.3878, allocations: 0.5111 MB / 0.5624 GB, free: 26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.3901, allocations: 1.416 MB / 0.5638 GB, free: 25.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/0.3908, allocations: 281.4 kB / 0.5641 GB, free: 25.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3918, allocations: 0.5678 MB / 0.5647 GB, free: 24.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.393, allocations: 0.6492 MB / 0.5653 GB, free: 24.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.3935, allocations: 98.78 kB / 0.5654 GB, free: 24.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.3948, allocations: 237.4 kB / 0.5656 GB, free: 24.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.3953, allocations: 258.5 kB / 0.5659 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.3963, allocations: 0.5789 MB / 0.5664 GB, free: 23.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.3981, allocations: 1.377 MB / 0.5678 GB, free: 22.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3981, allocations: 0 / 0.5678 GB, free: 22.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3981, allocations: 0 / 0.5678 GB, free: 22.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.3982, allocations: 0.6875 kB / 0.5678 GB, free: 22.45 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.007104/0.4053, allocations: 2.233 MB / 0.5699 GB, free: 21.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.4053, allocations: 13.17 kB / 0.57 GB, free: 21.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.4087, allocations: 0.5551 MB / 0.5705 GB, free: 20.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.4101, allocations: 0.7855 MB / 0.5713 GB, free: 20.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.4103, allocations: 208.2 kB / 0.5715 GB, free: 19.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.4104, allocations: 62.38 kB / 0.5715 GB, free: 19.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.4122, allocations: 0.8327 MB / 0.5723 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4122, allocations: 3.938 kB / 0.5723 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.4123, allocations: 26.06 kB / 0.5724 GB, free: 19.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.4123, allocations: 23.16 kB / 0.5724 GB, free: 19.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.4141, allocations: 0.8551 MB / 0.5732 GB, free: 19 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.00524/0.4193, allocations: 3.048 MB / 0.5762 GB, free: 16.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/0.4248, allocations: 1.701 MB / 0.5779 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009018/0.4257, allocations: 0.5498 MB / 0.5784 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.915e-05/0.4258, allocations: 16.64 kB / 0.5784 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.4269, allocations: 0.6209 MB / 0.579 GB, free: 13.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 5.581e-06/0.427, allocations: 3.984 kB / 0.579 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01628/0.4432, allocations: 4.695 MB / 0.5836 GB, free: 8.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4433, allocations: 64 kB / 0.5837 GB, free: 8.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4447, allocations: 0.9699 MB / 0.5846 GB, free: 7.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.4448, allocations: 41.7 kB / 0.5847 GB, free: 7.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.4451, allocations: 464.2 kB / 0.5851 GB, free: 7.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.4453, allocations: 272.1 kB / 0.5854 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.4456, allocations: 178.5 kB / 0.5855 GB, free: 6.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.4457, allocations: 345.9 kB / 0.5859 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.4467, allocations: 0.5524 MB / 0.5864 GB, free: 5.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4478, allocations: 0.6711 MB / 0.5871 GB, free: 5.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/0.4633, allocations: 4.049 MB / 0.591 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.4634, allocations: 0 / 0.591 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00854/0.4719, allocations: 2.835 MB / 0.5938 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.472, allocations: 10.03 kB / 0.5938 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.472, allocations: 0 / 0.5938 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/0.4767, allocations: 1.277 MB / 0.595 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4778, allocations: 183.8 kB / 0.5952 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.4902, allocations: 5.693 MB / 0.6008 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4921, allocations: 151 kB / 0.6009 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.4923, allocations: 35.98 kB / 0.6009 GB, free: 6.629 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.0005122/0.4928, allocations: 243 kB / 0.6012 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.493, allocations: 110.6 kB / 0.6013 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008487/0.5015, allocations: 2.657 MB / 0.6039 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.5016, allocations: 4 kB / 0.6039 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5016, allocations: 4 kB / 0.6039 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.5016, allocations: 3.984 kB / 0.6039 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.5122, allocations: 4.025 MB / 0.6078 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.5122, allocations: 0 / 0.6078 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.5128, allocations: 95.81 kB / 0.6079 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/0.5176, allocations: 1.322 MB / 0.6092 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.5178, allocations: 19.98 kB / 0.6092 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.5308, allocations: 6.005 MB / 0.6151 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5308, allocations: 4 kB / 0.6151 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.5414, allocations: 3.363 MB / 0.6184 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.5421, allocations: 203.6 kB / 0.6186 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.5423, allocations: 15.98 kB / 0.6186 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.5435, allocations: 87.91 kB / 0.6187 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/0.544, allocations: 156.4 kB / 0.6188 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.5441, allocations: 16 kB / 0.6188 GB, free: 3.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.5452, allocations: 0.6631 MB / 0.6195 GB, free: 3.297 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5452, allocations: 0 / 0.6195 GB, free: 3.297 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001208/0.5465, allocations: 351.8 kB / 0.6198 GB, free: 2.953 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.000289/0.5468, allocations: 123.1 kB / 0.6199 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.5517, allocations: 1.905 MB / 0.6218 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5517, allocations: 0 / 0.6218 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.555, allocations: 1.223 MB / 0.623 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5562, allocations: 96.41 kB / 0.6231 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.5597, allocations: 2.169 MB / 0.6252 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.5604, allocations: 1.042 MB / 0.6262 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.5608, allocations: 98.67 kB / 0.6263 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.561, allocations: 63.42 kB / 0.6264 GB, free: 12.11 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.561, allocations: 4 kB / 0.6264 GB, free: 12.11 MB / 446.1 MB Notification: Performance of Templates: time 0.02789/0.5889, allocations: 17.97 MB / 0.6439 GB, free: 10.16 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)