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.001376/0.001376, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.495/1.495, allocations: 230.6 MB / 253.4 MB, free: 8.277 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.001699/0.001699, allocations: 210.3 kB / 310 MB, free: 3.145 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.4577/0.4577, allocations: 79.74 MB / 446.2 MB, free: 14.83 MB / 318.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.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.002566/0.002566, allocations: 79.88 kB / 0.5942 GB, free: 13.44 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1512, allocations: 73.29 MB / 0.6657 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.009103/0.1603, allocations: 7.064 MB / 0.6726 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.1653, allocations: 2.179 MB / 0.6748 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009108/0.1662, allocations: 23.88 kB / 0.6748 GB, free: 10.74 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008576/0.1671, allocations: 253.8 kB / 0.675 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.1693, allocations: 0.8355 MB / 0.6758 GB, free: 9.648 MB / 478.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.001778/0.1711, allocations: 0.7562 MB / 0.6766 GB, free: 8.902 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.1735, allocations: 1.764 MB / 0.6783 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.174, allocations: 284.1 kB / 0.6786 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.1753, allocations: 0.7353 MB / 0.6793 GB, free: 6.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1765, allocations: 0.8556 MB / 0.6801 GB, free: 5.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.1768, allocations: 135.9 kB / 0.6803 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.1774, allocations: 287.9 kB / 0.6805 GB, free: 4.816 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.1777, allocations: 342.6 kB / 0.6809 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.1784, allocations: 0.7185 MB / 0.6816 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.1807, allocations: 1.852 MB / 0.6834 GB, free: 1.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1807, allocations: 0 / 0.6834 GB, free: 1.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1807, allocations: 4 kB / 0.6834 GB, free: 1.895 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.1807, allocations: 0 / 0.6834 GB, free: 1.895 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.009517/0.1902, allocations: 2.98 MB / 0.6863 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1903, allocations: 19.98 kB / 0.6863 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.1953, allocations: 0.8147 MB / 0.6871 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.1972, allocations: 0.8699 MB / 0.688 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.1977, allocations: 481.8 kB / 0.6884 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.1979, allocations: 95.98 kB / 0.6885 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.2006, allocations: 1.291 MB / 0.6898 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2006, allocations: 0 / 0.6898 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.2007, allocations: 36 kB / 0.6898 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.2007, allocations: 20 kB / 0.6898 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.2035, allocations: 1.202 MB / 0.691 GB, free: 9.891 MB / 494.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.007592/0.2111, allocations: 4.126 MB / 0.695 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.2143, allocations: 1.229 MB / 0.6962 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.2161, allocations: 0.7706 MB / 0.697 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.2162, allocations: 24.97 kB / 0.697 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002059/0.2182, allocations: 0.9579 MB / 0.6979 GB, free: 2.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.086e-06/0.2182, allocations: 0 / 0.6979 GB, free: 2.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.3293/0.5475, allocations: 7.692 MB / 0.7054 GB, free: 34.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.5476, allocations: 115.5 kB / 0.7056 GB, free: 34.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.5493, allocations: 1.045 MB / 0.7066 GB, free: 34.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.5496, allocations: 46.8 kB / 0.7066 GB, free: 34.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.5499, allocations: 0.5296 MB / 0.7071 GB, free: 33.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.5503, allocations: 408.4 kB / 0.7075 GB, free: 33.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/0.5508, allocations: 250 kB / 0.7078 GB, free: 33.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.5509, allocations: 357.9 kB / 0.7081 GB, free: 33.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.5528, allocations: 0.7914 MB / 0.7089 GB, free: 33.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.5547, allocations: 0.9431 MB / 0.7098 GB, free: 33.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02286/0.5775, allocations: 5.592 MB / 0.7153 GB, free: 32.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.5775, allocations: 1.625 kB / 0.7153 GB, free: 32.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01322/0.5907, allocations: 4.431 MB / 0.7196 GB, free: 30.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.5908, allocations: 61.89 kB / 0.7196 GB, free: 30.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5908, allocations: 3.688 kB / 0.7197 GB, free: 30.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005545/0.5964, allocations: 1.737 MB / 0.7213 GB, free: 29.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.5979, allocations: 281 kB / 0.7216 GB, free: 29.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.6169, allocations: 8.947 MB / 0.7304 GB, free: 24.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.6187, allocations: 210.5 kB / 0.7306 GB, free: 24.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.6189, allocations: 49.33 kB / 0.7306 GB, free: 24.29 MB / 494.1 MB 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 (141): * Single equations (assignments): 138 * 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.0005528/0.6194, allocations: 310.1 kB / 0.7309 GB, free: 24.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.6196, allocations: 138.6 kB / 0.731 GB, free: 23.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.6328, allocations: 4.361 MB / 0.7353 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.6328, allocations: 14.81 kB / 0.7353 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6328, allocations: 0.8438 kB / 0.7353 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.6328, allocations: 3.984 kB / 0.7353 GB, free: 21.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.6475, allocations: 6.206 MB / 0.7414 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.6475, allocations: 1.25 kB / 0.7414 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/0.6483, allocations: 123.8 kB / 0.7415 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005541/0.6538, allocations: 1.907 MB / 0.7433 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.6541, allocations: 22.62 kB / 0.7434 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/0.6736, allocations: 10.52 MB / 0.7536 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6736, allocations: 1.688 kB / 0.7536 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.6899, allocations: 5.402 MB / 0.7589 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.6904, allocations: 151.2 kB / 0.7591 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.6908, allocations: 27.92 kB / 0.7591 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.6923, allocations: 131.8 kB / 0.7592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000764/0.693, allocations: 248.5 kB / 0.7595 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/0.6931, allocations: 28 kB / 0.7595 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001139/0.6943, allocations: 0.7045 MB / 0.7602 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6943, allocations: 0 / 0.7602 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001571/0.6958, allocations: 492 kB / 0.7606 GB, free: 12.38 MB / 0.4981 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.0003078/0.6961, allocations: 139.7 kB / 0.7608 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007581/0.7037, allocations: 2.606 MB / 0.7633 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.7037, allocations: 4.062 kB / 0.7633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005482/0.7092, allocations: 1.803 MB / 0.7651 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.7106, allocations: 124.4 kB / 0.7652 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.7164, allocations: 2.476 MB / 0.7676 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.7176, allocations: 1.151 MB / 0.7687 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.7181, allocations: 91.41 kB / 0.7688 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of SimCode: time 1.753e-06/0.7181, allocations: 0 / 0.7688 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of Templates: time 0.04121/0.7593, allocations: 25.71 MB / 0.7939 GB, free: 10.18 MB / 0.5294 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.221741419052705] Failed to read output from testmodel.py, exit status != 0: 0.769163881894201 0.784148563 0.600244865 Calling exit ...