Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.001593/0.001593, allocations: 114.8 kB / 17.08 MB, free: 5.957 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.378/1.378, allocations: 222.9 MB / 242.7 MB, free: 15.21 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.001484/0.001484, allocations: 183.6 kB / 295 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5131/0.5131, allocations: 98.19 MB / 445.4 MB, free: 10.95 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002589, allocations: 83.86 kB / 0.591 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1529, allocations: 72.77 MB / 0.6621 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008126/0.1611, allocations: 6.73 MB / 0.6686 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.1657, allocations: 2.021 MB / 0.6706 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1668, allocations: 8 kB / 0.6706 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.1677, allocations: 241.9 kB / 0.6708 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.1703, allocations: 0.8132 MB / 0.6716 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1718, allocations: 0.6534 MB / 0.6723 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.1738, allocations: 1.671 MB / 0.6739 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.1743, allocations: 322.5 kB / 0.6742 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007611/0.175, allocations: 0.6886 MB / 0.6749 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.176, allocations: 0.879 MB / 0.6757 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.1762, allocations: 136 kB / 0.6759 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.1767, allocations: 259.9 kB / 0.6761 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.177, allocations: 350.5 kB / 0.6765 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006143/0.1777, allocations: 0.6952 MB / 0.6771 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.1795, allocations: 1.75 MB / 0.6788 GB, free: 9.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1795, allocations: 0 / 0.6788 GB, free: 9.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1795, allocations: 3.938 kB / 0.6788 GB, free: 9.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.1795, allocations: 3.984 kB / 0.6789 GB, free: 9.891 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008998/0.1886, allocations: 2.823 MB / 0.6816 GB, free: 7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1886, allocations: 11.97 kB / 0.6816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.1934, allocations: 0.7835 MB / 0.6824 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.1949, allocations: 0.9267 MB / 0.6833 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.1953, allocations: 260.2 kB / 0.6835 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1954, allocations: 84 kB / 0.6836 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.1977, allocations: 1.114 MB / 0.6847 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1977, allocations: 0 / 0.6847 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.1978, allocations: 32 kB / 0.6847 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.1978, allocations: 20 kB / 0.6848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.1999, allocations: 1.003 MB / 0.6857 GB, free: 2.664 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.2928/0.4928, allocations: 3.9 MB / 0.6895 GB, free: 23.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/0.4999, allocations: 2.408 MB / 0.6919 GB, free: 23.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.5014, allocations: 0.6911 MB / 0.6926 GB, free: 23.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.5015, allocations: 21.12 kB / 0.6926 GB, free: 23.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.5031, allocations: 0.8379 MB / 0.6934 GB, free: 23.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 2.635e-06/0.5031, allocations: 0 / 0.6934 GB, free: 23.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02939/0.5325, allocations: 7.092 MB / 0.7003 GB, free: 22.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.5326, allocations: 114.2 kB / 0.7004 GB, free: 22.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.5345, allocations: 1.139 MB / 0.7016 GB, free: 22.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.5347, allocations: 48.72 kB / 0.7016 GB, free: 22.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.5351, allocations: 0.4999 MB / 0.7021 GB, free: 22.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.5354, allocations: 384.1 kB / 0.7025 GB, free: 22.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.536, allocations: 304 kB / 0.7027 GB, free: 22.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.536, allocations: 303.3 kB / 0.703 GB, free: 21.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.5377, allocations: 0.794 MB / 0.7038 GB, free: 21.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.5397, allocations: 0.9708 MB / 0.7048 GB, free: 21.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02484/0.5646, allocations: 5.927 MB / 0.7106 GB, free: 20.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.5646, allocations: 1.031 kB / 0.7106 GB, free: 20.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01356/0.5782, allocations: 4.516 MB / 0.715 GB, free: 19.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.5783, allocations: 58.59 kB / 0.715 GB, free: 18.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5783, allocations: 3.656 kB / 0.715 GB, free: 18.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006182/0.5845, allocations: 1.667 MB / 0.7166 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.586, allocations: 296.9 kB / 0.7169 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.6054, allocations: 8.627 MB / 0.7254 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.6075, allocations: 213.1 kB / 0.7256 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.6078, allocations: 58.94 kB / 0.7256 GB, free: 12.68 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007161/0.6086, allocations: 309.4 kB / 0.7259 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.6089, allocations: 139 kB / 0.726 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.6207, allocations: 3.921 MB / 0.7299 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.6208, allocations: 14.88 kB / 0.7299 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/0.6208, allocations: 4 kB / 0.7299 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/0.6208, allocations: 3.984 kB / 0.7299 GB, free: 9.938 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 postOpt removeSimpleEquations (simulation): time 0.0137/0.6345, allocations: 5.553 MB / 0.7353 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6346, allocations: 0 / 0.7353 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.6353, allocations: 103.8 kB / 0.7354 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005033/0.6403, allocations: 1.604 MB / 0.737 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.6405, allocations: 27.98 kB / 0.737 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02108/0.6616, allocations: 9.632 MB / 0.7464 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6617, allocations: 3.938 kB / 0.7464 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/0.6774, allocations: 4.809 MB / 0.7511 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/0.678, allocations: 239.5 kB / 0.7513 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.6784, allocations: 20 kB / 0.7514 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.6798, allocations: 115.9 kB / 0.7515 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/0.6806, allocations: 197.2 kB / 0.7517 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.6807, allocations: 24 kB / 0.7517 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001378/0.6821, allocations: 0.7713 MB / 0.7524 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6821, allocations: 0 / 0.7524 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001689/0.6838, allocations: 493.7 kB / 0.7529 GB, free: 2.016 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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 (66): * Single equations (assignments): 63 * 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): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003412/0.6841, allocations: 136 kB / 0.753 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007392/0.6915, allocations: 2.629 MB / 0.7556 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6916, allocations: 4.062 kB / 0.7556 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004732/0.6963, allocations: 1.624 MB / 0.7572 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.6976, allocations: 115 kB / 0.7573 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.7027, allocations: 2.511 MB / 0.7598 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009632/0.7037, allocations: 1.132 MB / 0.7609 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.7041, allocations: 87.41 kB / 0.7609 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.7041, allocations: 0 / 0.7609 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.03594/0.7401, allocations: 24.34 MB / 0.7847 GB, free: 1.363 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.37143399193883] Failed to read output from testmodel.py, exit status != 0: 0.7475638021714985 0.75981968 0.577828801 Calling exit ...