Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0009433/0.0009433, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9418/0.9418, allocations: 177.2 MB / 200.3 MB, free: 5.359 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.001334/0.001334, allocations: 164.6 kB / 257 MB, free: 12.82 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.3968/0.3968, allocations: 83.31 MB / 343.6 MB, free: 6.633 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 4 kB / 387.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.132e-05, allocations: 9.203 kB / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005039/0.00507, allocations: 6.282 MB / 394.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.008945, allocations: 2.102 MB / 396.3 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005953/0.00954, allocations: 8 kB / 396.3 MB, free: 2.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.01013, allocations: 249.8 kB / 396.6 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.01187, allocations: 0.9046 MB / 397.5 MB, free: 1.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.01296, allocations: 0.6548 MB / 398.1 MB, free: 468 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.01446, allocations: 1.666 MB / 399.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.01478, allocations: 242.7 kB / 400 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.01581, allocations: 0.9584 MB / 401 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000711/0.01652, allocations: 0.7088 MB / 401.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.01667, allocations: 132 kB / 401.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.01711, allocations: 291.6 kB / 402.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.01732, allocations: 354.5 kB / 402.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.01766, allocations: 486.4 kB / 402.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.01893, allocations: 1.265 MB / 404.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01894, allocations: 0 / 404.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01894, allocations: 0 / 404.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.01896, allocations: 7.938 kB / 404.2 MB, free: 10.34 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004465/0.02342, allocations: 2.736 MB / 407 MB, free: 7.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.02346, allocations: 8.031 kB / 407 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.02604, allocations: 0.9831 MB / 407.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.02695, allocations: 0.6016 MB / 408.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.02714, allocations: 333.2 kB / 408.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.02726, allocations: 91.92 kB / 409 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.02804, allocations: 0.7002 MB / 409.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.02805, allocations: 0 / 409.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.0281, allocations: 32 kB / 409.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.02814, allocations: 23.94 kB / 409.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.02861, allocations: 350.3 kB / 410.1 MB, free: 4.324 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.002909/0.03152, allocations: 1.915 MB / 412 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.03373, allocations: 1.18 MB / 413.2 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.03401, allocations: 258.3 kB / 413.4 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.03409, allocations: 24.97 kB / 413.4 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.03455, allocations: 486 kB / 413.9 MB, free: 376 kB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 2.685e-06/0.03456, allocations: 0 / 413.9 MB, free: 376 kB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.00998/0.04454, allocations: 4.547 MB / 418.5 MB, free: 11.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.04459, allocations: 115.8 kB / 418.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.04536, allocations: 0.8853 MB / 419.5 MB, free: 10.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.04549, allocations: 45.7 kB / 419.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.04569, allocations: 371.4 kB / 419.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.04597, allocations: 380.7 kB / 420.2 MB, free: 9.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.04627, allocations: 291.3 kB / 420.5 MB, free: 9.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.04634, allocations: 301.1 kB / 420.8 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.04686, allocations: 394.1 kB / 421.2 MB, free: 8.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.04744, allocations: 0.555 MB / 421.7 MB, free: 8.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.04931, allocations: 1.552 MB / 423.3 MB, free: 6.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.04932, allocations: 7.938 kB / 423.3 MB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00469/0.05401, allocations: 2.776 MB / 426.1 MB, free: 3.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.05405, allocations: 66.2 kB / 426.1 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.05406, allocations: 0 / 426.1 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/0.05807, allocations: 1.628 MB / 427.8 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/0.05887, allocations: 283.6 kB / 428.1 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.06412, allocations: 3.548 MB / 431.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.06508, allocations: 171.1 kB / 431.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.06515, allocations: 43.98 kB / 431.8 MB, free: 14.08 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (166): * Single equations (assignments): 163 * 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.0003926/0.06555, allocations: 215.1 kB / 432 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.06571, allocations: 107.9 kB / 432.1 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.06956, allocations: 2.31 MB / 434.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.06957, allocations: 16 kB / 434.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.06958, allocations: 11.94 kB / 434.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.06959, allocations: 3.984 kB / 434.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005126/0.07472, allocations: 2.999 MB / 437.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.07472, allocations: 0 / 437.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.07505, allocations: 103.8 kB / 437.6 MB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003761/0.07881, allocations: 1.584 MB / 439.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.07895, allocations: 27.92 kB / 439.2 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/0.08447, allocations: 4.776 MB / 444 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.08447, allocations: 11.92 kB / 444 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1799/0.2644, allocations: 2.634 MB / 446.6 MB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.2648, allocations: 132.4 kB / 446.7 MB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.265, allocations: 20.59 kB / 446.8 MB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.2655, allocations: 81.23 kB / 446.8 MB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.266, allocations: 198.8 kB / 447 MB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.266, allocations: 16.25 kB / 447 MB, free: 59.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005047/0.2665, allocations: 465.7 kB / 447.5 MB, free: 59.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2665, allocations: 0 / 447.5 MB, free: 59.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00114/0.2677, allocations: 488.6 kB / 448 MB, free: 59.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002425/0.2679, allocations: 124.3 kB / 448.1 MB, free: 59.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.2706, allocations: 1.637 MB / 449.7 MB, free: 58.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/0.2706, allocations: 10.91 kB / 449.7 MB, free: 58.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.2721, allocations: 1.11 MB / 450.9 MB, free: 58.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.2726, allocations: 132.3 kB / 451 MB, free: 58.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.2755, allocations: 2.088 MB / 453.1 MB, free: 57.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.2757, allocations: 248.9 kB / 453.3 MB, free: 57.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.2759, allocations: 119.5 kB / 453.4 MB, free: 57.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.2762, allocations: 188.1 kB / 453.6 MB, free: 57.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2762, allocations: 0 / 453.6 MB, free: 57.12 MB / 410.7 MB Notification: Performance of Templates: time 0.02743/0.3036, allocations: 27.72 MB / 481.3 MB, free: 36.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7861311472952366]