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.001486/0.001486, allocations: 88.72 kB / 19.44 MB, free: 356 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.493/1.493, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.001946/0.001946, allocations: 163.2 kB / 256.3 MB, free: 13.17 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.4585/0.4585, allocations: 80.27 MB / 393 MB, free: 2.207 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.793e-06/1.793e-06, allocations: 0 / 489.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.269e-05, allocations: 2.312 kB / 489.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.009232/0.009265, allocations: 5.898 MB / 495 MB, free: 6.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.01543, allocations: 1.964 MB / 496.9 MB, free: 4.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.01709, allocations: 12.84 kB / 497 MB, free: 4.051 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.01852, allocations: 241.8 kB / 497.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.02216, allocations: 0.867 MB / 498.1 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.024, allocations: 0.6461 MB / 498.7 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.02688, allocations: 1.635 MB / 0.4886 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.02751, allocations: 211.5 kB / 0.4888 GB, free: 464 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.02951, allocations: 0.933 MB / 0.4897 GB, free: 15.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.03055, allocations: 0.7009 MB / 0.4904 GB, free: 14.81 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.03077, allocations: 128 kB / 0.4905 GB, free: 14.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.03139, allocations: 283.8 kB / 0.4908 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.03178, allocations: 342.5 kB / 0.4911 GB, free: 14.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006211/0.0324, allocations: 475.3 kB / 0.4916 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.03489, allocations: 1.787 MB / 0.4933 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.0349, allocations: 1.75 kB / 0.4933 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0349, allocations: 0 / 0.4933 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.03492, allocations: 0 / 0.4933 GB, free: 11.82 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.01021/0.04513, allocations: 2.867 MB / 0.4961 GB, free: 8.926 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.04517, allocations: 8.031 kB / 0.4961 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/0.05054, allocations: 0.92 MB / 0.497 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.05241, allocations: 0.8817 MB / 0.4979 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/0.05284, allocations: 333.3 kB / 0.4982 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.05306, allocations: 99.94 kB / 0.4983 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.0556, allocations: 1.115 MB / 0.4994 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.05562, allocations: 7.984 kB / 0.4994 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.05574, allocations: 31.98 kB / 0.4994 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.05576, allocations: 23.94 kB / 0.4995 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.05819, allocations: 1.017 MB / 0.5005 GB, free: 4.379 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.007175/0.06537, allocations: 2.91 MB / 0.5033 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008221/0.07359, allocations: 2.036 MB / 0.5053 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.07517, allocations: 0.6532 MB / 0.5059 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.07528, allocations: 20.98 kB / 0.5059 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.07722, allocations: 0.8584 MB / 0.5068 GB, free: 13.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.866e-06/0.07722, allocations: 0 / 0.5068 GB, free: 13.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.03216/0.1094, allocations: 7.122 MB / 0.5137 GB, free: 6.617 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1095, allocations: 119.8 kB / 0.5139 GB, free: 6.473 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.1116, allocations: 1.094 MB / 0.5149 GB, free: 5.363 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.1118, allocations: 45.7 kB / 0.515 GB, free: 5.312 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.1124, allocations: 0.5131 MB / 0.5155 GB, free: 4.793 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/0.1129, allocations: 376.8 kB / 0.5158 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005779/0.1135, allocations: 279.5 kB / 0.5161 GB, free: 4.145 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1136, allocations: 309 kB / 0.5164 GB, free: 3.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.1155, allocations: 0.8232 MB / 0.5172 GB, free: 3.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.1175, allocations: 0.9981 MB / 0.5182 GB, free: 1.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02791/0.1454, allocations: 5.989 MB / 0.524 GB, free: 11.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.1455, allocations: 0 / 0.524 GB, free: 11.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01547/0.1609, allocations: 4.512 MB / 0.5284 GB, free: 7.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.161, allocations: 59.41 kB / 0.5285 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.161, allocations: 4 kB / 0.5285 GB, free: 7.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/0.1755, allocations: 2.376 MB / 0.5308 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.1773, allocations: 283.6 kB / 0.5311 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02412/0.2014, allocations: 8.354 MB / 0.5392 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.2036, allocations: 199.2 kB / 0.5394 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.2037, allocations: 55.97 kB / 0.5395 GB, free: 11.88 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 (160): * Single equations (assignments): 157 * 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.0007227/0.2045, allocations: 304.2 kB / 0.5398 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.2048, allocations: 175.1 kB / 0.5399 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.2191, allocations: 3.898 MB / 0.5437 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.2191, allocations: 8 kB / 0.5437 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.2191, allocations: 15.94 kB / 0.5438 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.2192, allocations: 7.984 kB / 0.5438 GB, free: 7.438 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.01672/0.2359, allocations: 4.931 MB / 0.5486 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.2359, allocations: 0 / 0.5486 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.2367, allocations: 103.8 kB / 0.5487 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01176/0.2484, allocations: 2.367 MB / 0.551 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/0.2487, allocations: 19.94 kB / 0.551 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/0.2722, allocations: 9.247 MB / 0.56 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2722, allocations: 0 / 0.56 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.2887, allocations: 4.836 MB / 0.5648 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.2892, allocations: 150.9 kB / 0.5649 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.2894, allocations: 16 kB / 0.5649 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.2907, allocations: 115.9 kB / 0.565 GB, free: 1.316 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007071/0.2914, allocations: 204.7 kB / 0.5652 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/0.2915, allocations: 28 kB / 0.5653 GB, free: 1.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001302/0.2928, allocations: 0.7389 MB / 0.566 GB, free: 352 kB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2928, allocations: 0 / 0.566 GB, free: 352 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.001724/0.2946, allocations: 495.6 kB / 0.5665 GB, free: 15.86 MB / 0.4948 GB 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.0003479/0.2949, allocations: 151.6 kB / 0.5666 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00744/0.3023, allocations: 2.497 MB / 0.569 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3023, allocations: 0 / 0.569 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004696/0.307, allocations: 1.556 MB / 0.5706 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3082, allocations: 140.4 kB / 0.5707 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.3129, allocations: 2.309 MB / 0.5729 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.3136, allocations: 0.532 MB / 0.5735 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004855/0.3141, allocations: 120.1 kB / 0.5736 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.3144, allocations: 88.47 kB / 0.5737 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/0.3144, allocations: 0 / 0.5737 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of Templates: time 0.2236/0.5381, allocations: 26.58 MB / 0.5996 GB, free: 168 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.834575864020735]