Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001484/0.001484, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.491/1.491, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001682/0.001682, allocations: 213.3 kB / 310 MB, free: 3.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4978/0.4978, allocations: 79.74 MB / 446.2 MB, free: 38.88 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.002611/0.002611, allocations: 87.31 kB / 0.5942 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1326, allocations: 73.3 MB / 0.6658 GB, free: 288 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01592/0.1485, allocations: 13.67 MB / 0.6791 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00965/0.1582, allocations: 3.523 MB / 0.6826 GB, free: 324 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.1619, allocations: 31.94 kB / 0.6826 GB, free: 292 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.1645, allocations: 0.5615 MB / 0.6832 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.1716, allocations: 1.585 MB / 0.6847 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.1765, allocations: 1.512 MB / 0.6862 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00799/0.1845, allocations: 3.787 MB / 0.6899 GB, free: 8.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.1867, allocations: 0.6088 MB / 0.6905 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.1904, allocations: 1.587 MB / 0.692 GB, free: 6.582 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/0.1941, allocations: 1.983 MB / 0.694 GB, free: 4.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.1956, allocations: 284 kB / 0.6942 GB, free: 4.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.1976, allocations: 455.8 kB / 0.6947 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.1992, allocations: 0.7662 MB / 0.6954 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00338/0.2026, allocations: 1.631 MB / 0.697 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00827/0.2108, allocations: 4.018 MB / 0.7009 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.2109, allocations: 3.984 kB / 0.7009 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2109, allocations: 0 / 0.7009 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001927/0.211, allocations: 4 kB / 0.7009 GB, free: 13.41 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02884/0.2399, allocations: 7.376 MB / 0.7081 GB, free: 5.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2399, allocations: 12.03 kB / 0.7082 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.2562, allocations: 2.32 MB / 0.7104 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/0.2617, allocations: 1.809 MB / 0.7122 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/0.2628, allocations: 0.8217 MB / 0.713 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.2639, allocations: 220 kB / 0.7132 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009623/0.2735, allocations: 3.027 MB / 0.7162 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.21e-05/0.2736, allocations: 3.938 kB / 0.7162 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/0.2742, allocations: 91.94 kB / 0.7162 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.609e-05/0.2743, allocations: 48 kB / 0.7163 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007956/0.2823, allocations: 2.784 MB / 0.719 GB, free: 10.51 MB / 0.4981 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.02666/0.3089, allocations: 9.713 MB / 0.7285 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.3212, allocations: 3.54 MB / 0.732 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00505/0.3263, allocations: 1.768 MB / 0.7337 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.3268, allocations: 45.88 kB / 0.7337 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006129/0.3329, allocations: 2.226 MB / 0.7359 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 9.839e-06/0.3329, allocations: 3.938 kB / 0.7359 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=247): time 0.1341/0.467, allocations: 29.14 MB / 0.7644 GB, free: 11.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.4672, allocations: 184.2 kB / 0.7645 GB, free: 11.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004799/0.472, allocations: 2.285 MB / 0.7668 GB, free: 8.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007508/0.4728, allocations: 73.69 kB / 0.7668 GB, free: 8.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.4741, allocations: 1.185 MB / 0.768 GB, free: 7.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/0.4758, allocations: 0.914 MB / 0.7689 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002687/0.4785, allocations: 0.5502 MB / 0.7694 GB, free: 6.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4787, allocations: 317.1 kB / 0.7697 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/0.4839, allocations: 1.947 MB / 0.7716 GB, free: 3.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/0.4896, allocations: 2.318 MB / 0.7739 GB, free: 1.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06213/0.5517, allocations: 14.31 MB / 0.7879 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.233e-05/0.5518, allocations: 8 kB / 0.7879 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04613/0.5979, allocations: 12.21 MB / 0.7998 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.598, allocations: 114.8 kB / 0.7999 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.5981, allocations: 11.94 kB / 0.7999 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01957/0.6176, allocations: 5.324 MB / 0.8051 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.6209, allocations: 0.5578 MB / 0.8057 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3946/1.016, allocations: 23.41 MB / 0.8285 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/1.02, allocations: 497.9 kB / 0.829 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006772/1.021, allocations: 116.3 kB / 0.8291 GB, free: 113.2 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001336/1.022, allocations: 0.5269 MB / 0.8296 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.023, allocations: 312.3 kB / 0.8299 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03707/1.06, allocations: 11.82 MB / 0.8415 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.06, allocations: 23.69 kB / 0.8415 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.6e-05/1.06, allocations: 19.44 kB / 0.8415 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/1.06, allocations: 16.78 kB / 0.8415 GB, free: 110.3 MB / 0.5762 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.04168/1.102, allocations: 15.37 MB / 0.8565 GB, free: 97.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.102, allocations: 0 / 0.8565 GB, free: 97.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.103, allocations: 255.7 kB / 0.8568 GB, free: 97.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01677/1.12, allocations: 5.277 MB / 0.8619 GB, free: 92.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/1.121, allocations: 51.98 kB / 0.862 GB, free: 92.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05361/1.174, allocations: 24.68 MB / 0.8861 GB, free: 67.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.174, allocations: 1.312 kB / 0.8861 GB, free: 67.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04206/1.216, allocations: 14.19 MB / 0.8999 GB, free: 53.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009326/1.217, allocations: 343.9 kB / 0.9003 GB, free: 52.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/1.218, allocations: 48 kB / 0.9003 GB, free: 52.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.221, allocations: 299.6 kB / 0.9006 GB, free: 52.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001842/1.223, allocations: 0.6033 MB / 0.9012 GB, free: 51.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.223, allocations: 63.98 kB / 0.9013 GB, free: 51.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001906/1.225, allocations: 1.515 MB / 0.9027 GB, free: 50.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.225, allocations: 4.766 kB / 0.9027 GB, free: 50.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003339/1.228, allocations: 1.174 MB / 0.9039 GB, free: 49.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003991/1.229, allocations: 173 kB / 0.904 GB, free: 48.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01609/1.245, allocations: 6.404 MB / 0.9103 GB, free: 42.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.245, allocations: 2.188 kB / 0.9103 GB, free: 42.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/1.257, allocations: 4.228 MB / 0.9144 GB, free: 38.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/1.259, allocations: 269.5 kB / 0.9147 GB, free: 37.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009016/1.268, allocations: 5.454 MB / 0.92 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/1.269, allocations: 1.806 MB / 0.9218 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/1.27, allocations: 186.7 kB / 0.922 GB, free: 30.44 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/1.27, allocations: 0 / 0.922 GB, free: 30.44 MB / 0.5762 GB Notification: Performance of Templates: time 0.08253/1.353, allocations: 64.62 MB / 0.9851 GB, free: 13.77 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.71858268789947] Failed to read output from testmodel.py, exit status != 0: 1.363438094034791 1.380743683 1.166083826 Calling exit ...