Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.00145/0.00145, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.377/1.377, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001469/0.001469, allocations: 210 kB / 310 MB, free: 3.059 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.5786/0.5786, allocations: 107.3 MB / 473.7 MB, free: 29.62 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.002456/0.002456, allocations: 87.3 kB / 0.6346 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1335, allocations: 80.18 MB / 0.7129 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01967/0.1532, allocations: 18.61 MB / 0.731 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.165, allocations: 4.885 MB / 0.7358 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.1682, allocations: 44 kB / 0.7359 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.1708, allocations: 0.8789 MB / 0.7367 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.178, allocations: 2.303 MB / 0.739 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005096/0.1831, allocations: 2.065 MB / 0.741 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007801/0.1909, allocations: 5.83 MB / 0.7467 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.1924, allocations: 0.8689 MB / 0.7475 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.1958, allocations: 2.435 MB / 0.7499 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.1996, allocations: 2.709 MB / 0.7525 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009293/0.2005, allocations: 448 kB / 0.753 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.2019, allocations: 0.6013 MB / 0.7536 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.2029, allocations: 1.171 MB / 0.7547 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.205, allocations: 2.144 MB / 0.7568 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007036/0.2121, allocations: 6.391 MB / 0.763 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2121, allocations: 8 kB / 0.763 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2121, allocations: 0 / 0.763 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001204/0.2122, allocations: 0 / 0.763 GB, free: 3.285 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03084/0.243, allocations: 9.993 MB / 0.7728 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2431, allocations: 12.03 kB / 0.7728 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02669/0.2698, allocations: 4.059 MB / 0.7768 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.2761, allocations: 2.614 MB / 0.7793 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/0.2772, allocations: 1.037 MB / 0.7803 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.2782, allocations: 352 kB / 0.7807 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.2886, allocations: 4.78 MB / 0.7854 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.197e-05/0.2887, allocations: 0 / 0.7854 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/0.2891, allocations: 144 kB / 0.7855 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.451e-05/0.2891, allocations: 84 kB / 0.7856 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009427/0.2986, allocations: 4.265 MB / 0.7897 GB, free: 7.57 MB / 0.5606 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.03298/0.3315, allocations: 13.08 MB / 0.8025 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.3441, allocations: 4.391 MB / 0.8068 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006134/0.3503, allocations: 2.515 MB / 0.8093 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.3507, allocations: 58.97 kB / 0.8093 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2871/0.6378, allocations: 3.222 MB / 0.8125 GB, free: 85.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 8.325e-06/0.6379, allocations: 0 / 0.8125 GB, free: 85.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2699/0.9077, allocations: 66.59 MB / 0.8775 GB, free: 43.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.9078, allocations: 145.8 kB / 0.8776 GB, free: 43.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.9111, allocations: 3.266 MB / 0.8808 GB, free: 40.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/0.9119, allocations: 91.45 kB / 0.8809 GB, free: 40.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009204/0.9128, allocations: 2.011 MB / 0.8829 GB, free: 38.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.9138, allocations: 1.39 MB / 0.8842 GB, free: 37.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.9149, allocations: 0.6745 MB / 0.8849 GB, free: 36.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.915, allocations: 305.1 kB / 0.8852 GB, free: 36.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/0.9195, allocations: 2.659 MB / 0.8878 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004793/0.9243, allocations: 3.291 MB / 0.891 GB, free: 30.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06235/0.9867, allocations: 19.32 MB / 0.9099 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.9867, allocations: 4 kB / 0.9099 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.05197/1.039, allocations: 17.15 MB / 0.9266 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/1.039, allocations: 67.41 kB / 0.9267 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/1.039, allocations: 16 kB / 0.9267 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02694/1.066, allocations: 7.295 MB / 0.9338 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/1.07, allocations: 0.6709 MB / 0.9345 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09012/1.16, allocations: 32.86 MB / 0.9665 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006472/1.166, allocations: 0.6213 MB / 0.9672 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008858/1.167, allocations: 159.9 kB / 0.9673 GB, free: 15.75 MB / 0.6387 GB 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 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 (402): * Single equations (assignments): 399 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002183/1.169, allocations: 0.6705 MB / 0.968 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.17, allocations: 480.9 kB / 0.9684 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05572/1.226, allocations: 16.79 MB / 0.9848 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/1.226, allocations: 40 kB / 0.9849 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.236e-05/1.226, allocations: 28 kB / 0.9849 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.441e-05/1.226, allocations: 19.92 kB / 0.9849 GB, free: 13.65 MB / 0.6544 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.06182/1.288, allocations: 20.07 MB / 1.004 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.288, allocations: 4 kB / 1.004 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.29, allocations: 395.5 kB / 1.005 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0255/1.316, allocations: 7.34 MB / 1.012 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006436/1.317, allocations: 73.62 kB / 1.012 GB, free: 1.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08023/1.397, allocations: 30.72 MB / 1.042 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.397, allocations: 4 kB / 1.042 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06307/1.46, allocations: 20.23 MB / 1.062 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.461, allocations: 0.5106 MB / 1.062 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007725/1.462, allocations: 61.41 kB / 1.062 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/1.466, allocations: 383.5 kB / 1.063 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00285/1.469, allocations: 0.8114 MB / 1.064 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/1.469, allocations: 99.98 kB / 1.064 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003168/1.472, allocations: 2.129 MB / 1.066 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.472, allocations: 0 / 1.066 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004849/1.477, allocations: 1.827 MB / 1.068 GB, free: 8.855 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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.000545/1.478, allocations: 202.7 kB / 1.068 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02574/1.504, allocations: 9.045 MB / 1.077 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.504, allocations: 0 / 1.077 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01906/1.523, allocations: 5.932 MB / 1.082 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.525, allocations: 386.3 kB / 1.083 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.541, allocations: 8.289 MB / 1.091 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/1.543, allocations: 1.948 MB / 1.093 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.544, allocations: 279.3 kB / 1.093 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of SimCode: time 1.112e-06/1.544, allocations: 0 / 1.093 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of Templates: time 0.3555/1.9, allocations: 91.95 MB / 1.183 GB, free: 208.7 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.973892025183886] Failed to read output from testmodel.py, exit status != 0: 1.9080392317846417 1.916558776 1.702351746 Calling exit ...