Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.0008869/0.0008869, 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.9884/0.9884, allocations: 177.1 MB / 200 MB, free: 5.504 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.001477/0.001477, allocations: 155.5 kB / 256.6 MB, free: 12.98 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.2849/0.2849, allocations: 80.24 MB / 393.4 MB, free: 3.211 MB / 362.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.786e-06/2.786e-06, allocations: 0 / 489.9 MB, free: 63.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.272e-05, allocations: 2.938 kB / 489.9 MB, free: 63.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01751/0.01754, allocations: 20.54 MB / 0.4985 GB, free: 42.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.03242, allocations: 4.879 MB / 0.5033 GB, free: 37.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006701/0.03912, allocations: 47.94 kB / 0.5033 GB, free: 37.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.043, allocations: 0.8836 MB / 0.5042 GB, free: 36.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008137/0.05114, allocations: 2.395 MB / 0.5065 GB, free: 34.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.05567, allocations: 2.041 MB / 0.5085 GB, free: 32.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007339/0.06301, allocations: 5.868 MB / 0.5142 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.06468, allocations: 0.8766 MB / 0.5151 GB, free: 25.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.07031, allocations: 3.343 MB / 0.5184 GB, free: 22.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.07277, allocations: 2.286 MB / 0.5206 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008137/0.07358, allocations: 436 kB / 0.521 GB, free: 19.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.07473, allocations: 0.5944 MB / 0.5216 GB, free: 18.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.07522, allocations: 1.178 MB / 0.5227 GB, free: 17.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.07645, allocations: 1.722 MB / 0.5244 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/0.08156, allocations: 4.489 MB / 0.5288 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.08157, allocations: 0 / 0.5288 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.08158, allocations: 4 kB / 0.5288 GB, free: 11.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000165/0.08174, allocations: 1.812 kB / 0.5288 GB, free: 11.35 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01511/0.09685, allocations: 10.13 MB / 0.5387 GB, free: 1.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.09691, allocations: 8.031 kB / 0.5387 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/0.1108, allocations: 4.8 MB / 0.5434 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004678/0.1155, allocations: 2.543 MB / 0.5459 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007134/0.1162, allocations: 1.017 MB / 0.5469 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007479/0.1169, allocations: 359.9 kB / 0.5472 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.1217, allocations: 3.136 MB / 0.5503 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.1217, allocations: 3.938 kB / 0.5503 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.122, allocations: 140 kB / 0.5504 GB, free: 4.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.122, allocations: 87.94 kB / 0.5505 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.1254, allocations: 2.033 MB / 0.5525 GB, free: 2.707 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.01973/0.1452, allocations: 12.28 MB / 0.5645 GB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.1497, allocations: 2.578 MB / 0.567 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.1517, allocations: 1.212 MB / 0.5682 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.1519, allocations: 78.95 kB / 0.5682 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002621/0.1546, allocations: 1.851 MB / 0.5701 GB, free: 180 kB / 442.7 MB Notification: Performance of pre-optimization done (n=383): time 1.044e-05/0.1546, allocations: 8 kB / 0.5701 GB, free: 172 kB / 442.7 MB Notification: Performance of matching and sorting (n=383): time 0.3593/0.5138, allocations: 56.14 MB / 0.6249 GB, free: 135.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.5139, allocations: 143.4 kB / 0.625 GB, free: 135.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.5182, allocations: 2.985 MB / 0.6279 GB, free: 134.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009603/0.5192, allocations: 88.08 kB / 0.628 GB, free: 134.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.5205, allocations: 2.076 MB / 0.63 GB, free: 134.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001729/0.5222, allocations: 1.378 MB / 0.6314 GB, free: 134 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.5235, allocations: 0.6873 MB / 0.6321 GB, free: 134 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.5236, allocations: 480.7 kB / 0.6325 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.5257, allocations: 1.148 MB / 0.6336 GB, free: 133.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.5277, allocations: 1.967 MB / 0.6356 GB, free: 132.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006448/0.5342, allocations: 4.883 MB / 0.6403 GB, free: 128.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/0.5342, allocations: 4 kB / 0.6403 GB, free: 128.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02353/0.5577, allocations: 11.66 MB / 0.6517 GB, free: 116.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.5578, allocations: 63.41 kB / 0.6518 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.5578, allocations: 23.94 kB / 0.6518 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02011/0.5779, allocations: 7.433 MB / 0.6591 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.5802, allocations: 0.665 MB / 0.6597 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02953/0.6097, allocations: 13.68 MB / 0.6731 GB, free: 94.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.6136, allocations: 0.5303 MB / 0.6736 GB, free: 94.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.6139, allocations: 148 kB / 0.6737 GB, free: 94 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (398): * Single equations (assignments): 395 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001272/0.6152, allocations: 410.9 kB / 0.6741 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.6163, allocations: 0.5912 MB / 0.6747 GB, free: 93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/0.6375, allocations: 11.23 MB / 0.6857 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.6376, allocations: 43.83 kB / 0.6857 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.75e-05/0.6376, allocations: 28 kB / 0.6857 GB, free: 81.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.106e-05/0.6377, allocations: 19.92 kB / 0.6857 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/0.6655, allocations: 14.41 MB / 0.6998 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.6655, allocations: 0 / 0.6998 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.667, allocations: 395.5 kB / 0.7002 GB, free: 66.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02057/0.6876, allocations: 7.64 MB / 0.7077 GB, free: 59.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009897/0.6886, allocations: 71.98 kB / 0.7077 GB, free: 59.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/0.7157, allocations: 14.99 MB / 0.7224 GB, free: 43.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7157, allocations: 10.88 kB / 0.7224 GB, free: 43.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02447/0.7401, allocations: 12.51 MB / 0.7346 GB, free: 31.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.7414, allocations: 0.4947 MB / 0.7351 GB, free: 30.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007897/0.7422, allocations: 64 kB / 0.7351 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.7443, allocations: 287.7 kB / 0.7354 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001872/0.7462, allocations: 0.7723 MB / 0.7362 GB, free: 29.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/0.7464, allocations: 95.98 kB / 0.7363 GB, free: 29.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00166/0.7481, allocations: 1.765 MB / 0.738 GB, free: 27.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7481, allocations: 0 / 0.738 GB, free: 27.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004093/0.7522, allocations: 1.808 MB / 0.7397 GB, free: 26.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004929/0.7527, allocations: 207.6 kB / 0.7399 GB, free: 25.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009915/0.7626, allocations: 5.977 MB / 0.7458 GB, free: 19.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.7626, allocations: 0 / 0.7458 GB, free: 19.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007684/0.7703, allocations: 4.492 MB / 0.7502 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.7725, allocations: 451 kB / 0.7506 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.7813, allocations: 7.348 MB / 0.7578 GB, free: 7.477 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.7818, allocations: 0.7981 MB / 0.7585 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009025/0.7827, allocations: 375.1 kB / 0.7589 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.7833, allocations: 256.4 kB / 0.7591 GB, free: 6.027 MB / 490.7 MB Notification: Performance of SimCode: time 2.054e-06/0.7833, allocations: 0 / 0.7591 GB, free: 6.027 MB / 490.7 MB Notification: Performance of Templates: time 0.2914/1.075, allocations: 104.4 MB / 0.8611 GB, free: 138.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.5791388167999685]