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.0009319/0.0009319, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.941/0.941, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001218/0.001218, allocations: 160.6 kB / 257 MB, free: 12.96 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.4057/0.4057, allocations: 83.31 MB / 343.6 MB, free: 6.73 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.633e-06/1.633e-06, allocations: 3.938 kB / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.354e-05, allocations: 2.312 kB / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007076/0.0071, allocations: 6.234 MB / 394.2 MB, free: 4.434 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005088/0.01219, allocations: 2.079 MB / 396.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.01325, allocations: 12 kB / 396.3 MB, free: 2.336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.01406, allocations: 245.9 kB / 396.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.01655, allocations: 0.8968 MB / 397.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.01792, allocations: 0.651 MB / 398.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.01956, allocations: 1.639 MB / 399.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.01992, allocations: 230.7 kB / 399.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.02102, allocations: 0.9389 MB / 400.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007713/0.02179, allocations: 0.7049 MB / 401.6 MB, free: 13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.02203, allocations: 128 kB / 401.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.02251, allocations: 283.7 kB / 402 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.02272, allocations: 350.5 kB / 402.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.02311, allocations: 474.4 kB / 402.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.02436, allocations: 1.257 MB / 404 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.02436, allocations: 0 / 404 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02436, allocations: 0 / 404 MB, free: 10.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.0244, allocations: 0 / 404 MB, free: 10.53 MB / 378.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.004467/0.02886, allocations: 2.705 MB / 406.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.0289, allocations: 12.03 kB / 406.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.0315, allocations: 0.9831 MB / 407.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.03243, allocations: 0.5937 MB / 408.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.03271, allocations: 341.1 kB / 408.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.0329, allocations: 87.95 kB / 408.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.0337, allocations: 0.6963 MB / 409.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.03371, allocations: 0 / 409.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.0338, allocations: 32 kB / 409.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.03381, allocations: 27.92 kB / 409.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.03433, allocations: 346.3 kB / 409.8 MB, free: 4.551 MB / 378.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.002995/0.03733, allocations: 1.895 MB / 411.7 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.03954, allocations: 1.18 MB / 412.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.03984, allocations: 246.3 kB / 413.1 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.03993, allocations: 24.98 kB / 413.2 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.04043, allocations: 486 kB / 413.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 2.254e-06/0.04043, allocations: 8 kB / 413.7 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.01016/0.0506, allocations: 4.664 MB / 418.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.05066, allocations: 111.8 kB / 418.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.05148, allocations: 0.8729 MB / 419.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.05159, allocations: 45.7 kB / 419.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.05179, allocations: 367.3 kB / 419.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.05207, allocations: 384.8 kB / 420.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.05238, allocations: 287.3 kB / 420.4 MB, free: 9.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.05246, allocations: 301.1 kB / 420.7 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.05299, allocations: 386.1 kB / 421 MB, free: 9.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.05355, allocations: 0.5471 MB / 421.6 MB, free: 8.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.05519, allocations: 1.521 MB / 423.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.0552, allocations: 4 kB / 423.1 MB, free: 6.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004862/0.06006, allocations: 2.745 MB / 425.8 MB, free: 4.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.06012, allocations: 59.41 kB / 425.9 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.06013, allocations: 7.984 kB / 425.9 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/0.06418, allocations: 1.609 MB / 427.5 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.06498, allocations: 275.6 kB / 427.8 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.07032, allocations: 3.525 MB / 431.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009654/0.07128, allocations: 171.1 kB / 431.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.07135, allocations: 39.98 kB / 431.5 MB, free: 14.36 MB / 410.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.0004091/0.07176, allocations: 227.3 kB / 431.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.07192, allocations: 99.91 kB / 431.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.07591, allocations: 2.31 MB / 434.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.07592, allocations: 12 kB / 434.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.07593, allocations: 7.938 kB / 434.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.07594, allocations: 7.984 kB / 434.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.08086, allocations: 2.987 MB / 437.2 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.08086, allocations: 0 / 437.2 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.08116, allocations: 103.8 kB / 437.3 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003648/0.08481, allocations: 1.577 MB / 438.8 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/0.08488, allocations: 24 kB / 438.9 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.09027, allocations: 4.787 MB / 443.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.09027, allocations: 3.938 kB / 443.7 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.199/0.2892, allocations: 2.643 MB / 446.3 MB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.2896, allocations: 123.1 kB / 446.4 MB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.2898, allocations: 19.95 kB / 446.4 MB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.2903, allocations: 77.91 kB / 446.5 MB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/0.2908, allocations: 200.2 kB / 446.7 MB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.2909, allocations: 20.77 kB / 446.7 MB, free: 59.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005409/0.2914, allocations: 453.8 kB / 447.2 MB, free: 58.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2914, allocations: 1.062 kB / 447.2 MB, free: 58.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001137/0.2926, allocations: 489.8 kB / 447.7 MB, free: 58.96 MB / 410.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.0002545/0.2928, allocations: 119 kB / 447.8 MB, free: 58.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.2956, allocations: 1.645 MB / 449.4 MB, free: 58.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.367e-05/0.2956, allocations: 11.47 kB / 449.4 MB, free: 58.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.2971, allocations: 1.076 MB / 450.5 MB, free: 58.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.2977, allocations: 134.2 kB / 450.6 MB, free: 58.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.3008, allocations: 2.06 MB / 452.7 MB, free: 57.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.301, allocations: 248.8 kB / 452.9 MB, free: 57.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.3013, allocations: 115.3 kB / 453 MB, free: 57.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.3016, allocations: 186.8 kB / 453.2 MB, free: 56.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3016, allocations: 0 / 453.2 MB, free: 56.98 MB / 410.7 MB Notification: Performance of Templates: time 0.02921/0.3308, allocations: 27.35 MB / 480.6 MB, free: 37.54 MB / 410.7 MB " [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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8150784042663872]