Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0008703/0.0008703, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.884/0.884, allocations: 177.1 MB / 200.5 MB, free: 5.805 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.00112/0.00112, allocations: 156.6 kB / 257.1 MB, free: 13.17 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.2643/0.2643, allocations: 80.37 MB / 393.9 MB, free: 2.184 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 490 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.864e-05, allocations: 2.312 kB / 490 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.00536/0.005389, allocations: 5.825 MB / 495.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.008498, allocations: 1.937 MB / 497.7 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.008951, allocations: 11.94 kB / 497.8 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.009503, allocations: 241.9 kB / 498 MB, free: 3.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.01088, allocations: 0.8627 MB / 498.9 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.01176, allocations: 0.634 MB / 499.5 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.01301, allocations: 1.577 MB / 0.4893 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.01331, allocations: 214.8 kB / 0.4895 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.01421, allocations: 0.9052 MB / 0.4904 GB, free: 15.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.01475, allocations: 0.6659 MB / 0.4911 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.01487, allocations: 124 kB / 0.4912 GB, free: 14.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.0152, allocations: 272.5 kB / 0.4914 GB, free: 14.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.01539, allocations: 330.5 kB / 0.4918 GB, free: 14.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.0157, allocations: 463.1 kB / 0.4922 GB, free: 13.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.01696, allocations: 1.734 MB / 0.4939 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01697, allocations: 0 / 0.4939 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01697, allocations: 0 / 0.4939 GB, free: 12.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.01698, allocations: 0 / 0.4939 GB, free: 12.08 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00479/0.02177, allocations: 2.799 MB / 0.4966 GB, free: 9.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.0218, allocations: 12.03 kB / 0.4966 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.02489, allocations: 0.9106 MB / 0.4975 GB, free: 8.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/0.02587, allocations: 0.8541 MB / 0.4984 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.02606, allocations: 333.3 kB / 0.4987 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.02618, allocations: 87.94 kB / 0.4988 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.02758, allocations: 1.112 MB / 0.4998 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.0276, allocations: 3.938 kB / 0.4998 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.02766, allocations: 39.88 kB / 0.4999 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.02767, allocations: 16 kB / 0.4999 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.02898, allocations: 1.005 MB / 0.5009 GB, free: 4.777 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.003793/0.03277, allocations: 2.89 MB / 0.5037 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.03663, allocations: 2.022 MB / 0.5057 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.03744, allocations: 0.6367 MB / 0.5063 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.03752, allocations: 24.98 kB / 0.5063 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.03853, allocations: 0.8428 MB / 0.5072 GB, free: 14.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.03853, allocations: 0 / 0.5072 GB, free: 14.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01532/0.05385, allocations: 6.993 MB / 0.514 GB, free: 7.207 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.0539, allocations: 111.8 kB / 0.5141 GB, free: 7.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.05501, allocations: 1.058 MB / 0.5151 GB, free: 5.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.05512, allocations: 45.64 kB / 0.5152 GB, free: 5.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.0554, allocations: 0.5053 MB / 0.5157 GB, free: 5.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.05568, allocations: 372.8 kB / 0.516 GB, free: 5.066 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/0.05599, allocations: 275.5 kB / 0.5163 GB, free: 4.793 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.05606, allocations: 305.1 kB / 0.5166 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.05708, allocations: 0.8076 MB / 0.5174 GB, free: 3.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.05817, allocations: 0.9767 MB / 0.5183 GB, free: 2.645 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/0.07064, allocations: 5.762 MB / 0.5239 GB, free: 12.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.07065, allocations: 0 / 0.5239 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.007594/0.07824, allocations: 4.402 MB / 0.5282 GB, free: 8.352 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.07829, allocations: 59.41 kB / 0.5283 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.0783, allocations: 8 kB / 0.5283 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005635/0.08393, allocations: 2.238 MB / 0.5305 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.08478, allocations: 287.6 kB / 0.5308 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.09619, allocations: 8 MB / 0.5386 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.09726, allocations: 199.1 kB / 0.5388 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.09734, allocations: 55.97 kB / 0.5388 GB, free: 13.39 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.09782, allocations: 296.4 kB / 0.5391 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.09802, allocations: 163.2 kB / 0.5393 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/0.1049, allocations: 3.867 MB / 0.543 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1049, allocations: 12 kB / 0.543 GB, free: 9.012 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1049, allocations: 8 kB / 0.543 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.105, allocations: 3.984 kB / 0.5431 GB, free: 9 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.007917/0.1129, allocations: 4.903 MB / 0.5478 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.1129, allocations: 0 / 0.5478 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.1132, allocations: 103.8 kB / 0.5479 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/0.119, allocations: 2.362 MB / 0.5502 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.1191, allocations: 20 kB / 0.5503 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.131, allocations: 9.231 MB / 0.5593 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.131, allocations: 4 kB / 0.5593 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008201/0.1392, allocations: 4.793 MB / 0.564 GB, free: 3.242 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.1395, allocations: 146.9 kB / 0.5641 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1396, allocations: 20 kB / 0.5641 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.1402, allocations: 107.9 kB / 0.5642 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/0.1405, allocations: 204.6 kB / 0.5644 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.1406, allocations: 28 kB / 0.5644 GB, free: 2.746 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007042/0.1413, allocations: 0.7188 MB / 0.5651 GB, free: 2.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1413, allocations: 0 / 0.5651 GB, free: 2.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009872/0.1423, allocations: 479.5 kB / 0.5656 GB, free: 1.551 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002468/0.1425, allocations: 141.5 kB / 0.5657 GB, free: 1.406 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.146, allocations: 2.435 MB / 0.5681 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.146, allocations: 0 / 0.5681 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.1483, allocations: 1.548 MB / 0.5696 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.1489, allocations: 136.4 kB / 0.5698 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.1514, allocations: 2.222 MB / 0.5719 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1517, allocations: 0.5276 MB / 0.5724 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.152, allocations: 123.9 kB / 0.5726 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.1522, allocations: 84.47 kB / 0.5726 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.1522, allocations: 0 / 0.5726 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.02573/0.178, allocations: 25.76 MB / 0.5978 GB, free: 0.5078 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9888567104935646]