Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.0017/0.0017, 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.444/1.444, allocations: 177.2 MB / 200.1 MB, free: 9.219 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.001744/0.001744, allocations: 157.4 kB / 256.6 MB, free: 0.7461 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4517/0.4517, allocations: 80.31 MB / 393.3 MB, free: 9.418 MB / 366.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.002549/0.002549, allocations: 89.61 kB / 0.5559 GB, free: 31.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1689, allocations: 80.12 MB / 0.6342 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02312/0.192, allocations: 18.4 MB / 0.6522 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.2058, allocations: 4.822 MB / 0.6569 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/0.2103, allocations: 44 kB / 0.6569 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.2137, allocations: 0.8789 MB / 0.6578 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009589/0.2233, allocations: 2.28 MB / 0.66 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006861/0.2301, allocations: 2.056 MB / 0.662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.3604/0.5905, allocations: 5.723 MB / 0.6676 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.5925, allocations: 0.8643 MB / 0.6684 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.5974, allocations: 2.4 MB / 0.6708 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.6036, allocations: 2.668 MB / 0.6734 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0025/0.6061, allocations: 440.1 kB / 0.6738 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.6095, allocations: 0.5927 MB / 0.6744 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.6111, allocations: 1.149 MB / 0.6755 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004295/0.6154, allocations: 2.119 MB / 0.6776 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.6261, allocations: 6.325 MB / 0.6838 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6261, allocations: 5.547 kB / 0.6838 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6261, allocations: 0 / 0.6838 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003003/0.6264, allocations: 1.062 kB / 0.6838 GB, free: 4.227 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03679/0.6632, allocations: 9.898 MB / 0.6934 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6633, allocations: 9.312 kB / 0.6934 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/0.6914, allocations: 4.058 MB / 0.6974 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007313/0.6987, allocations: 2.575 MB / 0.6999 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/0.6999, allocations: 1.033 MB / 0.7009 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.7011, allocations: 346.6 kB / 0.7012 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.7116, allocations: 4.751 MB / 0.7059 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.7117, allocations: 0 / 0.7059 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/0.7121, allocations: 142 kB / 0.706 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.7121, allocations: 87.06 kB / 0.7061 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008963/0.7211, allocations: 4.248 MB / 0.7103 GB, free: 7.809 MB / 0.5294 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.03525/0.7563, allocations: 13.01 MB / 0.723 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.7696, allocations: 4.356 MB / 0.7272 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00677/0.7763, allocations: 2.495 MB / 0.7297 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/0.777, allocations: 70.88 kB / 0.7297 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008212/0.7852, allocations: 3.193 MB / 0.7328 GB, free: 2.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 8.536e-06/0.7852, allocations: 0 / 0.7328 GB, free: 2.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.3235/1.109, allocations: 67.97 MB / 0.7992 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.109, allocations: 149.8 kB / 0.7994 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006975/1.116, allocations: 3.221 MB / 0.8025 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.117, allocations: 85.7 kB / 0.8026 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/1.119, allocations: 2.011 MB / 0.8046 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002692/1.122, allocations: 1.367 MB / 0.8059 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003518/1.125, allocations: 0.6586 MB / 0.8065 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.125, allocations: 301.1 kB / 0.8068 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007209/1.133, allocations: 2.626 MB / 0.8094 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00775/1.14, allocations: 3.244 MB / 0.8125 GB, free: 148 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07839/1.219, allocations: 18.93 MB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.382e-05/1.219, allocations: 4 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.06615/1.285, allocations: 16.85 MB / 0.8475 GB, free: 12.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.285, allocations: 66.78 kB / 0.8476 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/1.285, allocations: 19.94 kB / 0.8476 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02878/1.314, allocations: 7.223 MB / 0.8546 GB, free: 4.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/1.318, allocations: 0.6582 MB / 0.8553 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1087/1.427, allocations: 32.72 MB / 0.8872 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/1.434, allocations: 0.6183 MB / 0.8878 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.435, allocations: 151.9 kB / 0.888 GB, free: 2.82 MB / 0.7012 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (391): * Single equations (assignments): 388 * 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 {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003666/1.439, allocations: 0.6737 MB / 0.8886 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/1.441, allocations: 473 kB / 0.8891 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06375/1.505, allocations: 16.74 MB / 0.9054 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-05/1.505, allocations: 36 kB / 0.9055 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/1.505, allocations: 28 kB / 0.9055 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001257/1.505, allocations: 19.92 kB / 0.9055 GB, free: 0.9297 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.0746/1.58, allocations: 20 MB / 0.925 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/1.58, allocations: 4 kB / 0.925 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/1.583, allocations: 383.2 kB / 0.9254 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02923/1.612, allocations: 7.378 MB / 0.9326 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00159/1.613, allocations: 71.98 kB / 0.9327 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5244/2.138, allocations: 30.68 MB / 0.9626 GB, free: 239.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.138, allocations: 3.094 kB / 0.9627 GB, free: 239.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06667/2.204, allocations: 20.15 MB / 0.9823 GB, free: 237.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/2.206, allocations: 0.4968 MB / 0.9828 GB, free: 237.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/2.208, allocations: 65.22 kB / 0.9829 GB, free: 237.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004398/2.212, allocations: 377.5 kB / 0.9832 GB, free: 237.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002982/2.215, allocations: 0.823 MB / 0.984 GB, free: 237.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/2.215, allocations: 90.94 kB / 0.9841 GB, free: 237.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002951/2.218, allocations: 2.097 MB / 0.9862 GB, free: 236.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/2.218, allocations: 0 / 0.9862 GB, free: 236.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00614/2.224, allocations: 1.802 MB / 0.9879 GB, free: 236.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006553/2.225, allocations: 197.5 kB / 0.9881 GB, free: 236.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02496/2.25, allocations: 8.952 MB / 0.9969 GB, free: 233.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/2.25, allocations: 0 / 0.9969 GB, free: 233.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02013/2.27, allocations: 5.924 MB / 1.003 GB, free: 231.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007046/2.277, allocations: 383.7 kB / 1.003 GB, free: 231.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/2.293, allocations: 7.986 MB / 1.011 GB, free: 224.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/2.294, allocations: 1.927 MB / 1.013 GB, free: 222.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001767/2.296, allocations: 372.2 kB / 1.013 GB, free: 222.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008258/2.297, allocations: 252.5 kB / 1.013 GB, free: 222.3 MB / 0.7637 GB Notification: Performance of SimCode: time 1.723e-06/2.297, allocations: 4 kB / 1.013 GB, free: 222.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.1303/2.427, allocations: 98.1 MB / 1.109 GB, free: 125.7 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.391925331903622] Failed to read output from testmodel.py, exit status != 0: 2.4366574010346085 2.448691212 1.8198885360000001 Calling exit ...