Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001025/0.001025, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002398, allocations: 435.8 kB / 10.31 MB, free: 384 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.8674/0.8674, allocations: 177.2 MB / 188.2 MB, free: 4.469 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1544/1.022, allocations: 53.65 MB / 241.8 MB, free: 2.691 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.0007861/0.0007861, allocations: 139.5 kB / 242.7 MB, free: 1.836 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001789, allocations: 489.7 kB / 243.2 MB, free: 1.375 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4274/0.4274, allocations: 89.06 MB / 333 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04662/0.474, allocations: 30.21 MB / 363.2 MB, free: 3.148 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") translateModel(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0.9844 kB / 364.5 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.619e-05, allocations: 2.312 kB / 364.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard): time 0.005411/0.005427, allocations: 7.222 MB / 371.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.008753, allocations: 2.543 MB / 374.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.009129, allocations: 16 kB / 374.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.009592, allocations: 293.4 kB / 374.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.01098, allocations: 1.019 MB / 375.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.01183, allocations: 0.721 MB / 376.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.01301, allocations: 1.845 MB / 378.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.01333, allocations: 288.2 kB / 378.5 MB, free: 3.836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.01436, allocations: 1.255 MB / 379.7 MB, free: 2.566 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.01497, allocations: 0.7048 MB / 380.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.01512, allocations: 136 kB / 380.6 MB, free: 1.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.01567, allocations: 455.4 kB / 381 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.01585, allocations: 270.9 kB / 381.3 MB, free: 1.016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.01617, allocations: 403 kB / 381.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.01727, allocations: 1.331 MB / 383 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.01728, allocations: 0 / 383 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01728, allocations: 0 / 383 MB, free: 15.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.0173, allocations: 0 / 383 MB, free: 15.29 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.004259/0.02156, allocations: 3.257 MB / 386.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.02161, allocations: 12.75 kB / 386.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.02425, allocations: 1.01 MB / 387.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.02534, allocations: 0.8708 MB / 388.1 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.02552, allocations: 319.5 kB / 388.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.02563, allocations: 91.95 kB / 388.5 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.02636, allocations: 0.6891 MB / 389.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.02637, allocations: 0 / 389.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.02643, allocations: 36 kB / 389.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.02644, allocations: 20 kB / 389.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.02696, allocations: 397.7 kB / 389.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.02983, allocations: 1.889 MB / 391.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.03383, allocations: 1.995 MB / 393.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.03414, allocations: 266.8 kB / 393.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.358e-05/0.03422, allocations: 24.98 kB / 393.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.03468, allocations: 459.6 kB / 394.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 2.605e-06/0.03468, allocations: 0 / 394.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=121): time 0.01066/0.04534, allocations: 5.277 MB / 399.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.04538, allocations: 64.41 kB / 399.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006157/0.04599, allocations: 0.9488 MB / 400.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.04605, allocations: 45.7 kB / 400.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.04625, allocations: 433.1 kB / 401.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.04648, allocations: 428.3 kB / 401.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.04672, allocations: 239.4 kB / 401.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.04682, allocations: 361.8 kB / 402.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.04724, allocations: 294.8 kB / 402.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.04773, allocations: 464.2 kB / 402.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.04867, allocations: 0.8544 MB / 403.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.04868, allocations: 4 kB / 403.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004481/0.05316, allocations: 2.655 MB / 406.3 MB, free: 7.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.05318, allocations: 11.98 kB / 406.3 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.05319, allocations: 0 / 406.3 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/0.05739, allocations: 1.89 MB / 408.2 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.05795, allocations: 263.6 kB / 408.5 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.06358, allocations: 4.111 MB / 412.6 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.06419, allocations: 171.1 kB / 412.7 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.06425, allocations: 35.98 kB / 412.8 MB, free: 0.9961 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.0002424/0.0645, allocations: 186.4 kB / 413 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.06464, allocations: 135.9 kB / 413.1 MB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.06863, allocations: 2.428 MB / 415.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.06864, allocations: 12 kB / 415.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.06864, allocations: 0 / 415.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.06865, allocations: 3.984 kB / 415.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.07345, allocations: 3.103 MB / 418.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.07345, allocations: 0 / 418.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.07375, allocations: 123.8 kB / 418.8 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.07389, allocations: 146.8 kB / 418.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00399/0.07788, allocations: 1.844 MB / 420.8 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.07794, allocations: 24 kB / 420.8 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/0.083, allocations: 3.77 MB / 424.5 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.08301, allocations: 3.938 kB / 424.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.0875, allocations: 2.729 MB / 427.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.08761, allocations: 20 kB / 427.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.08804, allocations: 91.92 kB / 427.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.0884, allocations: 236.5 kB / 427.6 MB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.08845, allocations: 27.98 kB / 427.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.08879, allocations: 493.5 kB / 428.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08879, allocations: 0 / 428.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00108/0.08987, allocations: 0.5346 MB / 428.7 MB, free: 0.8984 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.0002772/0.09015, allocations: 176.1 kB / 428.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.09246, allocations: 1.594 MB / 430.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.09247, allocations: 16 kB / 430.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.09404, allocations: 1.154 MB / 431.6 MB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.09454, allocations: 251.5 kB / 431.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.1058, allocations: 2.256 MB / 434.1 MB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.106, allocations: 269.9 kB / 434.4 MB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.1062, allocations: 129.3 kB / 434.5 MB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.1065, allocations: 195.3 kB / 434.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1065, allocations: 0 / 434.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of Templates: time 0.03099/0.1375, allocations: 31.79 MB / 466.5 MB, free: 11.16 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.TCSC_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5734020294621587]