Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.001299/0.001299, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.407/1.407, allocations: 177.2 MB / 200.1 MB, free: 9.273 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.00161/0.00161, allocations: 161.4 kB / 256.6 MB, free: 0.7539 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.3299/0.3299, allocations: 59.78 MB / 372.8 MB, free: 13.13 MB / 350.1 MB " [Timeout remaining time 180] 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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.00258/0.00258, allocations: 86.53 kB / 0.5224 GB, free: 56.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.116, allocations: 73.28 MB / 0.5939 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.00856/0.1245, allocations: 6.151 MB / 0.6 GB, free: 4.117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.1294, allocations: 2.09 MB / 0.602 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/0.1304, allocations: 15.94 kB / 0.602 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1314, allocations: 257.8 kB / 0.6023 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.134, allocations: 0.8194 MB / 0.6031 GB, free: 0.9258 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.136, allocations: 0.7411 MB / 0.6038 GB, free: 196 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.1391, allocations: 1.752 MB / 0.6055 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.1398, allocations: 268.1 kB / 0.6057 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.1413, allocations: 0.7314 MB / 0.6065 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.1429, allocations: 0.7813 MB / 0.6072 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.1434, allocations: 132 kB / 0.6073 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009303/0.1443, allocations: 287.8 kB / 0.6076 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.1449, allocations: 342.5 kB / 0.6079 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.146, allocations: 0.5866 MB / 0.6085 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1491, allocations: 1.863 MB / 0.6103 GB, free: 9.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1491, allocations: 0 / 0.6103 GB, free: 9.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1491, allocations: 0 / 0.6103 GB, free: 9.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.853e-05/0.1492, allocations: 8 kB / 0.6103 GB, free: 9.406 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.01103/0.1602, allocations: 2.98 MB / 0.6133 GB, free: 6.371 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1602, allocations: 11.98 kB / 0.6133 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/0.1659, allocations: 0.8186 MB / 0.6141 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.1682, allocations: 0.8737 MB / 0.6149 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/0.1688, allocations: 481.8 kB / 0.6154 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.1691, allocations: 88 kB / 0.6155 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.1722, allocations: 1.324 MB / 0.6168 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.1723, allocations: 4 kB / 0.6168 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.1724, allocations: 32 kB / 0.6168 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.1724, allocations: 24 kB / 0.6168 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.1755, allocations: 1.22 MB / 0.618 GB, free: 1.348 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.007602/0.1831, allocations: 3.151 MB / 0.6211 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/0.1866, allocations: 1.256 MB / 0.6223 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.1885, allocations: 0.7878 MB / 0.6231 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.1886, allocations: 20.98 kB / 0.6231 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/0.1909, allocations: 0.9911 MB / 0.6241 GB, free: 11.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.957e-06/0.1909, allocations: 3.938 kB / 0.6241 GB, free: 11.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.03532/0.2262, allocations: 7.753 MB / 0.6316 GB, free: 3.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2263, allocations: 115.8 kB / 0.6318 GB, free: 3.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.2283, allocations: 1.024 MB / 0.6328 GB, free: 2.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.2286, allocations: 45.7 kB / 0.6328 GB, free: 2.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000549/0.2292, allocations: 0.537 MB / 0.6333 GB, free: 1.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007065/0.2299, allocations: 412.5 kB / 0.6337 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007306/0.2306, allocations: 239.5 kB / 0.6339 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.2308, allocations: 357.9 kB / 0.6343 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.2329, allocations: 0.8349 MB / 0.6351 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.235, allocations: 0.9946 MB / 0.6361 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02366/0.2587, allocations: 5.574 MB / 0.6415 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2587, allocations: 0 / 0.6415 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.01533/0.274, allocations: 4.475 MB / 0.6459 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.2741, allocations: 65.73 kB / 0.6459 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2741, allocations: 8 kB / 0.646 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006493/0.2806, allocations: 1.722 MB / 0.6476 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.2822, allocations: 279.6 kB / 0.6479 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/0.3049, allocations: 8.729 MB / 0.6564 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.3069, allocations: 203.1 kB / 0.6566 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.3072, allocations: 51.98 kB / 0.6567 GB, free: 9.23 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000837/0.308, allocations: 303 kB / 0.657 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.3084, allocations: 139.1 kB / 0.6571 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/0.3243, allocations: 4.383 MB / 0.6614 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.3243, allocations: 15.98 kB / 0.6614 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3243, allocations: 4 kB / 0.6614 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.3243, allocations: 3.984 kB / 0.6614 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2796/0.6039, allocations: 5.549 MB / 0.6668 GB, free: 63.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.604, allocations: 1.25 kB / 0.6668 GB, free: 63.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/0.6048, allocations: 125.2 kB / 0.6669 GB, free: 63.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006893/0.6117, allocations: 1.896 MB / 0.6688 GB, free: 63.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.612, allocations: 24.34 kB / 0.6688 GB, free: 63.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02446/0.6364, allocations: 10.24 MB / 0.6788 GB, free: 59.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6364, allocations: 0.6094 kB / 0.6788 GB, free: 59.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/0.654, allocations: 5.452 MB / 0.6841 GB, free: 57.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.6544, allocations: 151 kB / 0.6843 GB, free: 57.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.6546, allocations: 21.16 kB / 0.6843 GB, free: 57.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.6559, allocations: 141.2 kB / 0.6844 GB, free: 57.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009374/0.6569, allocations: 241.4 kB / 0.6847 GB, free: 57.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/0.657, allocations: 37.02 kB / 0.6847 GB, free: 57.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008925/0.6579, allocations: 0.6909 MB / 0.6854 GB, free: 57.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6579, allocations: 0 / 0.6854 GB, free: 57.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001476/0.6593, allocations: 483.9 kB / 0.6858 GB, free: 57.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/0.6596, allocations: 140.3 kB / 0.686 GB, free: 56.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007977/0.6676, allocations: 2.691 MB / 0.6886 GB, free: 55.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6676, allocations: 0 / 0.6886 GB, free: 55.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008197/0.6758, allocations: 1.832 MB / 0.6904 GB, free: 55.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6769, allocations: 122.6 kB / 0.6905 GB, free: 55.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.6811, allocations: 2.447 MB / 0.6929 GB, free: 53.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.6815, allocations: 0.5625 MB / 0.6934 GB, free: 53.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004118/0.6819, allocations: 117.1 kB / 0.6936 GB, free: 53.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6822, allocations: 80.05 kB / 0.6936 GB, free: 53.56 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.6822, allocations: 0 / 0.6936 GB, free: 53.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.0339/0.7161, allocations: 28.8 MB / 0.7218 GB, free: 29.66 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.834131286945194] Failed to read output from testmodel.py, exit status != 0: 0.723908390966244 0.733665598 0.5822488259999999 Calling exit ...