Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_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.0007993/0.0007993, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001827, 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.9096/0.9096, allocations: 177.2 MB / 188.2 MB, free: 4.477 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1706/1.08, allocations: 53.65 MB / 241.8 MB, free: 2.688 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.000917/0.000917, allocations: 155 kB / 242.7 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.00206, allocations: 478.2 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.4445/0.4445, allocations: 89.06 MB / 333 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07102/0.5155, allocations: 30.21 MB / 363.2 MB, free: 3.16 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 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.STATCOM_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard") translateModel(OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 364.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.815e-05, allocations: 8.531 kB / 364.5 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard): time 0.006881/0.006909, allocations: 6.415 MB / 370.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.01051, allocations: 2.056 MB / 373 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.0111, allocations: 12 kB / 373 MB, free: 9.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.01154, allocations: 249.9 kB / 373.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.01305, allocations: 0.8365 MB / 374.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009166/0.01397, allocations: 0.5847 MB / 374.7 MB, free: 7.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.01564, allocations: 1.486 MB / 376.2 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.016, allocations: 235 kB / 376.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.01726, allocations: 1.033 MB / 377.4 MB, free: 4.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.0178, allocations: 0.5996 MB / 378 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.01791, allocations: 112 kB / 378.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.01835, allocations: 259.8 kB / 378.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01848, allocations: 211.1 kB / 378.6 MB, free: 3.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.01876, allocations: 331.2 kB / 378.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009702/0.01973, allocations: 1.089 MB / 380 MB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.01974, allocations: 0 / 380 MB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01974, allocations: 3.938 kB / 380 MB, free: 2.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.01976, allocations: 0 / 380 MB, free: 2.305 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.004106/0.02387, allocations: 2.887 MB / 382.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.02391, allocations: 8.75 kB / 382.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.02678, allocations: 0.987 MB / 383.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.02748, allocations: 0.5454 MB / 384.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.02766, allocations: 307.6 kB / 384.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.02776, allocations: 87.94 kB / 384.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.02845, allocations: 0.6129 MB / 385.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.02846, allocations: 0 / 385.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.02852, allocations: 43.92 kB / 385.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.02853, allocations: 20 kB / 385.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.02897, allocations: 333.8 kB / 385.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.03162, allocations: 1.687 MB / 387.5 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.03545, allocations: 1.833 MB / 389.3 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.03578, allocations: 231.6 kB / 389.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/0.03587, allocations: 17 kB / 389.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/0.03633, allocations: 412.7 kB / 390 MB, free: 8.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/0.03633, allocations: 0 / 390 MB, free: 8.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.008905/0.04524, allocations: 4.224 MB / 394.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.04528, allocations: 60.41 kB / 394.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.04589, allocations: 0.8088 MB / 395.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.04595, allocations: 49.69 kB / 395.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.04614, allocations: 367.4 kB / 395.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.04638, allocations: 372.7 kB / 395.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.04661, allocations: 214.8 kB / 396.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.0467, allocations: 361.7 kB / 396.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.04707, allocations: 262.6 kB / 396.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.0475, allocations: 411.6 kB / 397.1 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.04857, allocations: 0.7484 MB / 397.8 MB, free: 152 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.04858, allocations: 4 kB / 397.8 MB, free: 148 kB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004228/0.0528, allocations: 2.478 MB / 400.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.05283, allocations: 11.94 kB / 400.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.05283, allocations: 0 / 400.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004055/0.05689, allocations: 1.803 MB / 402.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.05742, allocations: 195.7 kB / 402.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/0.06297, allocations: 3.76 MB / 406.1 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007528/0.06372, allocations: 163.3 kB / 406.2 MB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.06378, allocations: 28 kB / 406.3 MB, free: 7.602 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 (statcom.lagLimWindupGuard.inputLow,statcom.lagLimWindupGuard.inputBelow,statcom.lagLimWindupGuard.stateLow,statcom.lagLimWindupGuard.inputHigh,statcom.lagLimWindupGuard.inputAbove,statcom.lagLimWindupGuard.stateHigh,statcom.lagLimWindupGuard.atMin,$PRE.statcom.lagLimWindupGuard.atMin,statcom.lagLimWindupGuard.atMax,$PRE.statcom.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 (113): * Single equations (assignments): 110 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002569/0.06403, allocations: 187.5 kB / 406.4 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.06417, allocations: 107.8 kB / 406.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.06793, allocations: 2.277 MB / 408.8 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.06794, allocations: 8 kB / 408.8 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.06795, allocations: 4 kB / 408.8 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.06796, allocations: 3.984 kB / 408.8 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/0.07255, allocations: 2.822 MB / 411.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.07256, allocations: 0 / 411.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.07311, allocations: 103.9 kB / 411.8 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.07331, allocations: 126.8 kB / 411.9 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/0.07713, allocations: 1.758 MB / 413.6 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.07719, allocations: 23.98 kB / 413.7 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/0.08183, allocations: 3.483 MB / 417.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.08184, allocations: 8 kB / 417.2 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.08633, allocations: 2.517 MB / 419.7 MB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.08648, allocations: 27.94 kB / 419.7 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.08692, allocations: 83.92 kB / 419.8 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/0.08735, allocations: 232.5 kB / 420 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.08739, allocations: 20 kB / 420 MB, free: 9.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003265/0.08772, allocations: 418.2 kB / 420.4 MB, free: 9.211 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08772, allocations: 4 kB / 420.4 MB, free: 9.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008773/0.0886, allocations: 459.7 kB / 420.9 MB, free: 8.758 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (machine.delta,machine.w,statcom.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,statcom.lagLimWindupGuard.atMax,statcom.lagLimWindupGuard.atMin,statcom.lagLimWindupGuard.stateHigh,statcom.lagLimWindupGuard.inputAbove,statcom.lagLimWindupGuard.inputHigh,statcom.lagLimWindupGuard.stateLow,statcom.lagLimWindupGuard.inputBelow,statcom.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (statcom.lagLimWindupGuard.atMax,statcom.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 60 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002188/0.08881, allocations: 120.2 kB / 421 MB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.09112, allocations: 1.476 MB / 422.5 MB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.09114, allocations: 12 kB / 422.5 MB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.09274, allocations: 1.077 MB / 423.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.09319, allocations: 196.3 kB / 423.8 MB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009725/0.1029, allocations: 1.922 MB / 425.7 MB, free: 3.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1031, allocations: 240.4 kB / 425.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.1034, allocations: 95.66 kB / 426 MB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.1039, allocations: 167.4 kB / 426.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of SimCode: time 1.684e-06/0.1039, allocations: 0 / 426.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of Templates: time 0.02999/0.1339, allocations: 28.16 MB / 454.3 MB, free: 7.355 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.PSAT.STATCOM_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.587569121271372]