Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.0009929/0.0009929, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002357, 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.853/0.853, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.004, allocations: 53.65 MB / 242 MB, free: 2.629 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.0007592/0.0007592, allocations: 146.6 kB / 242.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009966/0.001756, allocations: 487 kB / 243.4 MB, free: 1.293 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.4277/0.4277, allocations: 89.19 MB / 333.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04105/0.4688, allocations: 30.21 MB / 363.5 MB, free: 3.059 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.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 364.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.373e-05, allocations: 4.562 kB / 364.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006931/0.006955, allocations: 6.412 MB / 371.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.01174, allocations: 2.243 MB / 373.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.01279, allocations: 19.94 kB / 373.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.0136, allocations: 253.8 kB / 373.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.01569, allocations: 0.8577 MB / 374.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.01678, allocations: 0.7094 MB / 375.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.01832, allocations: 1.658 MB / 377 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.01872, allocations: 243.2 kB / 377.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.02036, allocations: 1.161 MB / 378.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.02115, allocations: 0.662 MB / 379.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.02137, allocations: 124 kB / 379.2 MB, free: 3.383 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.02191, allocations: 295.7 kB / 379.5 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.0221, allocations: 235 kB / 379.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.02247, allocations: 355.1 kB / 380.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.0238, allocations: 1.148 MB / 381.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.02381, allocations: 0 / 381.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02381, allocations: 0 / 381.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.215e-05/0.02386, allocations: 0 / 381.2 MB, free: 1.363 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004849/0.0287, allocations: 3.046 MB / 384.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.02874, allocations: 12.02 kB / 384.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.03175, allocations: 0.9988 MB / 385.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.03285, allocations: 0.597 MB / 385.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.03301, allocations: 230.5 kB / 386.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.03315, allocations: 87.95 kB / 386.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.03402, allocations: 0.747 MB / 386.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.03403, allocations: 4 kB / 386.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.03408, allocations: 32 kB / 387 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.0341, allocations: 31.92 kB / 387 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/0.03465, allocations: 382.2 kB / 387.4 MB, free: 11.05 MB / 378.7 MB 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.002931/0.03758, allocations: 1.811 MB / 389.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.03832, allocations: 0.5825 MB / 389.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.03862, allocations: 289.5 kB / 390 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.03871, allocations: 21 kB / 390.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/0.03923, allocations: 0.5214 MB / 390.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 3.286e-06/0.03923, allocations: 0 / 390.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.00839/0.04762, allocations: 4.228 MB / 394.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.04767, allocations: 90.11 kB / 394.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/0.04836, allocations: 0.8287 MB / 395.7 MB, free: 2.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.04848, allocations: 45.7 kB / 395.8 MB, free: 2.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.04868, allocations: 375.5 kB / 396.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.04897, allocations: 416.4 kB / 396.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.04925, allocations: 259.4 kB / 396.8 MB, free: 1.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.04932, allocations: 313 kB / 397.1 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.0498, allocations: 362.2 kB / 397.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.05032, allocations: 0.5017 MB / 398 MB, free: 220 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.05138, allocations: 0.9696 MB / 398.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.05139, allocations: 0 / 398.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004903/0.05629, allocations: 2.856 MB / 401.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.05634, allocations: 59.41 kB / 401.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.05635, allocations: 4 kB / 401.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004531/0.06088, allocations: 1.892 MB / 403.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.06179, allocations: 331.3 kB / 404.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.06791, allocations: 4.084 MB / 408.1 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008822/0.0688, allocations: 171.2 kB / 408.3 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.06887, allocations: 31.98 kB / 408.3 MB, free: 5.652 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 (aVRI.lagLimWindupGuard.inputLow,aVRI.lagLimWindupGuard.inputBelow,aVRI.lagLimWindupGuard.stateLow,aVRI.lagLimWindupGuard.inputHigh,aVRI.lagLimWindupGuard.inputAbove,aVRI.lagLimWindupGuard.stateHigh,aVRI.lagLimWindupGuard.atMin,$PRE.aVRI.lagLimWindupGuard.atMin,aVRI.lagLimWindupGuard.atMax,$PRE.aVRI.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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.06918, allocations: 212.1 kB / 408.5 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.06935, allocations: 115.9 kB / 408.7 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.0734, allocations: 2.474 MB / 411.1 MB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.07341, allocations: 12 kB / 411.1 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.07341, allocations: 0 / 411.1 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.07342, allocations: 7.969 kB / 411.1 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/0.0786, allocations: 3.209 MB / 414.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.0786, allocations: 0 / 414.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.079, allocations: 127.8 kB / 414.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.07922, allocations: 126.9 kB / 414.6 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004235/0.08345, allocations: 1.85 MB / 416.5 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.08356, allocations: 23.94 kB / 416.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005969/0.08953, allocations: 5.016 MB / 421.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.08953, allocations: 0 / 421.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.09414, allocations: 2.856 MB / 424.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.09433, allocations: 24 kB / 424.4 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.09482, allocations: 87.92 kB / 424.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/0.09522, allocations: 208.6 kB / 424.7 MB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.09527, allocations: 23.98 kB / 424.7 MB, free: 4.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003579/0.09563, allocations: 434.3 kB / 425.1 MB, free: 4.512 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09563, allocations: 0 / 425.1 MB, free: 4.512 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009567/0.09659, allocations: 0.4917 MB / 425.6 MB, free: 4.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRI.lagLimWindupGuard.atMax,aVRI.lagLimWindupGuard.atMin,aVRI.lagLimWindupGuard.stateHigh,aVRI.lagLimWindupGuard.inputAbove,aVRI.lagLimWindupGuard.inputHigh,aVRI.lagLimWindupGuard.stateLow,aVRI.lagLimWindupGuard.inputBelow,aVRI.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRI.lagLimWindupGuard.atMax,aVRI.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(26,10), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.09681, allocations: 124.3 kB / 425.7 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.09929, allocations: 1.741 MB / 427.5 MB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-05/0.09932, allocations: 16 kB / 427.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.101, allocations: 1.33 MB / 428.8 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.1017, allocations: 0.5832 MB / 429.4 MB, free: 40 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009115/0.1109, allocations: 2.145 MB / 431.5 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1111, allocations: 252.8 kB / 431.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.1115, allocations: 108.5 kB / 431.9 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.1118, allocations: 203.3 kB / 432.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1118, allocations: 0 / 432.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of Templates: time 0.03618/0.148, allocations: 30.21 MB / 462.3 MB, free: 15.25 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6414517713710666]