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.001624/0.001624, allocations: 73.88 kB / 20.66 MB, free: 3.844 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 1/1, allocations: 177.2 MB / 201 MB, free: 5.719 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.001245/0.001245, allocations: 168.4 kB / 257.7 MB, free: 12.99 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.2699/0.2699, allocations: 80.25 MB / 394.5 MB, free: 2 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 2.063e-06/2.063e-06, allocations: 0 / 491 MB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.737e-05, allocations: 10.19 kB / 491 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007949/0.007976, allocations: 6.219 MB / 497.3 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00494/0.01292, allocations: 1.99 MB / 499.3 MB, free: 2.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.01417, allocations: 13.25 kB / 499.3 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009389/0.01511, allocations: 241.8 kB / 499.5 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.01802, allocations: 0.8896 MB / 0.4887 GB, free: 1.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.01949, allocations: 0.6572 MB / 0.4893 GB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.02192, allocations: 1.633 MB / 0.4909 GB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.02247, allocations: 211 kB / 0.4911 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.02426, allocations: 0.9467 MB / 0.492 GB, free: 14.39 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.02539, allocations: 0.6984 MB / 0.4927 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.0257, allocations: 128 kB / 0.4928 GB, free: 13.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.02636, allocations: 279.8 kB / 0.4931 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.02666, allocations: 346.5 kB / 0.4934 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.02732, allocations: 479.6 kB / 0.4939 GB, free: 12.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.02928, allocations: 1.253 MB / 0.4951 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.02929, allocations: 0 / 0.4951 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02929, allocations: 0.6875 kB / 0.4951 GB, free: 11.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.579e-05/0.02933, allocations: 4 kB / 0.4951 GB, free: 11.22 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.00556/0.03489, allocations: 3.002 MB / 0.498 GB, free: 8.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.03492, allocations: 8.719 kB / 0.4981 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.03757, allocations: 0.9356 MB / 0.499 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.03855, allocations: 0.7915 MB / 0.4997 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.03875, allocations: 333.2 kB / 0.5001 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.03887, allocations: 87.95 kB / 0.5001 GB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000793/0.03966, allocations: 0.6835 MB / 0.5008 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.03968, allocations: 3.984 kB / 0.5008 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.03974, allocations: 35.98 kB / 0.5008 GB, free: 5.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.03975, allocations: 19.94 kB / 0.5009 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.04028, allocations: 403.3 kB / 0.5012 GB, free: 4.785 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.003397/0.04368, allocations: 2.588 MB / 0.5038 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.04608, allocations: 1.196 MB / 0.5049 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.0464, allocations: 287.9 kB / 0.5052 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.04647, allocations: 21 kB / 0.5052 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.04699, allocations: 490.5 kB / 0.5057 GB, free: 76 kB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.535e-06/0.04699, allocations: 0 / 0.5057 GB, free: 76 kB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.01184/0.05883, allocations: 4.923 MB / 0.5105 GB, free: 11.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.05891, allocations: 119.8 kB / 0.5106 GB, free: 10.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.05999, allocations: 0.9606 MB / 0.5116 GB, free: 9.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.06019, allocations: 45.7 kB / 0.5116 GB, free: 9.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.06055, allocations: 0.5702 MB / 0.5122 GB, free: 9.367 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.06091, allocations: 380.9 kB / 0.5125 GB, free: 8.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.06128, allocations: 301 kB / 0.5128 GB, free: 8.691 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.06142, allocations: 484.7 kB / 0.5133 GB, free: 8.215 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.06199, allocations: 407.2 kB / 0.5137 GB, free: 7.805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.06267, allocations: 0.618 MB / 0.5143 GB, free: 7.121 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.06445, allocations: 1.563 MB / 0.5158 GB, free: 5.473 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.06446, allocations: 7.938 kB / 0.5158 GB, free: 5.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005691/0.07015, allocations: 3.024 MB / 0.5188 GB, free: 2.398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.07021, allocations: 63.41 kB / 0.5188 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.07022, allocations: 4 kB / 0.5188 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.07472, allocations: 1.637 MB / 0.5204 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.07567, allocations: 287.6 kB / 0.5207 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.08226, allocations: 4.363 MB / 0.525 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.08345, allocations: 167.2 kB / 0.5251 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.08353, allocations: 43.97 kB / 0.5252 GB, free: 11.71 MB / 458.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.0005139/0.08405, allocations: 267.3 kB / 0.5254 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.08427, allocations: 159.2 kB / 0.5256 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/0.08894, allocations: 2.471 MB / 0.528 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.08896, allocations: 15.88 kB / 0.528 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.08897, allocations: 11.94 kB / 0.528 GB, free: 8.738 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.08898, allocations: 3.984 kB / 0.528 GB, free: 8.734 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/0.09488, allocations: 3.408 MB / 0.5313 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.09488, allocations: 0 / 0.5313 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.09521, allocations: 103.8 kB / 0.5314 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00415/0.09936, allocations: 1.612 MB / 0.533 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/0.09946, allocations: 27.94 kB / 0.533 GB, free: 3.516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006702/0.1062, allocations: 6.226 MB / 0.5391 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1062, allocations: 4 kB / 0.5391 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.1115, allocations: 2.866 MB / 0.5419 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.1119, allocations: 154.8 kB / 0.5421 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.1121, allocations: 20 kB / 0.5421 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.1126, allocations: 75.92 kB / 0.5422 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/0.113, allocations: 196.6 kB / 0.5423 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.113, allocations: 23.98 kB / 0.5424 GB, free: 9.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004462/0.1135, allocations: 0.5785 MB / 0.5429 GB, free: 9.074 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1135, allocations: 0 / 0.5429 GB, free: 9.074 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001119/0.1146, allocations: 487.6 kB / 0.5434 GB, free: 8.598 MB / 474.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.000256/0.1148, allocations: 139.7 kB / 0.5435 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.1176, allocations: 1.776 MB / 0.5453 GB, free: 6.609 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1176, allocations: 0 / 0.5453 GB, free: 6.609 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.1192, allocations: 1.252 MB / 0.5465 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.1199, allocations: 139.4 kB / 0.5466 GB, free: 5.168 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.123, allocations: 2.13 MB / 0.5487 GB, free: 2.992 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1232, allocations: 249.5 kB / 0.5489 GB, free: 2.727 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.1235, allocations: 112.1 kB / 0.549 GB, free: 2.613 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.1238, allocations: 210.2 kB / 0.5492 GB, free: 2.406 MB / 474.7 MB Notification: Performance of SimCode: time 2.174e-06/0.1238, allocations: 4 kB / 0.5493 GB, free: 2.402 MB / 474.7 MB Notification: Performance of Templates: time 0.03274/0.1565, allocations: 29.58 MB / 0.5781 GB, free: 4.926 MB / 0.4948 GB " [Timeout remaining time 660] 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: 4.03043635096401]