Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005652/0.005652, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.384/1.384, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001915/0.001915, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4792/0.4792, allocations: 78.52 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.88 kB / 0.5536 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3293, allocations: 68.17 MB / 0.6202 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005377/0.3348, allocations: 5.999 MB / 0.626 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.3382, allocations: 1.848 MB / 0.6278 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007185/0.3389, allocations: 15.94 kB / 0.6278 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.3397, allocations: 214.2 kB / 0.628 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3412, allocations: 0.7421 MB / 0.6288 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3422, allocations: 0.5411 MB / 0.6293 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.3434, allocations: 1.413 MB / 0.6307 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.3438, allocations: 279.3 kB / 0.6309 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007111/0.3445, allocations: 0.5719 MB / 0.6315 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.3452, allocations: 0.6532 MB / 0.6321 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.3454, allocations: 96 kB / 0.6322 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.3459, allocations: 235.9 kB / 0.6324 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.3462, allocations: 266.8 kB / 0.6327 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.3467, allocations: 0.5592 MB / 0.6332 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.348, allocations: 1.399 MB / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.348, allocations: 0 / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.348, allocations: 0 / 0.6346 GB, free: 11.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.348, allocations: 3.984 kB / 0.6346 GB, free: 11.38 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.006981/0.355, allocations: 2.232 MB / 0.6368 GB, free: 9.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3551, allocations: 12.03 kB / 0.6368 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.3586, allocations: 0.5532 MB / 0.6374 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.36, allocations: 0.7953 MB / 0.6381 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.3603, allocations: 209.8 kB / 0.6383 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3604, allocations: 64 kB / 0.6384 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.3622, allocations: 0.8379 MB / 0.6392 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3622, allocations: 0 / 0.6392 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.3623, allocations: 31.94 kB / 0.6392 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3624, allocations: 23.94 kB / 0.6393 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3642, allocations: 0.8522 MB / 0.6401 GB, free: 5.617 MB / 446.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.005163/0.3694, allocations: 3.031 MB / 0.6431 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006294/0.3757, allocations: 1.695 MB / 0.6447 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.3769, allocations: 0.5499 MB / 0.6452 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/0.377, allocations: 12.64 kB / 0.6453 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.3783, allocations: 0.625 MB / 0.6459 GB, free: 15.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.635e-06/0.3783, allocations: 0 / 0.6459 GB, free: 15.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01892/0.3972, allocations: 4.698 MB / 0.6505 GB, free: 10.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3973, allocations: 64 kB / 0.6505 GB, free: 10.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.3988, allocations: 0.9699 MB / 0.6515 GB, free: 9.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.399, allocations: 37.7 kB / 0.6515 GB, free: 9.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.3993, allocations: 468.2 kB / 0.6519 GB, free: 9.133 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.3996, allocations: 264.2 kB / 0.6522 GB, free: 8.871 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.3999, allocations: 182.5 kB / 0.6524 GB, free: 8.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4001, allocations: 345.9 kB / 0.6527 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4013, allocations: 0.5485 MB / 0.6532 GB, free: 7.793 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.4026, allocations: 0.6672 MB / 0.6539 GB, free: 7.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/0.4194, allocations: 4.042 MB / 0.6578 GB, free: 3.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4194, allocations: 0 / 0.6578 GB, free: 3.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009057/0.4285, allocations: 2.839 MB / 0.6606 GB, free: 168 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4285, allocations: 7.938 kB / 0.6606 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4285, allocations: 7.984 kB / 0.6606 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006521/0.4351, allocations: 1.265 MB / 0.6619 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.436, allocations: 183.8 kB / 0.662 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.4491, allocations: 5.692 MB / 0.6676 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4505, allocations: 143 kB / 0.6677 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.4506, allocations: 35.98 kB / 0.6678 GB, free: 8.688 MB / 478.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.0004674/0.4511, allocations: 241.5 kB / 0.668 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.4513, allocations: 114.6 kB / 0.6681 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009004/0.4603, allocations: 2.657 MB / 0.6707 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4604, allocations: 8 kB / 0.6707 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4604, allocations: 0 / 0.6707 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4604, allocations: 7.969 kB / 0.6707 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.471, allocations: 4.015 MB / 0.6746 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.4711, allocations: 3.938 kB / 0.6746 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.4716, allocations: 95.83 kB / 0.6747 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/0.4768, allocations: 1.323 MB / 0.676 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.477, allocations: 16 kB / 0.676 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.4909, allocations: 6.01 MB / 0.6819 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4909, allocations: 0 / 0.6819 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.5015, allocations: 3.365 MB / 0.6852 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.5019, allocations: 203.6 kB / 0.6854 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.5021, allocations: 12 kB / 0.6854 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.5032, allocations: 87.89 kB / 0.6855 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005118/0.5037, allocations: 152.4 kB / 0.6856 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.5038, allocations: 27.98 kB / 0.6857 GB, free: 6.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.5049, allocations: 0.6553 MB / 0.6863 GB, free: 5.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5049, allocations: 0 / 0.6863 GB, free: 5.367 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001125/0.506, allocations: 355.8 kB / 0.6866 GB, free: 5.02 MB / 494.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.0002853/0.5063, allocations: 139.1 kB / 0.6868 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005027/0.5113, allocations: 1.878 MB / 0.6886 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5114, allocations: 4.062 kB / 0.6886 GB, free: 2.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00343/0.5148, allocations: 1.207 MB / 0.6898 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.5156, allocations: 96.39 kB / 0.6899 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.5191, allocations: 1.78 MB / 0.6916 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.5198, allocations: 1.042 MB / 0.6926 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000375/0.5202, allocations: 106.7 kB / 0.6927 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.5204, allocations: 59.44 kB / 0.6928 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.5204, allocations: 3.938 kB / 0.6928 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.03446/0.5549, allocations: 18.93 MB / 0.7113 GB, free: 11.66 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)