Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.00113/0.00113, allocations: 92.72 kB / 20.21 MB, free: 4.207 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.8597/0.8597, allocations: 177.1 MB / 200.5 MB, free: 5.797 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.001413/0.001413, allocations: 160.5 kB / 257.1 MB, free: 13.16 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.2616/0.2616, allocations: 80.36 MB / 393.9 MB, free: 2.164 MB / 314.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 490 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.124e-05, allocations: 2.312 kB / 490 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004748/0.00477, allocations: 5.893 MB / 495.9 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.007073, allocations: 1.967 MB / 497.8 MB, free: 3.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.007373, allocations: 12.59 kB / 497.9 MB, free: 3.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.007862, allocations: 233.9 kB / 498.1 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.009057, allocations: 0.8867 MB / 499 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.009889, allocations: 0.6466 MB / 499.6 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.01089, allocations: 1.635 MB / 0.4895 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.01115, allocations: 214.9 kB / 0.4897 GB, free: 376 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009291/0.01208, allocations: 0.9312 MB / 0.4906 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.01262, allocations: 0.6988 MB / 0.4913 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.01273, allocations: 132 kB / 0.4914 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.01303, allocations: 275.8 kB / 0.4917 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.01323, allocations: 346.5 kB / 0.492 GB, free: 14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.01352, allocations: 475.6 kB / 0.4925 GB, free: 13.53 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.01464, allocations: 1.779 MB / 0.4942 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01464, allocations: 0 / 0.4942 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01464, allocations: 7.938 kB / 0.4942 GB, free: 11.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01465, allocations: 5.547 kB / 0.4942 GB, free: 11.73 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.00479/0.01944, allocations: 2.866 MB / 0.497 GB, free: 8.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.01947, allocations: 12.03 kB / 0.497 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.02277, allocations: 0.9215 MB / 0.4979 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009643/0.02373, allocations: 0.8701 MB / 0.4988 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.02392, allocations: 337.3 kB / 0.4991 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.02403, allocations: 87.95 kB / 0.4992 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.02536, allocations: 1.127 MB / 0.5003 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.02537, allocations: 0 / 0.5003 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.02544, allocations: 32 kB / 0.5003 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.02545, allocations: 19.94 kB / 0.5003 GB, free: 5.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.02674, allocations: 1.028 MB / 0.5013 GB, free: 4.305 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.003856/0.0306, allocations: 2.906 MB / 0.5042 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.03439, allocations: 2.033 MB / 0.5062 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.03521, allocations: 0.6543 MB / 0.5068 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.03529, allocations: 17 kB / 0.5068 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000996/0.03629, allocations: 0.8546 MB / 0.5077 GB, free: 13.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.034e-06/0.03629, allocations: 0 / 0.5077 GB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01503/0.05131, allocations: 7.13 MB / 0.5146 GB, free: 6.539 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.05136, allocations: 115.8 kB / 0.5147 GB, free: 6.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/0.05233, allocations: 1.094 MB / 0.5158 GB, free: 5.289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.0524, allocations: 49.73 kB / 0.5158 GB, free: 5.234 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.05267, allocations: 0.5092 MB / 0.5163 GB, free: 4.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.05289, allocations: 372.8 kB / 0.5167 GB, free: 4.352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.05321, allocations: 283.5 kB / 0.517 GB, free: 4.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.05328, allocations: 305.1 kB / 0.5173 GB, free: 3.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.05431, allocations: 0.8193 MB / 0.5181 GB, free: 2.938 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.05565, allocations: 0.9961 MB / 0.519 GB, free: 1.891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/0.06843, allocations: 5.989 MB / 0.5249 GB, free: 11.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.06843, allocations: 0 / 0.5249 GB, free: 11.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007797/0.07623, allocations: 4.516 MB / 0.5293 GB, free: 7.258 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.07627, allocations: 61.58 kB / 0.5293 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.07628, allocations: 4 kB / 0.5294 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005914/0.0822, allocations: 2.388 MB / 0.5317 GB, free: 4.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.08296, allocations: 275.6 kB / 0.5319 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.0952, allocations: 8.346 MB / 0.5401 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.09619, allocations: 203.2 kB / 0.5403 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.09627, allocations: 55.98 kB / 0.5403 GB, free: 11.81 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.0004573/0.09673, allocations: 308.5 kB / 0.5406 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.09692, allocations: 163.1 kB / 0.5408 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00687/0.1038, allocations: 3.898 MB / 0.5446 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1038, allocations: 12 kB / 0.5446 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1038, allocations: 4 kB / 0.5446 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.1038, allocations: 15.95 kB / 0.5446 GB, free: 7.367 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.008082/0.1119, allocations: 4.943 MB / 0.5495 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1119, allocations: 0 / 0.5495 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.1122, allocations: 99.89 kB / 0.5496 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00565/0.1179, allocations: 2.363 MB / 0.5519 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.1179, allocations: 19.98 kB / 0.5519 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.13, allocations: 9.247 MB / 0.5609 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.13, allocations: 0 / 0.5609 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007972/0.138, allocations: 4.836 MB / 0.5656 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.1382, allocations: 150.9 kB / 0.5658 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.1383, allocations: 28 kB / 0.5658 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.1389, allocations: 103.9 kB / 0.5659 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.1392, allocations: 204.6 kB / 0.5661 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.1393, allocations: 27.98 kB / 0.5661 GB, free: 1.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007036/0.14, allocations: 0.7389 MB / 0.5668 GB, free: 280 kB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.14, allocations: 0 / 0.5668 GB, free: 280 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.001002/0.141, allocations: 495.7 kB / 0.5673 GB, free: 15.79 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.0004569/0.1414, allocations: 151.5 kB / 0.5675 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003599/0.145, allocations: 2.506 MB / 0.5699 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.145, allocations: 0 / 0.5699 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.1472, allocations: 1.56 MB / 0.5714 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.1477, allocations: 138.1 kB / 0.5716 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.1502, allocations: 2.316 MB / 0.5738 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.1507, allocations: 0.5398 MB / 0.5744 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002412/0.151, allocations: 120 kB / 0.5745 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.1511, allocations: 80.47 kB / 0.5745 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.1511, allocations: 0 / 0.5745 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of Templates: time 0.154/0.3051, allocations: 26.55 MB / 0.6005 GB, free: 169 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.811146868392825]