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.001229/0.001229, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001925/0.003154, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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 0.9411/0.9411, allocations: 177.2 MB / 188.2 MB, free: 4.504 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1752/1.116, allocations: 53.64 MB / 241.9 MB, free: 2.742 MB / 234.7 MB " [Timeout remaining time 179] 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.00138/0.00138, allocations: 148.4 kB / 242.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.003083, allocations: 483.2 kB / 243.2 MB, free: 1.43 MB / 234.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.4808/0.4808, allocations: 88.97 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06611/0.547, allocations: 30.2 MB / 363.1 MB, free: 3.25 MB / 346.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 1.482e-06/1.482e-06, allocations: 0 / 364.5 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.024e-05, allocations: 2.312 kB / 364.5 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard): time 0.00555/0.00557, allocations: 7.246 MB / 371.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.01025, allocations: 2.547 MB / 374.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009643/0.01122, allocations: 19.94 kB / 374.3 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.01185, allocations: 301.4 kB / 374.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.01376, allocations: 1.03 MB / 375.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.01488, allocations: 0.7171 MB / 376.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.01641, allocations: 1.837 MB / 378.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.01677, allocations: 300.2 kB / 378.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.01799, allocations: 1.255 MB / 379.7 MB, free: 2.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.01867, allocations: 0.7048 MB / 380.4 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.0188, allocations: 136 kB / 380.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.01949, allocations: 463.4 kB / 381 MB, free: 1.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.01967, allocations: 258.9 kB / 381.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.02001, allocations: 403 kB / 381.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.02125, allocations: 1.327 MB / 383 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.02126, allocations: 4 kB / 383 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02126, allocations: 0 / 383 MB, free: 15.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.02129, allocations: 0 / 383 MB, free: 15.34 MB / 378.7 MB 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.004332/0.02562, allocations: 3.257 MB / 386.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.02565, allocations: 11.98 kB / 386.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.0281, allocations: 1.018 MB / 387.3 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.02925, allocations: 0.8669 MB / 388.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.02943, allocations: 323.5 kB / 388.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.02954, allocations: 95.95 kB / 388.5 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.03031, allocations: 0.6852 MB / 389.2 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.03033, allocations: 0 / 389.2 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.0304, allocations: 36 kB / 389.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.03042, allocations: 24 kB / 389.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.03101, allocations: 393.7 kB / 389.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.03408, allocations: 1.889 MB / 391.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.03804, allocations: 2.003 MB / 393.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.03834, allocations: 259.1 kB / 393.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.775e-05/0.03843, allocations: 24.98 kB / 393.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004875/0.03892, allocations: 463.5 kB / 394.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 3.386e-06/0.03892, allocations: 0 / 394.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=121): time 0.0108/0.04972, allocations: 5.277 MB / 399.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.04976, allocations: 68.41 kB / 399.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.0505, allocations: 0.9411 MB / 400.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.05059, allocations: 49.7 kB / 400.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.05081, allocations: 429.1 kB / 401.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.05109, allocations: 432.3 kB / 401.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.05134, allocations: 239.4 kB / 401.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.05144, allocations: 365.8 kB / 402.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.05186, allocations: 294.8 kB / 402.4 MB, free: 11.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.05234, allocations: 456.2 kB / 402.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.0533, allocations: 0.8622 MB / 403.7 MB, free: 10.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.05331, allocations: 0 / 403.7 MB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004522/0.05783, allocations: 2.655 MB / 406.3 MB, free: 7.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.05785, allocations: 7.984 kB / 406.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.05786, allocations: 4 kB / 406.3 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004351/0.06221, allocations: 1.879 MB / 408.2 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.06291, allocations: 262.4 kB / 408.5 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.06881, allocations: 4.115 MB / 412.6 MB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.06968, allocations: 171.1 kB / 412.7 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.06975, allocations: 35.98 kB / 412.8 MB, free: 1.043 MB / 394.7 MB 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.0003286/0.07008, allocations: 182.4 kB / 413 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.07025, allocations: 127.9 kB / 413.1 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.07437, allocations: 2.436 MB / 415.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.07438, allocations: 12 kB / 415.5 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.07439, allocations: 3.938 kB / 415.5 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.07439, allocations: 7.984 kB / 415.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.07957, allocations: 3.096 MB / 418.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.07957, allocations: 0 / 418.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.07996, allocations: 135.8 kB / 418.8 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.0803, allocations: 142.8 kB / 418.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/0.08446, allocations: 1.836 MB / 420.7 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.08457, allocations: 23.94 kB / 420.8 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005133/0.0897, allocations: 3.767 MB / 424.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.08971, allocations: 0 / 424.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/0.09436, allocations: 2.741 MB / 427.3 MB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.09459, allocations: 24 kB / 427.3 MB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.09508, allocations: 87.92 kB / 427.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/0.09552, allocations: 240.5 kB / 427.6 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.09558, allocations: 27.98 kB / 427.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000433/0.09601, allocations: 481.5 kB / 428.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09601, allocations: 0 / 428.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001152/0.09717, allocations: 0.5385 MB / 428.7 MB, free: 0.9492 MB / 410.7 MB 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.0003694/0.09754, allocations: 183.8 kB / 428.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003198/0.1007, allocations: 1.594 MB / 430.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3e-05/0.1008, allocations: 23.94 kB / 430.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.103, allocations: 1.157 MB / 431.6 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.1037, allocations: 247.6 kB / 431.9 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.1209, allocations: 2.241 MB / 434.1 MB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1211, allocations: 269.9 kB / 434.4 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004746/0.1216, allocations: 129.3 kB / 434.5 MB, free: 11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.1219, allocations: 195.3 kB / 434.7 MB, free: 10.81 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.1219, allocations: 0 / 434.7 MB, free: 10.81 MB / 426.7 MB Notification: Performance of Templates: time 0.04452/0.1664, allocations: 31.83 MB / 466.5 MB, free: 11.18 MB / 458.7 MB " [Timeout remaining time 660] 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: 3.814286948181689]