Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.00182/0.00182, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.542/1.542, allocations: 177.1 MB / 199.7 MB, free: 4.816 MB / 186.7 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.002229/0.002229, allocations: 168.7 kB / 256.3 MB, free: 220 kB / 234.7 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.642/0.642, allocations: 80.25 MB / 393 MB, free: 10.04 MB / 314.7 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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 489.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.691e-05, allocations: 6.109 kB / 489.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2736/0.2737, allocations: 12.9 MB / 0.4903 GB, free: 44.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009279/0.2829, allocations: 3.502 MB / 0.4937 GB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.2871, allocations: 29.16 kB / 0.4937 GB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.2899, allocations: 0.5694 MB / 0.4943 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008808/0.2987, allocations: 1.611 MB / 0.4959 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.3037, allocations: 1.53 MB / 0.4974 GB, free: 41.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006353/0.3101, allocations: 3.796 MB / 0.5011 GB, free: 39.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.3115, allocations: 0.5807 MB / 0.5016 GB, free: 39.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.316, allocations: 2.166 MB / 0.5037 GB, free: 38.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.3184, allocations: 1.597 MB / 0.5053 GB, free: 38.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.319, allocations: 294.2 kB / 0.5056 GB, free: 38.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.3202, allocations: 453.8 kB / 0.506 GB, free: 38.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.3207, allocations: 0.7902 MB / 0.5068 GB, free: 37.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.3218, allocations: 1.097 MB / 0.5079 GB, free: 36.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.3267, allocations: 4.15 MB / 0.5119 GB, free: 35.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3268, allocations: 7.656 kB / 0.5119 GB, free: 35.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3268, allocations: 0 / 0.5119 GB, free: 35.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001499/0.3269, allocations: 0 / 0.5119 GB, free: 35.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02533/0.3522, allocations: 8.205 MB / 0.5199 GB, free: 31.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3523, allocations: 8.375 kB / 0.5199 GB, free: 31.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.3677, allocations: 2.732 MB / 0.5226 GB, free: 31.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.3721, allocations: 1.843 MB / 0.5244 GB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006407/0.3728, allocations: 0.8157 MB / 0.5252 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/0.3734, allocations: 222.4 kB / 0.5254 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006511/0.3799, allocations: 3.096 MB / 0.5284 GB, free: 28.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/0.38, allocations: 1.062 kB / 0.5284 GB, free: 28.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.3802, allocations: 85.42 kB / 0.5285 GB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.3802, allocations: 50.91 kB / 0.5286 GB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/0.3866, allocations: 2.696 MB / 0.5312 GB, free: 27.2 MB / 410.7 MB 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.01994/0.4065, allocations: 8.117 MB / 0.5391 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009169/0.4157, allocations: 3.138 MB / 0.5422 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00393/0.4196, allocations: 1.797 MB / 0.544 GB, free: 21.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.42, allocations: 53.98 kB / 0.544 GB, free: 20.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004082/0.424, allocations: 2.301 MB / 0.5463 GB, free: 18.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.819e-06/0.424, allocations: 0 / 0.5463 GB, free: 18.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.1064/0.5305, allocations: 24.29 MB / 0.57 GB, free: 10.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.5306, allocations: 192.1 kB / 0.5702 GB, free: 10.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005089/0.5357, allocations: 2.678 MB / 0.5728 GB, free: 7.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000771/0.5365, allocations: 69.7 kB / 0.5728 GB, free: 7.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.538, allocations: 1.36 MB / 0.5742 GB, free: 5.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001803/0.5398, allocations: 0.9649 MB / 0.5751 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.5414, allocations: 0.659 MB / 0.5758 GB, free: 4.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.5416, allocations: 480.8 kB / 0.5762 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004941/0.5466, allocations: 1.938 MB / 0.5781 GB, free: 1.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005923/0.5525, allocations: 2.469 MB / 0.5805 GB, free: 15.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/0.5695, allocations: 7.048 MB / 0.5874 GB, free: 7.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/0.5696, allocations: 8 kB / 0.5874 GB, free: 7.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.04276/0.6123, allocations: 11.33 MB / 0.5985 GB, free: 12.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.6125, allocations: 118.8 kB / 0.5986 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.6125, allocations: 8 kB / 0.5986 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0334/0.6459, allocations: 6.548 MB / 0.605 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/0.6496, allocations: 0.5773 MB / 0.6056 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0653/0.7149, allocations: 21.75 MB / 0.6268 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/0.72, allocations: 407.4 kB / 0.6272 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006606/0.7206, allocations: 120 kB / 0.6273 GB, free: 14.83 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 (328): * Single equations (assignments): 323 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001995/0.7226, allocations: 0.569 MB / 0.6278 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/0.7238, allocations: 386 kB / 0.6282 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0405/0.7643, allocations: 10.56 MB / 0.6385 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/0.7644, allocations: 24 kB / 0.6386 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-05/0.7644, allocations: 20 kB / 0.6386 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-05/0.7645, allocations: 19.89 kB / 0.6386 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04706/0.8116, allocations: 13.47 MB / 0.6517 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.8116, allocations: 0 / 0.6517 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.8135, allocations: 247.7 kB / 0.652 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03279/0.8463, allocations: 6.6 MB / 0.6584 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009187/0.8472, allocations: 55.98 kB / 0.6585 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06492/0.9122, allocations: 24.49 MB / 0.6824 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9122, allocations: 3.984 kB / 0.6824 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2505/1.163, allocations: 13.01 MB / 0.6951 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.164, allocations: 341 kB / 0.6954 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.165, allocations: 46.31 kB / 0.6955 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/1.168, allocations: 225.1 kB / 0.6957 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002037/1.17, allocations: 0.608 MB / 0.6963 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003502/1.171, allocations: 69 kB / 0.6964 GB, free: 161 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002393/1.173, allocations: 1.629 MB / 0.6979 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/1.173, allocations: 0 / 0.6979 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004829/1.178, allocations: 1.177 MB / 0.6991 GB, free: 160.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0006756/1.178, allocations: 175.4 kB / 0.6993 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01713/1.196, allocations: 6.382 MB / 0.7055 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.196, allocations: 0 / 0.7055 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/1.209, allocations: 4.293 MB / 0.7097 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.213, allocations: 324.7 kB / 0.71 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.224, allocations: 5.486 MB / 0.7154 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.226, allocations: 1.261 MB / 0.7166 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001458/1.227, allocations: 259.7 kB / 0.7168 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006944/1.228, allocations: 179.7 kB / 0.717 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/1.228, allocations: 0 / 0.717 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.08998/1.318, allocations: 73.2 MB / 0.7885 GB, free: 98.52 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.19012918707449]