Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.001388/0.001388, allocations: 92.7 kB / 19.44 MB, free: 324 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.509/1.509, allocations: 177.1 MB / 199.7 MB, free: 5.781 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.001631/0.001631, allocations: 160.6 kB / 256.3 MB, free: 13.14 MB / 250.7 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.4707/0.4707, allocations: 80.38 MB / 393.1 MB, free: 2.141 MB / 314.7 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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 489.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.902e-05, allocations: 6.031 kB / 489.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01608/0.01611, allocations: 11.74 MB / 0.4893 GB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009077/0.02519, allocations: 3.451 MB / 0.4927 GB, free: 12.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.0274, allocations: 28 kB / 0.4927 GB, free: 12.55 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.02897, allocations: 0.5575 MB / 0.4932 GB, free: 11.99 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.03425, allocations: 1.604 MB / 0.4948 GB, free: 10.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.03817, allocations: 1.527 MB / 0.4963 GB, free: 8.902 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006198/0.04437, allocations: 3.743 MB / 0.4999 GB, free: 5.145 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.04567, allocations: 0.5775 MB / 0.5005 GB, free: 4.508 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.04976, allocations: 2.131 MB / 0.5026 GB, free: 2.367 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.05214, allocations: 1.55 MB / 0.5041 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006063/0.05275, allocations: 288 kB / 0.5044 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.05381, allocations: 447.8 kB / 0.5048 GB, free: 96 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008882/0.0547, allocations: 0.7778 MB / 0.5056 GB, free: 15.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.05621, allocations: 1.074 MB / 0.5066 GB, free: 14.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005872/0.06208, allocations: 4.091 MB / 0.5106 GB, free: 10.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.06209, allocations: 7.984 kB / 0.5106 GB, free: 10.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.06209, allocations: 0 / 0.5106 GB, free: 10.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.81e-05/0.06218, allocations: 0 / 0.5106 GB, free: 10.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02686/0.08904, allocations: 7.335 MB / 0.5178 GB, free: 2.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.08908, allocations: 8.031 kB / 0.5178 GB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.105, allocations: 2.698 MB / 0.5204 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.1095, allocations: 1.836 MB / 0.5222 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/0.1108, allocations: 0.8335 MB / 0.523 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006018/0.1114, allocations: 220 kB / 0.5232 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/0.1188, allocations: 3.086 MB / 0.5262 GB, free: 9.707 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.1189, allocations: 0 / 0.5262 GB, free: 9.707 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.1192, allocations: 83.98 kB / 0.5263 GB, free: 9.625 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.1192, allocations: 52 kB / 0.5264 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/0.1262, allocations: 2.826 MB / 0.5291 GB, free: 6.719 MB / 458.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.02069/0.1469, allocations: 7.496 MB / 0.5365 GB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.1588, allocations: 3.564 MB / 0.5399 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004619/0.1634, allocations: 1.83 MB / 0.5417 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.1637, allocations: 53.98 kB / 0.5418 GB, free: 9.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005576/0.1692, allocations: 2.286 MB / 0.544 GB, free: 7.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 5.099e-06/0.1692, allocations: 0 / 0.544 GB, free: 7.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.1335/0.3028, allocations: 28.08 MB / 0.5714 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000403/0.3032, allocations: 180.2 kB / 0.5716 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.3072, allocations: 2.24 MB / 0.5738 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005616/0.3078, allocations: 69.7 kB / 0.5739 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.309, allocations: 1.197 MB / 0.575 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.3104, allocations: 0.9024 MB / 0.5759 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.3117, allocations: 0.5344 MB / 0.5764 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3118, allocations: 301.1 kB / 0.5767 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005314/0.3171, allocations: 2.047 MB / 0.5787 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005503/0.3226, allocations: 2.413 MB / 0.5811 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06288/0.3855, allocations: 14.29 MB / 0.595 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.3855, allocations: 0 / 0.595 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.2022/0.5877, allocations: 12.63 MB / 0.6074 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.999e-05/0.5878, allocations: 119 kB / 0.6075 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.5878, allocations: 5.719 kB / 0.6075 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03405/0.6218, allocations: 7.6 MB / 0.6149 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/0.6253, allocations: 0.5607 MB / 0.6154 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05368/0.679, allocations: 22.59 MB / 0.6375 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.6831, allocations: 495.8 kB / 0.638 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.6834, allocations: 112 kB / 0.6381 GB, free: 145.5 MB / 0.5105 GB 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (320): * Single equations (assignments): 315 * 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.001144/0.6845, allocations: 0.5227 MB / 0.6386 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006794/0.6852, allocations: 393.9 kB / 0.639 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03721/0.7224, allocations: 11.86 MB / 0.6506 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.7224, allocations: 24 kB / 0.6506 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-05/0.7225, allocations: 23.98 kB / 0.6506 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.348e-05/0.7225, allocations: 11.95 kB / 0.6506 GB, free: 132.5 MB / 0.5105 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.04197/0.7645, allocations: 14.23 MB / 0.6645 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.7645, allocations: 0 / 0.6645 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.7661, allocations: 243.7 kB / 0.6647 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03207/0.7981, allocations: 7.667 MB / 0.6722 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000658/0.7988, allocations: 55.97 kB / 0.6723 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05299/0.8518, allocations: 24.09 MB / 0.6958 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8518, allocations: 0 / 0.6958 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04274/0.8945, allocations: 14.39 MB / 0.7099 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008773/0.8954, allocations: 348 kB / 0.7102 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/0.8959, allocations: 44 kB / 0.7102 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/0.8988, allocations: 299.6 kB / 0.7105 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002087/0.9009, allocations: 0.6073 MB / 0.7111 GB, free: 70.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/0.9011, allocations: 63.98 kB / 0.7112 GB, free: 70.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001878/0.903, allocations: 1.483 MB / 0.7126 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.903, allocations: 0 / 0.7126 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003041/0.906, allocations: 1.173 MB / 0.7138 GB, free: 67.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004376/0.9065, allocations: 181 kB / 0.7139 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01649/0.9229, allocations: 6.453 MB / 0.7202 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9229, allocations: 1.75 kB / 0.7202 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01262/0.9356, allocations: 4.275 MB / 0.7244 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.9381, allocations: 339.3 kB / 0.7247 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008373/0.9465, allocations: 5.394 MB / 0.73 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/0.9474, allocations: 1.261 MB / 0.7312 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001074/0.9485, allocations: 258.2 kB / 0.7315 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.949, allocations: 184.4 kB / 0.7317 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/0.949, allocations: 0.7656 kB / 0.7317 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.2527/1.202, allocations: 69.29 MB / 0.7993 GB, free: 168.9 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.817627659998834]