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.001517/0.001517, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.404/1.404, allocations: 230.6 MB / 253.4 MB, free: 14.28 MB / 206.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.001484/0.001484, allocations: 216.4 kB / 310 MB, free: 3.039 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5738/0.5738, allocations: 107.2 MB / 473.6 MB, free: 29.76 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.002382/0.002382, allocations: 82.88 kB / 0.6343 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1221, allocations: 80.15 MB / 0.7125 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007285/0.1294, allocations: 5.879 MB / 0.7183 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004041/0.1334, allocations: 1.997 MB / 0.7202 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.1342, allocations: 15.94 kB / 0.7202 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.1351, allocations: 241.9 kB / 0.7205 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.1375, allocations: 0.8099 MB / 0.7213 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.1391, allocations: 0.6713 MB / 0.7219 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1413, allocations: 1.663 MB / 0.7235 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.1417, allocations: 225.2 kB / 0.7237 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.1426, allocations: 0.6925 MB / 0.7244 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009063/0.1435, allocations: 0.7503 MB / 0.7252 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.1437, allocations: 128 kB / 0.7253 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1442, allocations: 279.9 kB / 0.7255 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.1445, allocations: 330.6 kB / 0.7259 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.1451, allocations: 0.5438 MB / 0.7264 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.1468, allocations: 1.735 MB / 0.7281 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1469, allocations: 0 / 0.7281 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1469, allocations: 4 kB / 0.7281 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.1469, allocations: 0 / 0.7281 GB, free: 7.199 MB / 0.4981 GB 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.008852/0.1557, allocations: 2.894 MB / 0.7309 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1558, allocations: 12.03 kB / 0.7309 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.1607, allocations: 0.8069 MB / 0.7317 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.1624, allocations: 0.8381 MB / 0.7325 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.1627, allocations: 277.9 kB / 0.7328 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.1629, allocations: 84 kB / 0.7329 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.1652, allocations: 1.201 MB / 0.7341 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1653, allocations: 7.938 kB / 0.7341 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.1654, allocations: 32 kB / 0.7341 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1654, allocations: 20 kB / 0.7341 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.1677, allocations: 1.099 MB / 0.7352 GB, free: 15.77 MB / 0.5137 GB 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.005947/0.1736, allocations: 2.784 MB / 0.7379 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.1759, allocations: 1.044 MB / 0.7389 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.1774, allocations: 0.7247 MB / 0.7396 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.156e-05/0.1775, allocations: 13 kB / 0.7396 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.1793, allocations: 0.9247 MB / 0.7405 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=102): time 3.176e-06/0.1793, allocations: 0 / 0.7405 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=102): time 0.02625/0.2056, allocations: 6.816 MB / 0.7472 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.2056, allocations: 111.8 kB / 0.7473 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.2072, allocations: 1.022 MB / 0.7483 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.2074, allocations: 45.7 kB / 0.7483 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.2078, allocations: 0.517 MB / 0.7489 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.2082, allocations: 392.7 kB / 0.7492 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/0.2087, allocations: 239.5 kB / 0.7495 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2088, allocations: 353.9 kB / 0.7498 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.2105, allocations: 0.8154 MB / 0.7506 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.2124, allocations: 0.9579 MB / 0.7515 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02102/0.2334, allocations: 5.506 MB / 0.7569 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2334, allocations: 0 / 0.7569 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.01416/0.2476, allocations: 4.511 MB / 0.7613 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.2476, allocations: 69.73 kB / 0.7614 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2476, allocations: 4 kB / 0.7614 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00665/0.2543, allocations: 1.843 MB / 0.7632 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.2555, allocations: 255.5 kB / 0.7634 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.2776, allocations: 9.126 MB / 0.7723 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.2793, allocations: 191.1 kB / 0.7725 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.2794, allocations: 51.98 kB / 0.7726 GB, free: 8.969 MB / 0.545 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.0005237/0.2799, allocations: 293.1 kB / 0.7728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.2801, allocations: 131.2 kB / 0.773 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.2938, allocations: 4.182 MB / 0.7771 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2938, allocations: 12 kB / 0.7771 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2938, allocations: 0 / 0.7771 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.2938, allocations: 7.969 kB / 0.7771 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.3092, allocations: 5.262 MB / 0.7822 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.3092, allocations: 0 / 0.7822 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.3099, allocations: 111.8 kB / 0.7823 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006143/0.316, allocations: 1.82 MB / 0.7841 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.3162, allocations: 20 kB / 0.7841 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/0.3385, allocations: 9.841 MB / 0.7937 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3385, allocations: 3.938 kB / 0.7937 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.3543, allocations: 5.16 MB / 0.7988 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.3547, allocations: 150.9 kB / 0.7989 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.355, allocations: 16 kB / 0.7989 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.3562, allocations: 115.9 kB / 0.799 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006412/0.3568, allocations: 232.6 kB / 0.7993 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.3569, allocations: 24 kB / 0.7993 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001123/0.358, allocations: 0.6951 MB / 0.8 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.358, allocations: 0 / 0.8 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001459/0.3595, allocations: 487.6 kB / 0.8004 GB, free: 12.05 MB / 0.5762 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.000294/0.3598, allocations: 151 kB / 0.8006 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007135/0.3669, allocations: 2.619 MB / 0.8031 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3669, allocations: 0.5625 kB / 0.8031 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004898/0.3718, allocations: 1.756 MB / 0.8048 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.3727, allocations: 122.8 kB / 0.805 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.377, allocations: 2.455 MB / 0.8074 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.3775, allocations: 0.5396 MB / 0.8079 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.3778, allocations: 75.42 kB / 0.808 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.3778, allocations: 4 kB / 0.808 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.2707/0.6486, allocations: 24.88 MB / 0.8323 GB, free: 86.55 MB / 0.5762 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: 9.01783892698586] Failed to read output from testmodel.py, exit status != 0: 0.6557067227549851 0.6648920620000001 0.515949809 Calling exit ...