Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0009732/0.0009732, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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 0.9339/0.9339, allocations: 177.2 MB / 200.3 MB, free: 5.414 MB / 186.7 MB " [Timeout remaining time 179] 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.001265/0.001265, allocations: 159.1 kB / 256.9 MB, free: 12.85 MB / 250.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.2734/0.2734, allocations: 80.24 MB / 393.7 MB, free: 1.988 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 490.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3e-05, allocations: 8.844 kB / 490.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005484/0.005514, allocations: 6.285 MB / 496.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.009294, allocations: 2.011 MB / 498.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.009916, allocations: 8 kB / 498.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.01052, allocations: 249.8 kB / 498.8 MB, free: 2.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.01209, allocations: 0.8956 MB / 499.7 MB, free: 1.418 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/0.01306, allocations: 0.6491 MB / 0.4886 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01438, allocations: 1.666 MB / 0.4902 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.01468, allocations: 223.6 kB / 0.4905 GB, free: 14.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.01554, allocations: 0.9545 MB / 0.4914 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.01616, allocations: 0.7142 MB / 0.4921 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.01631, allocations: 136 kB / 0.4922 GB, free: 13.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.01672, allocations: 275.8 kB / 0.4925 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.01694, allocations: 359 kB / 0.4928 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.01726, allocations: 486.4 kB / 0.4933 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.0185, allocations: 1.282 MB / 0.4945 GB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0185, allocations: 0 / 0.4945 GB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01851, allocations: 0 / 0.4945 GB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.01852, allocations: 0 / 0.4945 GB, free: 10.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004615/0.02313, allocations: 3.027 MB / 0.4975 GB, free: 7.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.02317, allocations: 12.02 kB / 0.4975 GB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.02581, allocations: 0.9295 MB / 0.4984 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/0.02679, allocations: 0.7971 MB / 0.4992 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.02699, allocations: 333.3 kB / 0.4995 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.02711, allocations: 88.52 kB / 0.4996 GB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.02793, allocations: 0.6962 MB / 0.5003 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.02794, allocations: 0.5625 kB / 0.5003 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.028, allocations: 32 kB / 0.5003 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.02801, allocations: 29.05 kB / 0.5003 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005564/0.02857, allocations: 407.3 kB / 0.5007 GB, free: 4.211 MB / 378.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.003549/0.03212, allocations: 2.608 MB / 0.5033 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.03436, allocations: 1.201 MB / 0.5044 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.03468, allocations: 287.9 kB / 0.5047 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.03477, allocations: 24.98 kB / 0.5047 GB, free: 16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005004/0.03528, allocations: 0.4945 MB / 0.5052 GB, free: 15.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.476e-06/0.03528, allocations: 0 / 0.5052 GB, free: 15.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.01075/0.04603, allocations: 4.79 MB / 0.5099 GB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.04609, allocations: 119.8 kB / 0.51 GB, free: 10.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.0472, allocations: 0.973 MB / 0.511 GB, free: 9.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.04733, allocations: 49.7 kB / 0.511 GB, free: 9.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.04771, allocations: 0.5703 MB / 0.5116 GB, free: 8.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.04805, allocations: 380.8 kB / 0.5119 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.04848, allocations: 309 kB / 0.5122 GB, free: 8.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.04861, allocations: 480.7 kB / 0.5127 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.04928, allocations: 411.2 kB / 0.5131 GB, free: 7.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.05008, allocations: 0.6297 MB / 0.5137 GB, free: 6.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.05244, allocations: 1.606 MB / 0.5153 GB, free: 4.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.05245, allocations: 8 kB / 0.5153 GB, free: 4.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006951/0.0594, allocations: 3.059 MB / 0.5183 GB, free: 1.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.05945, allocations: 59.41 kB / 0.5183 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.05947, allocations: 4 kB / 0.5183 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00563/0.0651, allocations: 1.664 MB / 0.5199 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.06621, allocations: 287.6 kB / 0.5202 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007771/0.07398, allocations: 4.389 MB / 0.5245 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.07532, allocations: 167.1 kB / 0.5247 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.07543, allocations: 43.97 kB / 0.5247 GB, free: 11.07 MB / 410.7 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (166): * Single equations (assignments): 163 * 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): 1 system {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000501/0.07593, allocations: 277.3 kB / 0.525 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.07618, allocations: 171 kB / 0.5251 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005771/0.08195, allocations: 2.467 MB / 0.5275 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.08196, allocations: 11.94 kB / 0.5276 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.08197, allocations: 12 kB / 0.5276 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.08199, allocations: 3.984 kB / 0.5276 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007553/0.08954, allocations: 3.432 MB / 0.5309 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.08954, allocations: 0 / 0.5309 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.08997, allocations: 103.9 kB / 0.531 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005066/0.09503, allocations: 1.612 MB / 0.5326 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.09513, allocations: 20 kB / 0.5326 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007954/0.1031, allocations: 6.228 MB / 0.5387 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1031, allocations: 3.938 kB / 0.5387 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006456/0.1095, allocations: 2.87 MB / 0.5415 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.1099, allocations: 150.9 kB / 0.5416 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.1101, allocations: 16 kB / 0.5417 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.1107, allocations: 83.86 kB / 0.5417 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/0.1111, allocations: 196.6 kB / 0.5419 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.1112, allocations: 19.98 kB / 0.5419 GB, free: 9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004364/0.1116, allocations: 0.5906 MB / 0.5425 GB, free: 8.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1116, allocations: 0 / 0.5425 GB, free: 8.402 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001197/0.1128, allocations: 495.6 kB / 0.543 GB, free: 7.918 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.113, allocations: 139.1 kB / 0.5431 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.1156, allocations: 1.782 MB / 0.5449 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1156, allocations: 0 / 0.5449 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.1172, allocations: 1.28 MB / 0.5461 GB, free: 4.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.1177, allocations: 132.5 kB / 0.5462 GB, free: 4.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.1207, allocations: 2.176 MB / 0.5484 GB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.1209, allocations: 245.6 kB / 0.5486 GB, free: 1.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.1211, allocations: 112.1 kB / 0.5487 GB, free: 1.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.1214, allocations: 214.2 kB / 0.5489 GB, free: 1.641 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1214, allocations: 3.938 kB / 0.5489 GB, free: 1.637 MB / 426.7 MB Notification: Performance of Templates: time 0.1958/0.3172, allocations: 29.01 MB / 0.5772 GB, free: 89.02 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.977395054884255]