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.002621/0.002621, allocations: 85.48 kB / 19.44 MB, free: 344 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.627/1.627, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.002056/0.002056, allocations: 168.5 kB / 256.3 MB, free: 13.17 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.4945/0.4945, allocations: 80.25 MB / 393 MB, free: 2.234 MB / 314.7 MB " [Timeout remaining time 179] 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 2.635e-06/2.635e-06, allocations: 0 / 489.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.802e-05, allocations: 6.031 kB / 489.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.009718/0.009756, allocations: 6.248 MB / 495.3 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005585/0.01534, allocations: 1.956 MB / 497.3 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.01666, allocations: 8 kB / 497.3 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.01785, allocations: 242.5 kB / 497.5 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.02084, allocations: 0.8703 MB / 498.4 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.02251, allocations: 0.6456 MB / 499.1 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.02506, allocations: 1.582 MB / 0.4889 GB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.02553, allocations: 214.9 kB / 0.4891 GB, free: 152 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.02706, allocations: 0.8961 MB / 0.49 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.02809, allocations: 0.6748 MB / 0.4906 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.02831, allocations: 124 kB / 0.4908 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006988/0.02901, allocations: 271.8 kB / 0.491 GB, free: 14.19 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.0294, allocations: 336.1 kB / 0.4913 GB, free: 13.86 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006047/0.03001, allocations: 458.5 kB / 0.4918 GB, free: 13.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.03253, allocations: 1.732 MB / 0.4935 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.03254, allocations: 3.938 kB / 0.4935 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.03254, allocations: 4.688 kB / 0.4935 GB, free: 11.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.03258, allocations: 0 / 0.4935 GB, free: 11.66 MB / 426.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.01159/0.04416, allocations: 3.055 MB / 0.4965 GB, free: 8.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.04422, allocations: 8.031 kB / 0.4965 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/0.04966, allocations: 0.9369 MB / 0.4974 GB, free: 7.637 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.05164, allocations: 0.8297 MB / 0.4982 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004289/0.05207, allocations: 333.2 kB / 0.4985 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.05227, allocations: 88 kB / 0.4986 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.05473, allocations: 1.109 MB / 0.4997 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.05476, allocations: 0 / 0.4997 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.05486, allocations: 31.94 kB / 0.4997 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.05489, allocations: 20 kB / 0.4997 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.05713, allocations: 0.9543 MB / 0.5007 GB, free: 4.16 MB / 426.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.008063/0.0652, allocations: 3.151 MB / 0.5037 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006288/0.07148, allocations: 1.59 MB / 0.5053 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.07306, allocations: 0.6248 MB / 0.5059 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.07318, allocations: 17 kB / 0.5059 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.07498, allocations: 0.8462 MB / 0.5067 GB, free: 13.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.07498, allocations: 0 / 0.5067 GB, free: 13.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02793/0.1029, allocations: 6.129 MB / 0.5127 GB, free: 7.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.103, allocations: 111.8 kB / 0.5128 GB, free: 7.473 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.1052, allocations: 1.245 MB / 0.5141 GB, free: 6.211 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003011/0.1055, allocations: 45.69 kB / 0.5141 GB, free: 6.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.1062, allocations: 0.5862 MB / 0.5147 GB, free: 5.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000625/0.1068, allocations: 404.9 kB / 0.5151 GB, free: 5.168 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006588/0.1075, allocations: 329.1 kB / 0.5154 GB, free: 4.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002844/0.1077, allocations: 484.6 kB / 0.5158 GB, free: 4.363 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.1094, allocations: 0.7569 MB / 0.5166 GB, free: 3.594 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.1114, allocations: 0.996 MB / 0.5175 GB, free: 2.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/0.1169, allocations: 2.711 MB / 0.5202 GB, free: 15.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.1169, allocations: 0 / 0.5202 GB, free: 15.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01331/0.1302, allocations: 3.964 MB / 0.5241 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1303, allocations: 59.41 kB / 0.5241 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.1303, allocations: 0 / 0.5241 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009874/0.1402, allocations: 1.912 MB / 0.526 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.142, allocations: 287.6 kB / 0.5263 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.1624, allocations: 8.04 MB / 0.5341 GB, free: 1.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.1645, allocations: 175.1 kB / 0.5343 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.1647, allocations: 51.98 kB / 0.5343 GB, free: 1.07 MB / 458.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.0008187/0.1655, allocations: 335.2 kB / 0.5347 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/0.1659, allocations: 163.2 kB / 0.5348 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.1782, allocations: 3.428 MB / 0.5382 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.1782, allocations: 15.98 kB / 0.5382 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/0.1782, allocations: 15.94 kB / 0.5382 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/0.1783, allocations: 7.969 kB / 0.5382 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.1934, allocations: 4.717 MB / 0.5428 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.1934, allocations: 0 / 0.5428 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.1941, allocations: 103.8 kB / 0.5429 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/0.2043, allocations: 2.017 MB / 0.5449 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/0.2046, allocations: 16 kB / 0.5449 GB, free: 6.133 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02376/0.2284, allocations: 9.899 MB / 0.5545 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2284, allocations: 0 / 0.5545 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.2436, allocations: 4.358 MB / 0.5588 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007597/0.2443, allocations: 143 kB / 0.5589 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00057/0.2449, allocations: 27.98 kB / 0.559 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.2464, allocations: 71.94 kB / 0.559 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008867/0.2473, allocations: 212.6 kB / 0.5592 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.2475, allocations: 24 kB / 0.5593 GB, free: 7.094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001755/0.2492, allocations: 0.7852 MB / 0.56 GB, free: 6.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2492, allocations: 0 / 0.56 GB, free: 6.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00236/0.2516, allocations: 479.6 kB / 0.5605 GB, free: 5.832 MB / 490.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.0004611/0.2521, allocations: 143 kB / 0.5606 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00668/0.2587, allocations: 2.442 MB / 0.563 GB, free: 3.172 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.2588, allocations: 4.125 kB / 0.563 GB, free: 3.168 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.2634, allocations: 1.606 MB / 0.5646 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.2646, allocations: 139.5 kB / 0.5647 GB, free: 1.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.2695, allocations: 2.231 MB / 0.5669 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.2701, allocations: 0.5237 MB / 0.5674 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004901/0.2706, allocations: 120 kB / 0.5675 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.2709, allocations: 80.48 kB / 0.5676 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/0.2709, allocations: 0 / 0.5676 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.05273/0.3237, allocations: 26.82 MB / 0.5938 GB, free: 3.609 MB / 0.5105 GB " [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: 7.036901823943481]