Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008853/0.0008853, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9488/0.9488, allocations: 177.1 MB / 200 MB, free: 5.492 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.001326/0.001326, allocations: 164.4 kB / 256.6 MB, free: 12.97 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.2782/0.2782, allocations: 80.35 MB / 393.5 MB, free: 3.121 MB / 362.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 489.9 MB, free: 63.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.715e-05, allocations: 2.312 kB / 489.9 MB, free: 63.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004762/0.004789, allocations: 6.309 MB / 496.2 MB, free: 56.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.007584, allocations: 1.98 MB / 498.2 MB, free: 54.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.007951, allocations: 12 kB / 498.2 MB, free: 54.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.008469, allocations: 229.9 kB / 498.5 MB, free: 54.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.009704, allocations: 0.8725 MB / 499.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.01055, allocations: 0.6373 MB / 500 MB, free: 53.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.01159, allocations: 1.581 MB / 0.4898 GB, free: 51.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.01188, allocations: 219.3 kB / 0.49 GB, free: 51.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006868/0.01256, allocations: 0.896 MB / 0.4909 GB, free: 50.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006707/0.01323, allocations: 0.6794 MB / 0.4915 GB, free: 49.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.01343, allocations: 124 kB / 0.4917 GB, free: 49.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.01377, allocations: 267.8 kB / 0.4919 GB, free: 49.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.01394, allocations: 334.5 kB / 0.4922 GB, free: 48.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.01417, allocations: 463.2 kB / 0.4927 GB, free: 48.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008596/0.01503, allocations: 1.225 MB / 0.4939 GB, free: 47.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01503, allocations: 0.8125 kB / 0.4939 GB, free: 47.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01503, allocations: 0 / 0.4939 GB, free: 47.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.01505, allocations: 4.859 kB / 0.4939 GB, free: 47.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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004133/0.01918, allocations: 2.908 MB / 0.4967 GB, free: 44.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.01922, allocations: 16.02 kB / 0.4967 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.0217, allocations: 0.9253 MB / 0.4976 GB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.02249, allocations: 0.8002 MB / 0.4984 GB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.02264, allocations: 329.3 kB / 0.4987 GB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.02275, allocations: 88.8 kB / 0.4988 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.02357, allocations: 0.7469 MB / 0.4995 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.02359, allocations: 4.781 kB / 0.4996 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.02365, allocations: 31.94 kB / 0.4996 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.02367, allocations: 21.41 kB / 0.4996 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.02434, allocations: 0.4934 MB / 0.5001 GB, free: 40.74 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.00305/0.02739, allocations: 2.734 MB / 0.5028 GB, free: 37.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.02971, allocations: 1.247 MB / 0.504 GB, free: 36.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.03009, allocations: 347.8 kB / 0.5043 GB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.03016, allocations: 21 kB / 0.5043 GB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000524/0.03069, allocations: 0.5285 MB / 0.5048 GB, free: 35.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.104e-06/0.03069, allocations: 0 / 0.5048 GB, free: 35.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.01062/0.04131, allocations: 4.991 MB / 0.5097 GB, free: 30.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.04135, allocations: 111.8 kB / 0.5098 GB, free: 30.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007094/0.04206, allocations: 0.9833 MB / 0.5108 GB, free: 29.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.04212, allocations: 41.7 kB / 0.5108 GB, free: 29.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.04235, allocations: 0.5471 MB / 0.5114 GB, free: 29.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.04254, allocations: 376.9 kB / 0.5117 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.04282, allocations: 293.1 kB / 0.512 GB, free: 28.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.04289, allocations: 480.7 kB / 0.5125 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.04341, allocations: 435.2 kB / 0.5129 GB, free: 27.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.04407, allocations: 0.6377 MB / 0.5135 GB, free: 26.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.04574, allocations: 1.637 MB / 0.5151 GB, free: 25.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.04575, allocations: 0 / 0.5151 GB, free: 25.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004881/0.05063, allocations: 3.031 MB / 0.518 GB, free: 21.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.05067, allocations: 67.33 kB / 0.5181 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.05068, allocations: 4 kB / 0.5181 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/0.0545, allocations: 1.53 MB / 0.5196 GB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.05517, allocations: 287.6 kB / 0.5199 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.06063, allocations: 4.365 MB / 0.5241 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.06135, allocations: 167.1 kB / 0.5243 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.06142, allocations: 55.97 kB / 0.5244 GB, free: 15.34 MB / 410.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.0003217/0.06174, allocations: 265.5 kB / 0.5246 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.06188, allocations: 159.2 kB / 0.5248 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.06626, allocations: 2.592 MB / 0.5273 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.06627, allocations: 16 kB / 0.5273 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.06627, allocations: 4 kB / 0.5273 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.06628, allocations: 3.984 kB / 0.5273 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.07154, allocations: 3.659 MB / 0.5309 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.07155, allocations: 0 / 0.5309 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.07182, allocations: 95.84 kB / 0.531 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00377/0.07559, allocations: 1.634 MB / 0.5326 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.07565, allocations: 23.98 kB / 0.5326 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005865/0.08151, allocations: 6.412 MB / 0.5389 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.08151, allocations: 0 / 0.5389 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/0.08681, allocations: 3.034 MB / 0.5418 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.08702, allocations: 142.9 kB / 0.542 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.08713, allocations: 20 kB / 0.542 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.08761, allocations: 71.92 kB / 0.5421 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/0.08796, allocations: 204.6 kB / 0.5422 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.08802, allocations: 27.98 kB / 0.5423 GB, free: 12.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.08855, allocations: 0.6172 MB / 0.5429 GB, free: 11.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08855, allocations: 0 / 0.5429 GB, free: 11.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001285/0.08984, allocations: 471.6 kB / 0.5433 GB, free: 11.46 MB / 426.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.0002497/0.09009, allocations: 141.9 kB / 0.5435 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.0927, allocations: 1.798 MB / 0.5452 GB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0927, allocations: 0 / 0.5452 GB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.09443, allocations: 1.301 MB / 0.5465 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.09494, allocations: 135.4 kB / 0.5466 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.09771, allocations: 2.062 MB / 0.5486 GB, free: 5.859 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.09789, allocations: 249.4 kB / 0.5489 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.09813, allocations: 116 kB / 0.549 GB, free: 5.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.09833, allocations: 80.47 kB / 0.5491 GB, free: 5.395 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.09833, allocations: 0 / 0.5491 GB, free: 5.395 MB / 426.7 MB Notification: Performance of Templates: time 0.02765/0.126, allocations: 26.84 MB / 0.5753 GB, free: 10.67 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.071927071083337]