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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.7 MB, free: 13.43 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 190 kB / 303.1 MB, free: 8.699 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.495/0.495, allocations: 79.72 MB / 438.1 MB, free: 5.34 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002495/0.002495, allocations: 79.88 kB / 0.5839 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1697, allocations: 72.14 MB / 0.6544 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.009616/0.1793, allocations: 6.675 MB / 0.6609 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.1852, allocations: 2.048 MB / 0.6629 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1862, allocations: 15.94 kB / 0.6629 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.1871, allocations: 245.9 kB / 0.6632 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.1897, allocations: 0.8265 MB / 0.664 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.1913, allocations: 0.6669 MB / 0.6646 GB, free: 5.289 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.1936, allocations: 1.674 MB / 0.6663 GB, free: 3.609 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.194, allocations: 233.2 kB / 0.6665 GB, free: 3.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.1952, allocations: 0.6925 MB / 0.6672 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.1962, allocations: 0.8284 MB / 0.668 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.1964, allocations: 127.9 kB / 0.6681 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.197, allocations: 263.9 kB / 0.6683 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.1974, allocations: 326.6 kB / 0.6687 GB, free: 1.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000676/0.198, allocations: 0.6758 MB / 0.6693 GB, free: 464 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.2, allocations: 1.704 MB / 0.671 GB, free: 14.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2, allocations: 0 / 0.671 GB, free: 14.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2, allocations: 0 / 0.671 GB, free: 14.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.2001, allocations: 7.938 kB / 0.671 GB, free: 14.73 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.01025/0.2103, allocations: 2.875 MB / 0.6738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2104, allocations: 8.031 kB / 0.6738 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005455/0.2158, allocations: 0.7913 MB / 0.6746 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.2179, allocations: 0.8381 MB / 0.6754 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.2182, allocations: 256.2 kB / 0.6756 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.2184, allocations: 83.95 kB / 0.6757 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.2212, allocations: 1.184 MB / 0.6769 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2212, allocations: 0 / 0.6769 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.2213, allocations: 32 kB / 0.6769 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.2213, allocations: 19.94 kB / 0.6769 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.2239, allocations: 1.074 MB / 0.678 GB, free: 7.43 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.007564/0.2315, allocations: 3.622 MB / 0.6815 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.234, allocations: 1.01 MB / 0.6825 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.2357, allocations: 0.6996 MB / 0.6832 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.2358, allocations: 20.97 kB / 0.6832 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/0.2379, allocations: 0.8958 MB / 0.6841 GB, free: 1.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.725e-06/0.2379, allocations: 0 / 0.6841 GB, free: 1.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.03001/0.2679, allocations: 6.762 MB / 0.6907 GB, free: 10.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.268, allocations: 115.8 kB / 0.6908 GB, free: 10.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.27, allocations: 1.031 MB / 0.6918 GB, free: 9.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.2702, allocations: 45.7 kB / 0.6918 GB, free: 9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/0.2707, allocations: 0.5054 MB / 0.6923 GB, free: 8.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/0.2712, allocations: 384.7 kB / 0.6927 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.2717, allocations: 255.5 kB / 0.6929 GB, free: 7.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.2719, allocations: 357.9 kB / 0.6933 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.2738, allocations: 0.7652 MB / 0.694 GB, free: 6.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.2758, allocations: 0.9115 MB / 0.6949 GB, free: 5.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/0.2993, allocations: 5.413 MB / 0.7002 GB, free: 304 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.2993, allocations: 4 kB / 0.7002 GB, free: 300 kB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.3575/0.6568, allocations: 4.474 MB / 0.7046 GB, free: 42.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.6569, allocations: 61.75 kB / 0.7046 GB, free: 42.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6569, allocations: 1.969 kB / 0.7046 GB, free: 42.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008039/0.665, allocations: 1.853 MB / 0.7064 GB, free: 42.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.6665, allocations: 256.3 kB / 0.7067 GB, free: 42.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02477/0.6913, allocations: 9.382 MB / 0.7159 GB, free: 38.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.6933, allocations: 190.4 kB / 0.716 GB, free: 38.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.6934, allocations: 49.31 kB / 0.7161 GB, free: 38.76 MB / 494.1 MB 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 (139): * Single equations (assignments): 136 * 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.0005812/0.694, allocations: 290.9 kB / 0.7164 GB, free: 38.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.6942, allocations: 130.8 kB / 0.7165 GB, free: 38.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.7084, allocations: 4.164 MB / 0.7205 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.7085, allocations: 10.94 kB / 0.7206 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7085, allocations: 0 / 0.7206 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.7085, allocations: 4.5 kB / 0.7206 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.7242, allocations: 5.898 MB / 0.7263 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.7242, allocations: 1.562 kB / 0.7263 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/0.7251, allocations: 105.5 kB / 0.7264 GB, free: 34.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006067/0.7312, allocations: 1.831 MB / 0.7282 GB, free: 33.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/0.7314, allocations: 27.78 kB / 0.7282 GB, free: 33.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/0.7513, allocations: 10.11 MB / 0.7381 GB, free: 26.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7513, allocations: 0 / 0.7381 GB, free: 26.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.7661, allocations: 5.117 MB / 0.7431 GB, free: 21.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.7666, allocations: 146.6 kB / 0.7433 GB, free: 20.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.7668, allocations: 20 kB / 0.7433 GB, free: 20.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.768, allocations: 115.9 kB / 0.7434 GB, free: 20.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000634/0.7687, allocations: 216.6 kB / 0.7436 GB, free: 20.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.7688, allocations: 27.98 kB / 0.7436 GB, free: 20.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008858/0.7696, allocations: 0.7071 MB / 0.7443 GB, free: 19.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7696, allocations: 0 / 0.7443 GB, free: 19.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001325/0.771, allocations: 487 kB / 0.7448 GB, free: 19.34 MB / 494.1 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.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.0002684/0.7712, allocations: 138.4 kB / 0.7449 GB, free: 19.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006766/0.778, allocations: 2.554 MB / 0.7474 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.778, allocations: 0 / 0.7474 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004612/0.7826, allocations: 1.73 MB / 0.7491 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.7835, allocations: 123.7 kB / 0.7492 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.7872, allocations: 2.385 MB / 0.7515 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.7876, allocations: 1.132 MB / 0.7526 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.788, allocations: 114.5 kB / 0.7528 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.7882, allocations: 71.42 kB / 0.7528 GB, free: 11.01 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7882, allocations: 0 / 0.7528 GB, free: 11.01 MB / 494.1 MB Notification: Performance of Templates: time 0.04319/0.8314, allocations: 27.92 MB / 0.7801 GB, free: 15.16 MB / 0.5137 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.171036954037845] Failed to read output from testmodel.py, exit status != 0: 0.8399371737614274 0.865198243 0.6597739739999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7cfa9dd7b0>