Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.001499/0.001499, allocations: 102.1 kB / 19.7 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.473/1.473, allocations: 230.6 MB / 253.4 MB, free: 8.273 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.001713/0.001713, allocations: 223.4 kB / 310 MB, free: 3.109 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.4712/0.4712, allocations: 79.74 MB / 446.2 MB, free: 14.8 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.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [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.002542/0.002542, allocations: 83.88 kB / 0.5942 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.168, allocations: 73.29 MB / 0.6657 GB, free: 4.02 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008529/0.1766, allocations: 6.572 MB / 0.6722 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.1814, allocations: 2.017 MB / 0.6741 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007214/0.1822, allocations: 11.94 kB / 0.6741 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.183, allocations: 242 kB / 0.6744 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.1853, allocations: 0.868 MB / 0.6752 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1868, allocations: 0.6395 MB / 0.6758 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.1887, allocations: 1.615 MB / 0.6774 GB, free: 8.027 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1891, allocations: 222.9 kB / 0.6776 GB, free: 7.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008909/0.19, allocations: 0.6848 MB / 0.6783 GB, free: 7.109 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009832/0.191, allocations: 0.8401 MB / 0.6791 GB, free: 6.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.1912, allocations: 124 kB / 0.6792 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.1917, allocations: 279.8 kB / 0.6795 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.192, allocations: 330.7 kB / 0.6798 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.1926, allocations: 0.668 MB / 0.6805 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.1946, allocations: 1.692 MB / 0.6821 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1946, allocations: 0 / 0.6821 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1946, allocations: 0 / 0.6821 GB, free: 3.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.1946, allocations: 0 / 0.6821 GB, free: 3.176 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009048/0.2036, allocations: 2.82 MB / 0.6849 GB, free: 308 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2037, allocations: 11.98 kB / 0.6849 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.2086, allocations: 0.7913 MB / 0.6857 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.2104, allocations: 0.8385 MB / 0.6865 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.2107, allocations: 337.2 kB / 0.6868 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.2109, allocations: 87.95 kB / 0.6869 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.213, allocations: 1.086 MB / 0.688 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2131, allocations: 0 / 0.688 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.2132, allocations: 31.98 kB / 0.688 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.2132, allocations: 20 kB / 0.688 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.2153, allocations: 0.9916 MB / 0.689 GB, free: 12 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.006878/0.2222, allocations: 3.747 MB / 0.6926 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/0.2294, allocations: 1.988 MB / 0.6946 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.2308, allocations: 0.6283 MB / 0.6952 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.2309, allocations: 16.92 kB / 0.6952 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.2325, allocations: 0.8216 MB / 0.696 GB, free: 4.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.2325, allocations: 0 / 0.696 GB, free: 4.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.3742/0.6068, allocations: 7.002 MB / 0.7028 GB, free: 35.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.6068, allocations: 122.5 kB / 0.703 GB, free: 35.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.6086, allocations: 1.088 MB / 0.704 GB, free: 35.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.6088, allocations: 46.05 kB / 0.7041 GB, free: 35.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.6091, allocations: 0.4938 MB / 0.7045 GB, free: 35.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/0.6095, allocations: 367.8 kB / 0.7049 GB, free: 34.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.61, allocations: 281.6 kB / 0.7052 GB, free: 34.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.61, allocations: 301.8 kB / 0.7054 GB, free: 34.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.6117, allocations: 0.7605 MB / 0.7062 GB, free: 34.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.6135, allocations: 0.9267 MB / 0.7071 GB, free: 34.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02504/0.6385, allocations: 5.771 MB / 0.7127 GB, free: 33.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.6386, allocations: 0.75 kB / 0.7127 GB, free: 33.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01472/0.6533, allocations: 4.345 MB / 0.717 GB, free: 31.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.6533, allocations: 65.91 kB / 0.717 GB, free: 31.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.6534, allocations: 2.406 kB / 0.717 GB, free: 31.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/0.6589, allocations: 1.587 MB / 0.7186 GB, free: 31.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.6605, allocations: 276.6 kB / 0.7189 GB, free: 31.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.6791, allocations: 8.417 MB / 0.7271 GB, free: 26.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.681, allocations: 204 kB / 0.7273 GB, free: 26.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.6811, allocations: 56.67 kB / 0.7273 GB, free: 26.58 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005623/0.6817, allocations: 304.8 kB / 0.7276 GB, free: 26.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6819, allocations: 131.2 kB / 0.7277 GB, free: 26.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.6935, allocations: 3.84 MB / 0.7315 GB, free: 24.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.6935, allocations: 10.66 kB / 0.7315 GB, free: 24.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.6936, allocations: 6.656 kB / 0.7315 GB, free: 24.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.6936, allocations: 3.984 kB / 0.7315 GB, free: 24.27 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.01314/0.7067, allocations: 5.4 MB / 0.7368 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.7067, allocations: 3.781 kB / 0.7368 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.7073, allocations: 104.9 kB / 0.7369 GB, free: 21.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004847/0.7122, allocations: 1.596 MB / 0.7384 GB, free: 19.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.7124, allocations: 20 kB / 0.7385 GB, free: 19.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.7305, allocations: 9.445 MB / 0.7477 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.7305, allocations: 1.312 kB / 0.7477 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.7437, allocations: 4.715 MB / 0.7523 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.7442, allocations: 148.6 kB / 0.7524 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.7444, allocations: 29.28 kB / 0.7525 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7455, allocations: 111.9 kB / 0.7526 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/0.7461, allocations: 196.6 kB / 0.7528 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.7461, allocations: 31.98 kB / 0.7528 GB, free: 4.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009165/0.747, allocations: 0.7315 MB / 0.7535 GB, free: 3.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.747, allocations: 4 kB / 0.7535 GB, free: 3.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00133/0.7484, allocations: 472.9 kB / 0.754 GB, free: 3.508 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.000263/0.7486, allocations: 138.2 kB / 0.7541 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005489/0.7541, allocations: 2.394 MB / 0.7564 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7541, allocations: 0 / 0.7564 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.7581, allocations: 1.529 MB / 0.7579 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.7594, allocations: 120.2 kB / 0.758 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.7643, allocations: 2.274 MB / 0.7603 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/0.7652, allocations: 1.124 MB / 0.7614 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.7656, allocations: 83.41 kB / 0.7614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.7656, allocations: 0 / 0.7614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.03847/0.8041, allocations: 23.75 MB / 0.7846 GB, free: 4.004 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.195609990973026] Failed to read output from testmodel.py, exit status != 0: 0.8133698301389813 0.828050658 0.630318222 Calling exit ...