Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.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.0009049/0.0009049, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002254, allocations: 440 kB / 10.41 MB, free: 284 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.8918/0.8918, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1439/1.036, allocations: 53.66 MB / 242 MB, free: 2.633 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.001196/0.001196, allocations: 155.6 kB / 242.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002861, allocations: 482.4 kB / 243.4 MB, free: 1.297 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.431/0.431, allocations: 89.1 MB / 333.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04487/0.4759, allocations: 30.21 MB / 363.5 MB, free: 3.094 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 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.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 364.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.498e-05, allocations: 2.312 kB / 364.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00512/0.005145, allocations: 5.942 MB / 370.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.007995, allocations: 2.056 MB / 372.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.00835, allocations: 19.94 kB / 372.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.008784, allocations: 218 kB / 373 MB, free: 9.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.009881, allocations: 0.7919 MB / 373.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.01062, allocations: 0.5842 MB / 374.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.01157, allocations: 1.467 MB / 375.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.01182, allocations: 206 kB / 376 MB, free: 6.527 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.01263, allocations: 1.006 MB / 377 MB, free: 5.508 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.01309, allocations: 0.549 MB / 377.6 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.0132, allocations: 104 kB / 377.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.01353, allocations: 251.8 kB / 377.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.01367, allocations: 195.2 kB / 378.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.01389, allocations: 311.2 kB / 378.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007969/0.01469, allocations: 0.9649 MB / 379.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.0147, allocations: 7.938 kB / 379.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0147, allocations: 0 / 379.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.01472, allocations: 0 / 379.4 MB, free: 3.137 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00338/0.0181, allocations: 2.509 MB / 381.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.01813, allocations: 11.98 kB / 381.9 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.01988, allocations: 0.691 MB / 382.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/0.02079, allocations: 0.7106 MB / 383.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.02092, allocations: 235.5 kB / 383.5 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.021, allocations: 68 kB / 383.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.02154, allocations: 0.4931 MB / 384.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.02156, allocations: 0 / 384.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.0216, allocations: 35.98 kB / 384.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.02162, allocations: 23.94 kB / 384.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.02198, allocations: 274.2 kB / 384.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.02404, allocations: 1.418 MB / 385.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.02589, allocations: 0.8256 MB / 386.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.0261, allocations: 175.2 kB / 386.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.604e-05/0.02616, allocations: 16.64 kB / 386.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.02651, allocations: 355.3 kB / 387.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 1.854e-06/0.02651, allocations: 0 / 387.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.005001/0.03152, allocations: 2.383 MB / 389.6 MB, free: 8.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.03155, allocations: 64.34 kB / 389.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.03202, allocations: 0.7678 MB / 390.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.03207, allocations: 41.7 kB / 390.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.03223, allocations: 354.8 kB / 390.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.0324, allocations: 293.4 kB / 391.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.0326, allocations: 202.8 kB / 391.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.03268, allocations: 349.8 kB / 391.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.033, allocations: 225.4 kB / 391.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.03336, allocations: 350.5 kB / 392.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.03409, allocations: 0.6701 MB / 392.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.03409, allocations: 4 kB / 392.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002773/0.03687, allocations: 1.697 MB / 394.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.03688, allocations: 8 kB / 394.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.03689, allocations: 0 / 394.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/0.03952, allocations: 1.154 MB / 395.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.04005, allocations: 247.6 kB / 396 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.04347, allocations: 2.742 MB / 398.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.04395, allocations: 115.4 kB / 398.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.04399, allocations: 27.98 kB / 398.9 MB, free: 15.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * 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.0001999/0.04419, allocations: 182.3 kB / 399 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.0443, allocations: 95.91 kB / 399.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.04667, allocations: 1.488 MB / 400.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.04668, allocations: 8 kB / 400.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.04668, allocations: 0 / 400.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.04669, allocations: 3.984 kB / 400.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.04961, allocations: 2.004 MB / 402.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.04961, allocations: 0 / 402.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.0499, allocations: 123.8 kB / 402.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.05, allocations: 111 kB / 402.9 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.05242, allocations: 1.119 MB / 404 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.05247, allocations: 16 kB / 404 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.05535, allocations: 2.528 MB / 406.5 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.05535, allocations: 0 / 406.5 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.05795, allocations: 1.746 MB / 408.3 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.05803, allocations: 16 kB / 408.3 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.05835, allocations: 75.83 kB / 408.4 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.05861, allocations: 156.7 kB / 408.5 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.05864, allocations: 15.98 kB / 408.5 MB, free: 5.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.0589, allocations: 388.8 kB / 408.9 MB, free: 5.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0589, allocations: 7.938 kB / 408.9 MB, free: 5.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005693/0.05947, allocations: 347.7 kB / 409.3 MB, free: 4.672 MB / 394.7 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.lagLimWindupGuard.state,Gen1.delta,Gen1.w) * 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0001828/0.05965, allocations: 124.3 kB / 409.4 MB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.06113, allocations: 1.077 MB / 410.5 MB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/0.06115, allocations: 16 kB / 410.5 MB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.06215, allocations: 0.7643 MB / 411.2 MB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.06269, allocations: 441.6 kB / 411.7 MB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.071, allocations: 1.723 MB / 413.4 MB, free: 432 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.07114, allocations: 208.5 kB / 413.6 MB, free: 200 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.07136, allocations: 103.1 kB / 413.7 MB, free: 92 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.07161, allocations: 175.4 kB / 413.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.07161, allocations: 0 / 413.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of Templates: time 0.02004/0.09165, allocations: 19.92 MB / 433.8 MB, free: 12.13 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3586783334612846]