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.001361/0.001361, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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 1.375/1.375, allocations: 177.2 MB / 200.1 MB, free: 8.32 MB / 190.1 MB " [Timeout remaining time 178] 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.001602/0.001602, allocations: 166.3 kB / 256.6 MB, free: 4.27 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4717/0.4717, allocations: 59.75 MB / 372.7 MB, free: 46.84 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 88.25 kB / 0.5224 GB, free: 29.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1548, allocations: 73.28 MB / 0.5939 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007851/0.1627, allocations: 5.848 MB / 0.5996 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.1678, allocations: 1.993 MB / 0.6016 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.1684, allocations: 15.94 kB / 0.6016 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008269/0.1692, allocations: 237.9 kB / 0.6018 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.1714, allocations: 0.8182 MB / 0.6026 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.173, allocations: 0.6732 MB / 0.6033 GB, free: 5.395 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.175, allocations: 1.666 MB / 0.6049 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.1754, allocations: 217.2 kB / 0.6051 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009609/0.1764, allocations: 0.7003 MB / 0.6058 GB, free: 2.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1774, allocations: 0.7464 MB / 0.6065 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.1776, allocations: 124 kB / 0.6066 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.1782, allocations: 283.8 kB / 0.6069 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.1785, allocations: 322.7 kB / 0.6072 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.1791, allocations: 0.5517 MB / 0.6078 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1811, allocations: 1.747 MB / 0.6095 GB, free: 15.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1811, allocations: 0 / 0.6095 GB, free: 15.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1811, allocations: 0 / 0.6095 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.1811, allocations: 0 / 0.6095 GB, free: 15.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.009681/0.1908, allocations: 2.887 MB / 0.6123 GB, free: 12.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1908, allocations: 11.98 kB / 0.6123 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/0.1961, allocations: 0.8069 MB / 0.6131 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.1979, allocations: 0.8342 MB / 0.6139 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.1983, allocations: 277.9 kB / 0.6142 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.1985, allocations: 84 kB / 0.6142 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.201, allocations: 1.209 MB / 0.6154 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.201, allocations: 0 / 0.6154 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/0.2011, allocations: 32 kB / 0.6155 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.2012, allocations: 20 kB / 0.6155 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.2036, allocations: 1.091 MB / 0.6165 GB, free: 7.598 MB / 478.1 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.006397/0.21, allocations: 2.795 MB / 0.6193 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.2124, allocations: 1.035 MB / 0.6203 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.214, allocations: 0.7286 MB / 0.621 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.944e-05/0.2141, allocations: 16.94 kB / 0.621 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001923/0.216, allocations: 0.9209 MB / 0.6219 GB, free: 2.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.635e-06/0.216, allocations: 0 / 0.6219 GB, free: 2.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02777/0.2438, allocations: 6.808 MB / 0.6286 GB, free: 11.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.2439, allocations: 123.8 kB / 0.6287 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.246, allocations: 1.022 MB / 0.6297 GB, free: 9.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.2462, allocations: 45.7 kB / 0.6297 GB, free: 9.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.2467, allocations: 0.5131 MB / 0.6302 GB, free: 9.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/0.2474, allocations: 392.7 kB / 0.6306 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/0.2481, allocations: 235.6 kB / 0.6308 GB, free: 8.789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.2483, allocations: 361.9 kB / 0.6312 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.2501, allocations: 0.8037 MB / 0.6319 GB, free: 7.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.2521, allocations: 0.9617 MB / 0.6329 GB, free: 6.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02297/0.2751, allocations: 5.51 MB / 0.6383 GB, free: 1.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.2751, allocations: 7.938 kB / 0.6383 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.01561/0.2907, allocations: 4.507 MB / 0.6427 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/0.2908, allocations: 63.39 kB / 0.6427 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2908, allocations: 0 / 0.6427 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007349/0.2982, allocations: 1.85 MB / 0.6445 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.2996, allocations: 251.5 kB / 0.6448 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/0.324, allocations: 9.13 MB / 0.6537 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.3261, allocations: 195.1 kB / 0.6539 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.3264, allocations: 47.98 kB / 0.6539 GB, free: 0.8047 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 133 * 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.0009026/0.3273, allocations: 297.5 kB / 0.6542 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/0.3279, allocations: 131.2 kB / 0.6543 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.3429, allocations: 4.182 MB / 0.6584 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.3429, allocations: 16 kB / 0.6584 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3429, allocations: 0 / 0.6584 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.3429, allocations: 3.984 kB / 0.6584 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.3601, allocations: 5.266 MB / 0.6636 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.3601, allocations: 0 / 0.6636 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007741/0.3609, allocations: 111.9 kB / 0.6637 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006883/0.3677, allocations: 1.828 MB / 0.6655 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.3679, allocations: 16 kB / 0.6655 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/0.3922, allocations: 9.837 MB / 0.6751 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3922, allocations: 3.938 kB / 0.6751 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/0.4091, allocations: 5.164 MB / 0.6801 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.4096, allocations: 146.9 kB / 0.6803 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/0.41, allocations: 20 kB / 0.6803 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.4114, allocations: 119.9 kB / 0.6804 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007873/0.4122, allocations: 220.6 kB / 0.6806 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.4123, allocations: 24 kB / 0.6807 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0013/0.4136, allocations: 0.699 MB / 0.6813 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4136, allocations: 0 / 0.6813 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001661/0.4153, allocations: 483.6 kB / 0.6818 GB, free: 3.883 MB / 0.5294 GB 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.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003498/0.4157, allocations: 147.6 kB / 0.6819 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007776/0.4234, allocations: 2.625 MB / 0.6845 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4234, allocations: 0 / 0.6845 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005437/0.4289, allocations: 1.761 MB / 0.6862 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.43, allocations: 113.2 kB / 0.6863 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/0.4349, allocations: 2.42 MB / 0.6887 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.4357, allocations: 0.5397 MB / 0.6892 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004493/0.4361, allocations: 107.8 kB / 0.6893 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.4364, allocations: 76.67 kB / 0.6894 GB, free: 11.92 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.4364, allocations: 0 / 0.6894 GB, free: 11.92 MB / 0.545 GB Notification: Performance of Templates: time 0.04865/0.4851, allocations: 27.77 MB / 0.7165 GB, free: 208 kB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.831329412059858] Failed to read output from testmodel.py, exit status != 0: 0.792178962030448 0.811244237 0.626851116 Calling exit ...