Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001407/0.001407, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.386/1.386, allocations: 177.2 MB / 200.1 MB, free: 8.367 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.001759/0.001759, allocations: 169.9 kB / 256.6 MB, free: 4.297 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.5606/0.5606, allocations: 80.31 MB / 393.3 MB, free: 13.22 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 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.002517/0.002517, allocations: 83.97 kB / 0.5559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1787, allocations: 80.13 MB / 0.6342 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02022/0.1989, allocations: 18.5 MB / 0.6522 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.2118, allocations: 4.819 MB / 0.657 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004898/0.2167, allocations: 51.88 kB / 0.657 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00338/0.2201, allocations: 0.8828 MB / 0.6579 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008582/0.2287, allocations: 2.273 MB / 0.6601 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006293/0.235, allocations: 2.065 MB / 0.6621 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009421/0.2444, allocations: 5.74 MB / 0.6677 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.2469, allocations: 0.861 MB / 0.6685 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.2518, allocations: 2.404 MB / 0.6709 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005073/0.2569, allocations: 2.662 MB / 0.6735 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.259, allocations: 440 kB / 0.6739 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.262, allocations: 0.5935 MB / 0.6745 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002935/0.265, allocations: 1.155 MB / 0.6756 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005556/0.2705, allocations: 2.105 MB / 0.6777 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009838/0.2804, allocations: 6.332 MB / 0.6839 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2804, allocations: 0 / 0.6839 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2804, allocations: 0 / 0.6839 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002884/0.2807, allocations: 0 / 0.6839 GB, free: 0.7539 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.0343/0.315, allocations: 9.896 MB / 0.6935 GB, free: 6.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.315, allocations: 8.031 kB / 0.6935 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02776/0.3428, allocations: 4.055 MB / 0.6975 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00744/0.3502, allocations: 2.57 MB / 0.7 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3895/0.7397, allocations: 1.029 MB / 0.701 GB, free: 55.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.7417, allocations: 352.8 kB / 0.7013 GB, free: 55.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.7596, allocations: 4.748 MB / 0.706 GB, free: 54.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.149e-05/0.7597, allocations: 2.75 kB / 0.706 GB, free: 54.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005524/0.7603, allocations: 142.4 kB / 0.7061 GB, free: 54.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.7604, allocations: 85.09 kB / 0.7062 GB, free: 54.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.776, allocations: 4.25 MB / 0.7104 GB, free: 53.33 MB / 0.545 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.03874/0.8148, allocations: 13.05 MB / 0.7231 GB, free: 47.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.8276, allocations: 4.355 MB / 0.7273 GB, free: 45.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006367/0.834, allocations: 2.506 MB / 0.7298 GB, free: 44.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000695/0.8347, allocations: 56.08 kB / 0.7298 GB, free: 44.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007617/0.8423, allocations: 3.21 MB / 0.733 GB, free: 43.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 8.887e-06/0.8423, allocations: 0 / 0.733 GB, free: 43.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.2979/1.14, allocations: 67.82 MB / 0.7992 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.14, allocations: 145.8 kB / 0.7993 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00666/1.147, allocations: 3.212 MB / 0.8025 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/1.148, allocations: 89.7 kB / 0.8026 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002694/1.151, allocations: 2.013 MB / 0.8045 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003514/1.155, allocations: 1.375 MB / 0.8059 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003893/1.159, allocations: 0.6665 MB / 0.8065 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.159, allocations: 301.1 kB / 0.8068 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007254/1.166, allocations: 2.627 MB / 0.8094 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008035/1.174, allocations: 3.255 MB / 0.8126 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07835/1.252, allocations: 18.96 MB / 0.8311 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/1.252, allocations: 4 kB / 0.8311 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.06589/1.318, allocations: 17.17 MB / 0.8478 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/1.318, allocations: 63.41 kB / 0.8479 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/1.318, allocations: 12 kB / 0.8479 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02831/1.347, allocations: 7.149 MB / 0.8549 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/1.351, allocations: 0.6638 MB / 0.8555 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1064/1.457, allocations: 32.31 MB / 0.8871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007245/1.464, allocations: 0.6198 MB / 0.8877 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/1.466, allocations: 163.6 kB / 0.8879 GB, free: 15.97 MB / 0.67 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (396): * Single equations (assignments): 393 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0038/1.469, allocations: 0.6656 MB / 0.8885 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002184/1.472, allocations: 478.2 kB / 0.889 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0656/1.537, allocations: 16.74 MB / 0.9053 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-05/1.537, allocations: 40 kB / 0.9053 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001281/1.537, allocations: 28 kB / 0.9054 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001501/1.538, allocations: 23.86 kB / 0.9054 GB, free: 13.94 MB / 0.6856 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.07505/1.613, allocations: 20.02 MB / 0.9249 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/1.613, allocations: 0 / 0.9249 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.615, allocations: 387.5 kB / 0.9253 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02927/1.645, allocations: 7.341 MB / 0.9325 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/1.646, allocations: 71.98 kB / 0.9326 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09572/1.741, allocations: 30.7 MB / 0.9625 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.741, allocations: 0 / 0.9625 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07076/1.812, allocations: 20.16 MB / 0.9822 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.814, allocations: 0.4961 MB / 0.9827 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/1.816, allocations: 63.98 kB / 0.9828 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005498/1.821, allocations: 379.6 kB / 0.9831 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00404/1.825, allocations: 0.8152 MB / 0.9839 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009046/1.826, allocations: 99.98 kB / 0.984 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00421/1.83, allocations: 2.089 MB / 0.9861 GB, free: 11 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.11e-07/1.83, allocations: 0 / 0.9861 GB, free: 11 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007436/1.838, allocations: 1.799 MB / 0.9878 GB, free: 9.195 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/1.839, allocations: 206.7 kB / 0.988 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02895/1.868, allocations: 8.835 MB / 0.9966 GB, free: 92 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.868, allocations: 0 / 0.9966 GB, free: 92 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.3572/2.225, allocations: 5.876 MB / 1.002 GB, free: 265.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/2.229, allocations: 384.3 kB / 1.003 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/2.246, allocations: 8.041 MB / 1.011 GB, free: 262.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/2.249, allocations: 1.933 MB / 1.012 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001828/2.251, allocations: 372.4 kB / 1.013 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009393/2.252, allocations: 250.3 kB / 1.013 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.353e-06/2.252, allocations: 0.9375 kB / 1.013 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.1263/2.378, allocations: 96.84 MB / 1.108 GB, free: 186.2 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.325159949017689] Failed to read output from testmodel.py, exit status != 0: 2.388234367943369 2.399028141 2.116086959 Calling exit ...