Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001532/0.001532, 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.38/1.38, 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.001487/0.001487, allocations: 215.8 kB / 310 MB, free: 3.043 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5774/0.5774, allocations: 107.2 MB / 473.6 MB, free: 29.77 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_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.002409/0.002409, allocations: 98.05 kB / 0.6344 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1213, allocations: 80.14 MB / 0.7127 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01966/0.141, allocations: 18.41 MB / 0.7306 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1518, allocations: 4.819 MB / 0.7353 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.1551, allocations: 47.94 kB / 0.7354 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.158, allocations: 0.875 MB / 0.7362 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007398/0.1654, allocations: 2.279 MB / 0.7385 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.171, allocations: 2.051 MB / 0.7405 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008941/0.18, allocations: 5.736 MB / 0.7461 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.1834, allocations: 0.861 MB / 0.7469 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005031/0.1884, allocations: 2.407 MB / 0.7493 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.1928, allocations: 2.658 MB / 0.7519 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.1945, allocations: 436 kB / 0.7523 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.1967, allocations: 0.5975 MB / 0.7528 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001799/0.1985, allocations: 1.155 MB / 0.754 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003609/0.2021, allocations: 2.121 MB / 0.756 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008651/0.2107, allocations: 6.321 MB / 0.7622 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2107, allocations: 0 / 0.7622 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2107, allocations: 0 / 0.7622 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002067/0.2109, allocations: 0 / 0.7622 GB, free: 4.066 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03181/0.2427, allocations: 9.899 MB / 0.7719 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2428, allocations: 8.031 kB / 0.7719 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/0.2691, allocations: 4.059 MB / 0.7759 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/0.2749, allocations: 2.57 MB / 0.7784 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/0.2761, allocations: 1.033 MB / 0.7794 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.2773, allocations: 348 kB / 0.7797 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.2885, allocations: 4.752 MB / 0.7844 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.2885, allocations: 3.938 kB / 0.7844 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/0.2889, allocations: 140 kB / 0.7845 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.279e-05/0.289, allocations: 92 kB / 0.7846 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009851/0.2989, allocations: 4.249 MB / 0.7887 GB, free: 8.531 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.03424/0.3331, allocations: 13 MB / 0.8014 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.346, allocations: 4.357 MB / 0.8057 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006336/0.3524, allocations: 2.493 MB / 0.8081 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.353, allocations: 66.94 kB / 0.8082 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008011/0.361, allocations: 3.191 MB / 0.8113 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 9.738e-06/0.361, allocations: 0 / 0.8113 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.5595/0.9205, allocations: 67.98 MB / 0.8777 GB, free: 44.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.9206, allocations: 141.8 kB / 0.8778 GB, free: 43.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/0.9245, allocations: 3.223 MB / 0.881 GB, free: 40.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008042/0.9253, allocations: 85.7 kB / 0.881 GB, free: 40.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.9264, allocations: 2.009 MB / 0.883 GB, free: 39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.928, allocations: 1.369 MB / 0.8843 GB, free: 37.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002364/0.9304, allocations: 0.6586 MB / 0.885 GB, free: 37.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.9304, allocations: 305.1 kB / 0.8853 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/0.9355, allocations: 2.619 MB / 0.8878 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/0.9409, allocations: 3.247 MB / 0.891 GB, free: 30.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06225/1.003, allocations: 18.93 MB / 0.9095 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/1.003, allocations: 5.688 kB / 0.9095 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05252/1.056, allocations: 16.85 MB / 0.926 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/1.056, allocations: 64.83 kB / 0.926 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/1.056, allocations: 12 kB / 0.926 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02668/1.082, allocations: 7.229 MB / 0.9331 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.086, allocations: 0.6514 MB / 0.9337 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09461/1.18, allocations: 32.72 MB / 0.9657 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00578/1.186, allocations: 0.6159 MB / 0.9663 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009017/1.187, allocations: 155 kB / 0.9664 GB, free: 1.184 MB / 0.6231 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.002506/1.19, allocations: 0.6729 MB / 0.9671 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.191, allocations: 476.9 kB / 0.9675 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05766/1.249, allocations: 16.73 MB / 0.9839 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-05/1.249, allocations: 36 kB / 0.9839 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-05/1.249, allocations: 32 kB / 0.9839 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.325e-05/1.249, allocations: 21.12 kB / 0.984 GB, free: 15.14 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.06533/1.314, allocations: 20 MB / 1.003 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.314, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.317, allocations: 395.4 kB / 1.004 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02646/1.343, allocations: 7.366 MB / 1.011 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008488/1.344, allocations: 79.97 kB / 1.011 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08393/1.428, allocations: 30.69 MB / 1.041 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.428, allocations: 0 / 1.041 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06292/1.491, allocations: 20.15 MB / 1.061 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.492, allocations: 0.5003 MB / 1.061 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.493, allocations: 63.75 kB / 1.061 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004534/1.498, allocations: 376.1 kB / 1.062 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002846/1.501, allocations: 0.8153 MB / 1.062 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/1.501, allocations: 99.97 kB / 1.063 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003127/1.504, allocations: 2.089 MB / 1.065 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.504, allocations: 0 / 1.065 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004866/1.509, allocations: 1.81 MB / 1.066 GB, free: 10.56 MB / 0.7325 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.0005341/1.51, allocations: 213.2 kB / 1.067 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02499/1.535, allocations: 8.939 MB / 1.075 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.535, allocations: 0 / 1.075 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01891/1.553, allocations: 5.906 MB / 1.081 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/1.556, allocations: 387 kB / 1.081 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/1.57, allocations: 8.068 MB / 1.089 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.572, allocations: 1.927 MB / 1.091 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.574, allocations: 279.3 kB / 1.091 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/1.574, allocations: 0 / 1.091 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of Templates: time 0.3763/1.95, allocations: 91.15 MB / 1.181 GB, free: 211 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.868534083012491] Failed to read output from testmodel.py, exit status != 0: 1.9580651530995965 1.967028359 1.75403211 Calling exit ...