Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.765/1.765, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 160.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5337/0.5337, allocations: 84.91 MB / 397.3 MB, free: 13.84 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") translateModel(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.899e-06/4.899e-06, allocations: 3.984 kB / 0.563 GB, free: 4.023 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.132e-05/4.622e-05, allocations: 5.516 kB / 0.563 GB, free: 4.02 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard): time 0.01157/0.01161, allocations: 6.751 MB / 0.5696 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007329/0.01894, allocations: 2.409 MB / 0.5719 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.02104, allocations: 19.94 kB / 0.572 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.02268, allocations: 277.5 kB / 0.5722 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004516/0.0272, allocations: 1.029 MB / 0.5732 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.02961, allocations: 0.7259 MB / 0.5739 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.03321, allocations: 1.872 MB / 0.5758 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009844/0.0342, allocations: 274.2 kB / 0.576 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.03729, allocations: 1.029 MB / 0.577 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.03902, allocations: 0.7009 MB / 0.5777 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006615/0.03968, allocations: 136 kB / 0.5778 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.04126, allocations: 439.4 kB / 0.5783 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.042, allocations: 378.3 kB / 0.5786 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.04342, allocations: 0.5061 MB / 0.5791 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004204/0.04763, allocations: 2.044 MB / 0.5811 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.04764, allocations: 0 / 0.5811 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.899e-06/0.04764, allocations: 3.984 kB / 0.5811 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.633e-05/0.04774, allocations: 4 kB / 0.5811 GB, free: 1.352 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.01111/0.05884, allocations: 2.877 MB / 0.5839 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.05889, allocations: 8.031 kB / 0.5839 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.06433, allocations: 0.8223 MB / 0.5847 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.06776, allocations: 1.096 MB / 0.5858 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.06823, allocations: 323.6 kB / 0.5861 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.06863, allocations: 92 kB / 0.5862 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.0719, allocations: 1.202 MB / 0.5874 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.07193, allocations: 0 / 0.5874 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.07205, allocations: 36 kB / 0.5874 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.07208, allocations: 24 kB / 0.5874 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/0.0752, allocations: 1.187 MB / 0.5886 GB, free: 9.551 MB / 0.5105 GB 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.009839/0.08504, allocations: 3.102 MB / 0.5916 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.09926, allocations: 3.181 MB / 0.5947 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002235/0.1015, allocations: 0.7424 MB / 0.5955 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.1017, allocations: 13 kB / 0.5955 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002299/0.104, allocations: 0.895 MB / 0.5963 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 5.471e-06/0.104, allocations: 0 / 0.5963 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121): time 0.3226/0.4266, allocations: 8.008 MB / 0.6042 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4266, allocations: 70.5 kB / 0.6042 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.4285, allocations: 1.117 MB / 0.6053 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.4288, allocations: 49.94 kB / 0.6054 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.4293, allocations: 0.6008 MB / 0.606 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006581/0.43, allocations: 427 kB / 0.6064 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005433/0.4305, allocations: 234.5 kB / 0.6066 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4306, allocations: 365.1 kB / 0.6069 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.4323, allocations: 0.7652 MB / 0.6077 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4342, allocations: 0.9249 MB / 0.6086 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.4382, allocations: 1.664 MB / 0.6102 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/0.4382, allocations: 1.156 kB / 0.6102 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01583/0.454, allocations: 4.408 MB / 0.6145 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.4541, allocations: 9.375 kB / 0.6145 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.4541, allocations: 2.812 kB / 0.6145 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008611/0.4627, allocations: 2.106 MB / 0.6166 GB, free: 81.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.4639, allocations: 200.6 kB / 0.6168 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02684/0.4908, allocations: 9.374 MB / 0.6259 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.4934, allocations: 202.2 kB / 0.6261 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.4938, allocations: 49.25 kB / 0.6262 GB, free: 76.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (tcsc.lagLimWindupGuard.inputLow,tcsc.lagLimWindupGuard.inputBelow,tcsc.lagLimWindupGuard.stateLow,tcsc.lagLimWindupGuard.inputHigh,tcsc.lagLimWindupGuard.inputAbove,tcsc.lagLimWindupGuard.stateHigh,tcsc.lagLimWindupGuard.atMin,$PRE.tcsc.lagLimWindupGuard.atMin,tcsc.lagLimWindupGuard.atMax,$PRE.tcsc.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(24,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0009494/0.4947, allocations: 284.5 kB / 0.6264 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/0.4952, allocations: 157.2 kB / 0.6266 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/0.5139, allocations: 4.184 MB / 0.6307 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.5139, allocations: 15.86 kB / 0.6307 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5139, allocations: 9.547 kB / 0.6307 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/0.514, allocations: 7.922 kB / 0.6307 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/0.5359, allocations: 5.26 MB / 0.6358 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/0.5359, allocations: 1.531 kB / 0.6358 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.5369, allocations: 104.1 kB / 0.6359 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009596/0.5464, allocations: 2.013 MB / 0.6379 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/0.5468, allocations: 27.7 kB / 0.6379 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/0.5702, allocations: 8.258 MB / 0.646 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5702, allocations: 0 / 0.646 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.5847, allocations: 5.21 MB / 0.6511 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.5852, allocations: 162.4 kB / 0.6512 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/0.5857, allocations: 23.98 kB / 0.6513 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.5871, allocations: 130.4 kB / 0.6514 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009299/0.588, allocations: 256.5 kB / 0.6516 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.5882, allocations: 36 kB / 0.6517 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001217/0.5894, allocations: 0.7473 MB / 0.6524 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.5894, allocations: 0 / 0.6524 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002677/0.5921, allocations: 0.5399 MB / 0.6529 GB, free: 57.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (machine.delta,machine.w,tcsc.PIcontroller.x_scaled[1],tcsc.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tcsc.lagLimWindupGuard.atMax,tcsc.lagLimWindupGuard.atMin,tcsc.lagLimWindupGuard.stateHigh,tcsc.lagLimWindupGuard.inputAbove,tcsc.lagLimWindupGuard.inputHigh,tcsc.lagLimWindupGuard.stateLow,tcsc.lagLimWindupGuard.inputBelow,tcsc.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (tcsc.lagLimWindupGuard.atMax,tcsc.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(24,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005407/0.5926, allocations: 186.7 kB / 0.6531 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00741/0.6, allocations: 2.584 MB / 0.6556 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6, allocations: 3.938 kB / 0.6556 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005183/0.6052, allocations: 1.697 MB / 0.6573 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.6067, allocations: 124.7 kB / 0.6574 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.6112, allocations: 2.352 MB / 0.6597 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.6117, allocations: 0.6187 MB / 0.6603 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006009/0.6123, allocations: 133.1 kB / 0.6604 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.6126, allocations: 84.48 kB / 0.6605 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of SimCode: time 2.094e-06/0.6126, allocations: 0 / 0.6605 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.04225/0.6548, allocations: 30.29 MB / 0.6901 GB, free: 19.66 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.855755357071757]