Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002302/0.002302, allocations: 85.48 kB / 19.44 MB, free: 344 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.631/1.631, allocations: 177.1 MB / 199.7 MB, free: 5.828 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.002014/0.002014, allocations: 167.7 kB / 256.3 MB, free: 13.18 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.5388/0.5388, allocations: 80.25 MB / 393 MB, free: 2.215 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 489.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.115e-05, allocations: 3.031 kB / 489.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.009354/0.009385, allocations: 6.326 MB / 495.4 MB, free: 5.555 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.01488, allocations: 1.983 MB / 497.4 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009733/0.01585, allocations: 15.94 kB / 497.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.01669, allocations: 241.9 kB / 497.7 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.01941, allocations: 0.8826 MB / 498.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.02097, allocations: 0.649 MB / 499.2 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.02332, allocations: 1.636 MB / 0.4891 GB, free: 172 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.02382, allocations: 215 kB / 0.4893 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.02529, allocations: 0.9377 MB / 0.4902 GB, free: 15.01 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.0264, allocations: 0.697 MB / 0.4909 GB, free: 14.31 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.02663, allocations: 132 kB / 0.491 GB, free: 14.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.02737, allocations: 279.7 kB / 0.4913 GB, free: 13.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004521/0.02782, allocations: 350.5 kB / 0.4916 GB, free: 13.56 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.02853, allocations: 478.4 kB / 0.4921 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.03151, allocations: 1.784 MB / 0.4938 GB, free: 11.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.03152, allocations: 0 / 0.4938 GB, free: 11.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.03152, allocations: 0 / 0.4938 GB, free: 11.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.03154, allocations: 5.688 kB / 0.4938 GB, free: 11.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01085/0.0424, allocations: 3.119 MB / 0.4969 GB, free: 8.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.04245, allocations: 12.03 kB / 0.4969 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.04779, allocations: 0.9358 MB / 0.4978 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.04991, allocations: 0.8572 MB / 0.4986 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.05031, allocations: 333.3 kB / 0.4989 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.05051, allocations: 91.94 kB / 0.499 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.05311, allocations: 1.125 MB / 0.5001 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.05314, allocations: 0 / 0.5001 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.05324, allocations: 28 kB / 0.5002 GB, free: 4.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.05327, allocations: 23.94 kB / 0.5002 GB, free: 4.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.05556, allocations: 0.9621 MB / 0.5011 GB, free: 3.676 MB / 426.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.007677/0.06324, allocations: 3.178 MB / 0.5042 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/0.06955, allocations: 1.597 MB / 0.5058 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.0711, allocations: 0.6326 MB / 0.5064 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.07123, allocations: 20.98 kB / 0.5064 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/0.07335, allocations: 0.8578 MB / 0.5073 GB, free: 13.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.397e-06/0.07335, allocations: 0 / 0.5073 GB, free: 13.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.02837/0.1017, allocations: 6.262 MB / 0.5134 GB, free: 6.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1018, allocations: 119.8 kB / 0.5135 GB, free: 6.797 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.1043, allocations: 1.285 MB / 0.5147 GB, free: 5.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.1046, allocations: 49.73 kB / 0.5148 GB, free: 5.441 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/0.1052, allocations: 0.5978 MB / 0.5154 GB, free: 4.836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.1057, allocations: 400.8 kB / 0.5158 GB, free: 4.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/0.1064, allocations: 337.1 kB / 0.5161 GB, free: 4.105 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.1067, allocations: 484.7 kB / 0.5165 GB, free: 3.629 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.1084, allocations: 0.7686 MB / 0.5173 GB, free: 2.848 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.1104, allocations: 1.012 MB / 0.5183 GB, free: 1.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/0.116, allocations: 2.769 MB / 0.521 GB, free: 14.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.116, allocations: 0 / 0.521 GB, free: 14.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01386/0.1298, allocations: 4.07 MB / 0.525 GB, free: 10.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.1299, allocations: 70.06 kB / 0.525 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.1299, allocations: 4 kB / 0.525 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.1409, allocations: 2.055 MB / 0.527 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.1429, allocations: 283.6 kB / 0.5273 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.165, allocations: 8.374 MB / 0.5355 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.1672, allocations: 171 kB / 0.5356 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.1674, allocations: 59.97 kB / 0.5357 GB, free: 15.65 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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: 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 (162): * Single equations (assignments): 159 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007902/0.1682, allocations: 343.2 kB / 0.536 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/0.1685, allocations: 167.1 kB / 0.5362 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.1809, allocations: 3.463 MB / 0.5396 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.1809, allocations: 12 kB / 0.5396 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.181, allocations: 4 kB / 0.5396 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.181, allocations: 11.98 kB / 0.5396 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.1962, allocations: 4.753 MB / 0.5442 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.1963, allocations: 4 kB / 0.5442 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.197, allocations: 99.89 kB / 0.5443 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/0.2073, allocations: 2.014 MB / 0.5463 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/0.2076, allocations: 23.98 kB / 0.5463 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/0.2299, allocations: 9.896 MB / 0.556 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2299, allocations: 4 kB / 0.556 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/0.2446, allocations: 4.413 MB / 0.5603 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.2452, allocations: 154.8 kB / 0.5605 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.2453, allocations: 23.94 kB / 0.5605 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.2465, allocations: 79.92 kB / 0.5606 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006913/0.2472, allocations: 204.6 kB / 0.5607 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.2473, allocations: 32.06 kB / 0.5608 GB, free: 5.531 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.2486, allocations: 0.813 MB / 0.5616 GB, free: 4.711 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2486, allocations: 0 / 0.5616 GB, free: 4.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001657/0.2503, allocations: 479.7 kB / 0.562 GB, free: 4.242 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003584/0.2506, allocations: 151.6 kB / 0.5622 GB, free: 4.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00712/0.2577, allocations: 2.529 MB / 0.5646 GB, free: 1.484 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2577, allocations: 0 / 0.5646 GB, free: 1.484 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.2622, allocations: 1.611 MB / 0.5662 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2634, allocations: 132.5 kB / 0.5663 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.2684, allocations: 2.316 MB / 0.5686 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.2691, allocations: 0.532 MB / 0.5691 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004989/0.2696, allocations: 124 kB / 0.5692 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.2699, allocations: 84.47 kB / 0.5693 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of SimCode: time 2.204e-06/0.2699, allocations: 0 / 0.5693 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.05081/0.3207, allocations: 27.66 MB / 0.5963 GB, free: 0.9922 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.3499372319784015]