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.001911/0.001911, allocations: 88.72 kB / 19.44 MB, free: 352 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.428/1.428, allocations: 177.1 MB / 199.7 MB, free: 4.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.001629/0.001629, allocations: 166 kB / 256.3 MB, free: 392 kB / 234.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.5624/0.5624, allocations: 80.36 MB / 393.1 MB, free: 9.957 MB / 314.7 MB " [Timeout remaining time 179] 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.493e-06/1.493e-06, allocations: 0 / 489.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.05e-05, allocations: 2.312 kB / 489.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008447/0.008477, allocations: 5.894 MB / 495.1 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005222/0.0137, allocations: 1.958 MB / 497.1 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.01448, allocations: 12 kB / 497.1 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.01527, allocations: 237.8 kB / 497.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.01772, allocations: 0.8815 MB / 498.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.01924, allocations: 0.6393 MB / 498.9 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1886/0.2078, allocations: 1.628 MB / 0.4888 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.2083, allocations: 222.6 kB / 0.489 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.2097, allocations: 0.9286 MB / 0.4899 GB, free: 44.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007983/0.2105, allocations: 0.6946 MB / 0.4906 GB, free: 44.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.2107, allocations: 130.1 kB / 0.4907 GB, free: 44.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.2112, allocations: 287.9 kB / 0.491 GB, free: 44.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.2114, allocations: 346.4 kB / 0.4913 GB, free: 44.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.2118, allocations: 476.9 kB / 0.4917 GB, free: 44.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.2131, allocations: 1.783 MB / 0.4935 GB, free: 44.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2131, allocations: 0.75 kB / 0.4935 GB, free: 44.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2131, allocations: 0 / 0.4935 GB, free: 44.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.2132, allocations: 0.875 kB / 0.4935 GB, free: 44.24 MB / 410.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.008309/0.2215, allocations: 2.866 MB / 0.4963 GB, free: 43.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2215, allocations: 8.812 kB / 0.4963 GB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.2263, allocations: 0.9177 MB / 0.4972 GB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.2277, allocations: 0.8808 MB / 0.498 GB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.2279, allocations: 342.2 kB / 0.4984 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.2281, allocations: 88.27 kB / 0.4985 GB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.23, allocations: 1.121 MB / 0.4996 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.23, allocations: 0.875 kB / 0.4996 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.2301, allocations: 31.62 kB / 0.4996 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2301, allocations: 18.38 kB / 0.4996 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2319, allocations: 1.021 MB / 0.5006 GB, free: 41.18 MB / 410.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.0055/0.2374, allocations: 2.905 MB / 0.5034 GB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/0.2445, allocations: 2.03 MB / 0.5054 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.2458, allocations: 0.6507 MB / 0.5061 GB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2459, allocations: 27.38 kB / 0.5061 GB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.2473, allocations: 0.8495 MB / 0.5069 GB, free: 38.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.966e-06/0.2473, allocations: 0.5625 kB / 0.5069 GB, free: 38.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.02774/0.2751, allocations: 7.135 MB / 0.5139 GB, free: 37.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.2751, allocations: 115.4 kB / 0.514 GB, free: 37.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.2766, allocations: 1.098 MB / 0.5151 GB, free: 37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.2768, allocations: 46.73 kB / 0.5151 GB, free: 36.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.2771, allocations: 0.5062 MB / 0.5156 GB, free: 36.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.2774, allocations: 378.3 kB / 0.516 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.2778, allocations: 270.9 kB / 0.5162 GB, free: 36.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.2779, allocations: 312.5 kB / 0.5165 GB, free: 35.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.2793, allocations: 0.8201 MB / 0.5173 GB, free: 35.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2809, allocations: 0.9958 MB / 0.5183 GB, free: 34.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02627/0.3072, allocations: 5.982 MB / 0.5241 GB, free: 33.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.3072, allocations: 4.625 kB / 0.5241 GB, free: 33.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01433/0.3215, allocations: 4.517 MB / 0.5285 GB, free: 32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.3216, allocations: 61.84 kB / 0.5286 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3216, allocations: 3.938 kB / 0.5286 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.3328, allocations: 2.377 MB / 0.5309 GB, free: 31.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.3343, allocations: 282.3 kB / 0.5312 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.3531, allocations: 8.359 MB / 0.5394 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.3551, allocations: 199.3 kB / 0.5396 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.3552, allocations: 56.81 kB / 0.5396 GB, free: 24.64 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 (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.0005505/0.3558, allocations: 307.9 kB / 0.5399 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.356, allocations: 163.2 kB / 0.5401 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.3684, allocations: 3.895 MB / 0.5439 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.3684, allocations: 12 kB / 0.5439 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3684, allocations: 8 kB / 0.5439 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.3685, allocations: 3.984 kB / 0.5439 GB, free: 20.26 MB / 410.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.0136/0.3821, allocations: 4.935 MB / 0.5487 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.3821, allocations: 0 / 0.5487 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.3827, allocations: 107.9 kB / 0.5488 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/0.3931, allocations: 2.359 MB / 0.5511 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.3933, allocations: 20 kB / 0.5511 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.4113, allocations: 9.255 MB / 0.5602 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.4113, allocations: 4 kB / 0.5602 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.4258, allocations: 4.835 MB / 0.5649 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.4263, allocations: 158.8 kB / 0.565 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.4265, allocations: 16 kB / 0.5651 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.4278, allocations: 107.9 kB / 0.5652 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/0.4285, allocations: 208.6 kB / 0.5654 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.38e-05/0.4286, allocations: 28 kB / 0.5654 GB, free: 14.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.4299, allocations: 0.7428 MB / 0.5661 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4299, allocations: 4 kB / 0.5661 GB, free: 13.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001556/0.4314, allocations: 491 kB / 0.5666 GB, free: 12.82 MB / 426.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.0003296/0.4318, allocations: 140.2 kB / 0.5667 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00747/0.4392, allocations: 2.512 MB / 0.5692 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4392, allocations: 0 / 0.5692 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004758/0.444, allocations: 1.544 MB / 0.5707 GB, free: 8.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4451, allocations: 145.1 kB / 0.5708 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.4498, allocations: 2.323 MB / 0.5731 GB, free: 6.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.4504, allocations: 0.5359 MB / 0.5736 GB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004769/0.4509, allocations: 114.8 kB / 0.5737 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.4512, allocations: 84.48 kB / 0.5738 GB, free: 5.352 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4512, allocations: 4 kB / 0.5738 GB, free: 5.348 MB / 426.7 MB Notification: Performance of Templates: time 0.04716/0.4984, allocations: 26.6 MB / 0.5998 GB, free: 10.97 MB / 458.7 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.555752360960469]