Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001542/0.001542, allocations: 80.94 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.9264/0.9264, allocations: 177.2 MB / 200.3 MB, free: 5.328 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.001279/0.001279, allocations: 159.8 kB / 257 MB, free: 12.78 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.3947/0.3947, allocations: 80.23 MB / 340.5 MB, free: 9.566 MB / 314.7 MB " [Timeout remaining time 180] 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.434e-05, allocations: 2.312 kB / 383.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004674/0.004688, allocations: 6.157 MB / 390 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.007614, allocations: 2.047 MB / 392 MB, free: 6.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.007978, allocations: 12 kB / 392 MB, free: 6.426 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.008494, allocations: 245.8 kB / 392.3 MB, free: 6.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.009851, allocations: 0.8736 MB / 393.1 MB, free: 5.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.01065, allocations: 0.6431 MB / 393.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.01167, allocations: 1.584 MB / 395.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.01192, allocations: 228.8 kB / 395.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006968/0.01262, allocations: 0.9117 MB / 396.5 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.01315, allocations: 0.6737 MB / 397.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.01327, allocations: 124 kB / 397.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.01358, allocations: 279.6 kB / 397.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.01378, allocations: 330.6 kB / 397.9 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.01406, allocations: 458.4 kB / 398.3 MB, free: 64 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008984/0.01496, allocations: 1.226 MB / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01496, allocations: 0 / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01496, allocations: 0 / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.01497, allocations: 0 / 399.6 MB, free: 14.83 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003875/0.01884, allocations: 2.642 MB / 402.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.01888, allocations: 15.98 kB / 402.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.02138, allocations: 0.9753 MB / 403.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.02204, allocations: 0.5818 MB / 403.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.02221, allocations: 341.2 kB / 404.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.02232, allocations: 76 kB / 404.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.02299, allocations: 0.7002 MB / 404.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.023, allocations: 0 / 404.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.02305, allocations: 31.94 kB / 404.9 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.02307, allocations: 20 kB / 404.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.0235, allocations: 338.3 kB / 405.3 MB, free: 8.953 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.002731/0.02624, allocations: 1.922 MB / 407.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.02829, allocations: 1.174 MB / 408.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.02855, allocations: 246.3 kB / 408.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.358e-05/0.02861, allocations: 24.94 kB / 408.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.02903, allocations: 482 kB / 409.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/0.02903, allocations: 3.984 kB / 409.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009423/0.03845, allocations: 4.558 MB / 413.7 MB, free: 428 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.03849, allocations: 119.8 kB / 413.8 MB, free: 284 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.03908, allocations: 0.8485 MB / 414.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.03914, allocations: 45.7 kB / 414.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.0393, allocations: 371.2 kB / 415 MB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.03949, allocations: 368.8 kB / 415.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.03976, allocations: 279.3 kB / 415.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.03982, allocations: 305.1 kB / 416 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.0403, allocations: 382.1 kB / 416.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.04083, allocations: 0.5354 MB / 416.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.04236, allocations: 1.52 MB / 418.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.04236, allocations: 0 / 418.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004348/0.04671, allocations: 2.674 MB / 421.1 MB, free: 8.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.04675, allocations: 63.39 kB / 421.1 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.04676, allocations: 7.938 kB / 421.1 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/0.0504, allocations: 1.475 MB / 422.6 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.05105, allocations: 287.6 kB / 422.9 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.0555, allocations: 3.361 MB / 426.3 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.05609, allocations: 167.2 kB / 426.4 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.05615, allocations: 39.97 kB / 426.5 MB, free: 3.273 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (161): * Single equations (assignments): 158 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.05647, allocations: 223.1 kB / 426.7 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.0566, allocations: 103.9 kB / 426.8 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.06061, allocations: 2.287 MB / 429.1 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.06062, allocations: 11.98 kB / 429.1 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.06063, allocations: 8 kB / 429.1 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.06064, allocations: 7.969 kB / 429.1 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.06525, allocations: 2.979 MB / 432.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.06525, allocations: 0 / 432.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.06551, allocations: 103.9 kB / 432.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/0.06911, allocations: 1.577 MB / 433.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.06915, allocations: 19.98 kB / 433.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/0.0743, allocations: 4.795 MB / 438.6 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.07431, allocations: 0 / 438.6 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.07848, allocations: 2.634 MB / 441.2 MB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.07862, allocations: 130.8 kB / 441.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.07872, allocations: 16 kB / 441.3 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.07911, allocations: 83.92 kB / 441.4 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.07939, allocations: 188.6 kB / 441.6 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.07943, allocations: 16 kB / 441.6 MB, free: 3.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003029/0.07973, allocations: 438.6 kB / 442 MB, free: 3.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07973, allocations: 0 / 442 MB, free: 3.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.0806, allocations: 467.7 kB / 442.5 MB, free: 2.859 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002276/0.08082, allocations: 125.2 kB / 442.6 MB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.08294, allocations: 1.573 MB / 444.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.08295, allocations: 15.94 kB / 444.2 MB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1509/0.2338, allocations: 1.095 MB / 445.3 MB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.2347, allocations: 124.2 kB / 445.4 MB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.2373, allocations: 1.994 MB / 447.4 MB, free: 64.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2376, allocations: 243.4 kB / 447.7 MB, free: 64.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.2378, allocations: 116 kB / 447.8 MB, free: 64.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.2381, allocations: 182.3 kB / 448 MB, free: 64.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.2381, allocations: 3.188 kB / 448 MB, free: 64.48 MB / 410.7 MB Notification: Performance of Templates: time 0.02373/0.2618, allocations: 26.49 MB / 474.4 MB, free: 47.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.786735776811838]