Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001602/0.001602, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.383/1.383, allocations: 177.2 MB / 200.1 MB, free: 8.309 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.001592/0.001592, allocations: 164.3 kB / 256.6 MB, free: 4.277 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.5973/0.5973, allocations: 80.29 MB / 393.3 MB, free: 13.25 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.002567/0.002567, allocations: 81.44 kB / 0.5559 GB, free: 3.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1609, allocations: 80.13 MB / 0.6342 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02153/0.1824, allocations: 18.56 MB / 0.6523 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1959, allocations: 4.857 MB / 0.6571 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005964/0.2018, allocations: 51.88 kB / 0.6571 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.2071, allocations: 0.8789 MB / 0.658 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009811/0.2169, allocations: 2.295 MB / 0.6602 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007058/0.2239, allocations: 2.061 MB / 0.6622 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01197/0.2359, allocations: 5.791 MB / 0.6679 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.2382, allocations: 0.8688 MB / 0.6687 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/0.2435, allocations: 2.419 MB / 0.6711 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005556/0.249, allocations: 2.697 MB / 0.6737 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.2506, allocations: 444 kB / 0.6741 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.2527, allocations: 0.6092 MB / 0.6747 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.2539, allocations: 1.159 MB / 0.6759 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.2572, allocations: 2.132 MB / 0.678 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008672/0.2659, allocations: 6.367 MB / 0.6842 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2659, allocations: 0 / 0.6842 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2659, allocations: 0 / 0.6842 GB, free: 420 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002435/0.2661, allocations: 3.938 kB / 0.6842 GB, free: 416 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03525/0.3014, allocations: 9.974 MB / 0.6939 GB, free: 6.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.3015, allocations: 8.031 kB / 0.6939 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/0.3299, allocations: 4.055 MB / 0.6979 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.325/0.6549, allocations: 2.59 MB / 0.7004 GB, free: 55.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.6561, allocations: 1.035 MB / 0.7014 GB, free: 54.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.6576, allocations: 346.8 kB / 0.7018 GB, free: 54.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.671, allocations: 4.768 MB / 0.7064 GB, free: 53.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.87e-05/0.6711, allocations: 1.5 kB / 0.7064 GB, free: 53.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/0.6715, allocations: 142.8 kB / 0.7065 GB, free: 53.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.6716, allocations: 84.12 kB / 0.7066 GB, free: 53.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.6835, allocations: 4.254 MB / 0.7108 GB, free: 52.34 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.0352/0.7187, allocations: 13.07 MB / 0.7235 GB, free: 46.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.7319, allocations: 4.376 MB / 0.7278 GB, free: 44.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006429/0.7383, allocations: 2.518 MB / 0.7303 GB, free: 43.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/0.7391, allocations: 56.16 kB / 0.7303 GB, free: 43.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008725/0.7478, allocations: 3.221 MB / 0.7335 GB, free: 42.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=384): time 9.578e-06/0.7478, allocations: 0 / 0.7335 GB, free: 42.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=384): time 0.3016/1.049, allocations: 67.54 MB / 0.7994 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.05, allocations: 145.8 kB / 0.7996 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/1.056, allocations: 3.253 MB / 0.8027 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.057, allocations: 89.7 kB / 0.8028 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/1.06, allocations: 2.017 MB / 0.8048 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003602/1.063, allocations: 1.379 MB / 0.8061 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004481/1.068, allocations: 0.6666 MB / 0.8068 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.068, allocations: 301.1 kB / 0.8071 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00718/1.075, allocations: 2.647 MB / 0.8097 GB, free: 108 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00797/1.083, allocations: 3.278 MB / 0.8129 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08208/1.165, allocations: 19.18 MB / 0.8316 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/1.165, allocations: 4 kB / 0.8316 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.06723/1.232, allocations: 17.21 MB / 0.8484 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/1.233, allocations: 63.41 kB / 0.8485 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.883e-05/1.233, allocations: 16 kB / 0.8485 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02905/1.262, allocations: 7.158 MB / 0.8555 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/1.266, allocations: 0.6748 MB / 0.8561 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.107/1.373, allocations: 32.32 MB / 0.8877 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007156/1.38, allocations: 0.6221 MB / 0.8883 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.381, allocations: 156 kB / 0.8885 GB, free: 14.84 MB / 0.67 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (400): * Single equations (assignments): 397 * 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.003699/1.385, allocations: 0.6743 MB / 0.8891 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/1.387, allocations: 481.8 kB / 0.8896 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06492/1.452, allocations: 16.76 MB / 0.9059 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-05/1.452, allocations: 43.94 kB / 0.906 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001418/1.453, allocations: 28 kB / 0.906 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001546/1.453, allocations: 15.94 kB / 0.906 GB, free: 12.77 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.07556/1.528, allocations: 20.05 MB / 0.9256 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/1.528, allocations: 0 / 0.9256 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/1.531, allocations: 395.5 kB / 0.926 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02938/1.56, allocations: 7.367 MB / 0.9332 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001405/1.562, allocations: 79.92 kB / 0.9333 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09716/1.659, allocations: 30.68 MB / 0.9632 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.659, allocations: 0 / 0.9632 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07211/1.731, allocations: 20.19 MB / 0.9829 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/1.733, allocations: 0.5155 MB / 0.9834 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/1.735, allocations: 60 kB / 0.9835 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005958/1.741, allocations: 383.5 kB / 0.9839 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004359/1.745, allocations: 0.8191 MB / 0.9847 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001011/1.746, allocations: 95.98 kB / 0.9847 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004868/1.751, allocations: 2.113 MB / 0.9868 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.91e-07/1.751, allocations: 4 kB / 0.9868 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01029/1.762, allocations: 1.818 MB / 0.9886 GB, free: 7.91 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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.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.001572/1.763, allocations: 204.2 kB / 0.9888 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.3907/2.154, allocations: 8.854 MB / 0.9974 GB, free: 265 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/2.154, allocations: 4.922 kB / 0.9974 GB, free: 265 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02342/2.177, allocations: 5.934 MB / 1.003 GB, free: 264.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/2.181, allocations: 385.6 kB / 1.004 GB, free: 264.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/2.197, allocations: 8.134 MB / 1.012 GB, free: 261.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/2.2, allocations: 1.936 MB / 1.013 GB, free: 260.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002102/2.202, allocations: 376.5 kB / 1.014 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/2.203, allocations: 253.3 kB / 1.014 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of SimCode: time 1.143e-06/2.203, allocations: 0 / 1.014 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.126/2.329, allocations: 97.5 MB / 1.109 GB, free: 184 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.130473147029988] Failed to read output from testmodel.py, exit status != 0: 2.339094858034514 2.351122096 2.082485248 Calling exit ...