Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001572, allocations: 109.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 242.7 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 196.9 kB / 295.1 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5471/0.5471, allocations: 98.19 MB / 445.4 MB, free: 11.14 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 87.86 kB / 0.5911 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1726, allocations: 72.77 MB / 0.6622 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02493/0.1976, allocations: 21.98 MB / 0.6836 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.2122, allocations: 4.919 MB / 0.6884 GB, free: 364 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005689/0.218, allocations: 44 kB / 0.6885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3496/0.5676, allocations: 0.88 MB / 0.6893 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008531/0.5762, allocations: 2.045 MB / 0.6913 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00608/0.5823, allocations: 2.079 MB / 0.6934 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.5925, allocations: 5.796 MB / 0.699 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.5952, allocations: 1.321 MB / 0.7003 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.6004, allocations: 2.353 MB / 0.7026 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006109/0.6065, allocations: 2.986 MB / 0.7055 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.6088, allocations: 445.9 kB / 0.706 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.6121, allocations: 0.5909 MB / 0.7065 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.614, allocations: 1.166 MB / 0.7077 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005453/0.6195, allocations: 2.638 MB / 0.7103 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.6322, allocations: 6.321 MB / 0.7164 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.6322, allocations: 1.312 kB / 0.7164 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.906e-06/0.6323, allocations: 4 kB / 0.7164 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000361/0.6326, allocations: 0 / 0.7164 GB, free: 15.64 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.04203/0.6747, allocations: 9.408 MB / 0.7256 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.6747, allocations: 9.188 kB / 0.7256 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02873/0.7035, allocations: 4.047 MB / 0.7296 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008029/0.7116, allocations: 2.73 MB / 0.7322 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/0.7129, allocations: 0.957 MB / 0.7332 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.7147, allocations: 347.3 kB / 0.7335 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.73, allocations: 4.75 MB / 0.7382 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.7302, allocations: 0 / 0.7382 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001199/0.7314, allocations: 140.9 kB / 0.7383 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.7315, allocations: 84.69 kB / 0.7384 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.7432, allocations: 4.261 MB / 0.7425 GB, free: 15.41 MB / 0.5137 GB 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.04495/0.7882, allocations: 18.34 MB / 0.7604 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/0.8026, allocations: 5.035 MB / 0.7654 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00724/0.8099, allocations: 2.798 MB / 0.7681 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007847/0.8107, allocations: 68.27 kB / 0.7682 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008598/0.8193, allocations: 3.193 MB / 0.7713 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=385): time 8.195e-06/0.8194, allocations: 0 / 0.7713 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=385): time 0.3185/1.138, allocations: 66.84 MB / 0.8365 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.138, allocations: 145.8 kB / 0.8367 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007039/1.145, allocations: 3.274 MB / 0.8399 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.146, allocations: 93.64 kB / 0.84 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.148, allocations: 2.012 MB / 0.8419 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002824/1.151, allocations: 1.388 MB / 0.8433 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0037/1.155, allocations: 0.6825 MB / 0.844 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.155, allocations: 301.1 kB / 0.8442 GB, free: 6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007124/1.162, allocations: 2.616 MB / 0.8468 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00847/1.171, allocations: 3.249 MB / 0.85 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07899/1.25, allocations: 19.13 MB / 0.8687 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/1.25, allocations: 4 kB / 0.8687 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06571/1.316, allocations: 17.27 MB / 0.8855 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.316, allocations: 63.41 kB / 0.8856 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/1.316, allocations: 12 kB / 0.8856 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02948/1.345, allocations: 7.303 MB / 0.8927 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/1.349, allocations: 0.6748 MB / 0.8934 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1081/1.457, allocations: 33.9 MB / 0.9265 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007872/1.465, allocations: 0.6376 MB / 0.9271 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.467, allocations: 160 kB / 0.9273 GB, free: 288 kB / 0.6856 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.004049/1.471, allocations: 0.676 MB / 0.9279 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002598/1.473, allocations: 480.9 kB / 0.9284 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06505/1.539, allocations: 16.89 MB / 0.9449 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.293e-05/1.539, allocations: 36 kB / 0.9449 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001127/1.539, allocations: 28 kB / 0.9449 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/1.539, allocations: 15.94 kB / 0.945 GB, free: 14.08 MB / 0.7169 GB 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.4426/1.981, allocations: 21.92 MB / 0.9664 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.982, allocations: 3.5 kB / 0.9664 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/1.984, allocations: 396.8 kB / 0.9667 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02732/2.012, allocations: 7.339 MB / 0.9739 GB, free: 230 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.013, allocations: 77.7 kB / 0.974 GB, free: 230 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08467/2.097, allocations: 31.87 MB / 1.005 GB, free: 223.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.098, allocations: 0 / 1.005 GB, free: 223.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06047/2.158, allocations: 20.32 MB / 1.025 GB, free: 216.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/2.16, allocations: 0.5845 MB / 1.026 GB, free: 215.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/2.162, allocations: 68 kB / 1.026 GB, free: 215.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006113/2.168, allocations: 384 kB / 1.026 GB, free: 215.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003739/2.172, allocations: 0.7825 MB / 1.027 GB, free: 215.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008887/2.173, allocations: 95.75 kB / 1.027 GB, free: 215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004278/2.177, allocations: 2.147 MB / 1.029 GB, free: 213.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/2.177, allocations: 0 / 1.029 GB, free: 213.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008687/2.186, allocations: 1.822 MB / 1.031 GB, free: 211.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.001256/2.187, allocations: 198.3 kB / 1.031 GB, free: 211.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02796/2.215, allocations: 9.388 MB / 1.04 GB, free: 201.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.215, allocations: 1.5 kB / 1.04 GB, free: 201.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.02128/2.236, allocations: 6.211 MB / 1.046 GB, free: 195.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/2.242, allocations: 386.4 kB / 1.046 GB, free: 195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/2.26, allocations: 8.255 MB / 1.055 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/2.262, allocations: 2.451 MB / 1.057 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/2.264, allocations: 279.4 kB / 1.057 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/2.264, allocations: 0 / 1.057 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.09977/2.364, allocations: 89.22 MB / 1.144 GB, free: 94.69 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.91395175200887] Failed to read output from testmodel.py, exit status != 0: 2.371406461112201 2.379211991 1.745148108 Calling exit ...