Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001412/0.001412, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.424/1.424, allocations: 177.1 MB / 199.4 MB, free: 8.418 MB / 190.1 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.001918/0.001918, allocations: 161.9 kB / 256 MB, free: 4.312 MB / 238.1 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.5745/0.5745, allocations: 80.25 MB / 392.6 MB, free: 29.7 MB / 334.1 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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 1.281 kB / 0.5553 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.977e-05, allocations: 3.812 kB / 0.5553 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01046/0.01049, allocations: 11.73 MB / 0.5668 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008133/0.01862, allocations: 3.442 MB / 0.5702 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.02178, allocations: 31.25 kB / 0.5702 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.02339, allocations: 0.5545 MB / 0.5707 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.02854, allocations: 1.611 MB / 0.5723 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.03211, allocations: 1.548 MB / 0.5738 GB, free: 420 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007277/0.03939, allocations: 3.739 MB / 0.5775 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.04081, allocations: 0.5895 MB / 0.578 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.04586, allocations: 2.122 MB / 0.5801 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.04856, allocations: 1.558 MB / 0.5816 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000524/0.04908, allocations: 287.9 kB / 0.5819 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.05021, allocations: 443.8 kB / 0.5823 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007219/0.05093, allocations: 0.7777 MB / 0.5831 GB, free: 9.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.0523, allocations: 1.082 MB / 0.5842 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.05724, allocations: 4.08 MB / 0.5881 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05725, allocations: 0 / 0.5881 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.05725, allocations: 0 / 0.5881 GB, free: 4.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.165e-05/0.05734, allocations: 4 kB / 0.5881 GB, free: 4.551 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02551/0.08285, allocations: 7.343 MB / 0.5953 GB, free: 13.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.0829, allocations: 8.031 kB / 0.5953 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.09923, allocations: 2.327 MB / 0.5976 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.1036, allocations: 1.793 MB / 0.5993 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009128/0.1045, allocations: 0.8256 MB / 0.6002 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.1051, allocations: 220 kB / 0.6004 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007249/0.1124, allocations: 3.086 MB / 0.6034 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.1124, allocations: 0 / 0.6034 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/0.1127, allocations: 88 kB / 0.6035 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.1127, allocations: 48 kB / 0.6035 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006855/0.1196, allocations: 2.826 MB / 0.6063 GB, free: 1.566 MB / 462.1 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.02104/0.1406, allocations: 7.433 MB / 0.6135 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.1527, allocations: 3.568 MB / 0.617 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004906/0.1576, allocations: 1.834 MB / 0.6188 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.1579, allocations: 37.92 kB / 0.6188 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00551/0.1634, allocations: 2.281 MB / 0.6211 GB, free: 2.172 MB / 478.1 MB Notification: Performance of pre-optimization done (n=248): time 5.36e-06/0.1634, allocations: 0 / 0.6211 GB, free: 2.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=248): time 0.1335/0.297, allocations: 27.96 MB / 0.6484 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.2972, allocations: 184.2 kB / 0.6485 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.3011, allocations: 2.252 MB / 0.6507 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007576/0.3018, allocations: 69.7 kB / 0.6508 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.3029, allocations: 1.197 MB / 0.652 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.3043, allocations: 0.8985 MB / 0.6529 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.3055, allocations: 0.5461 MB / 0.6534 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3057, allocations: 301.1 kB / 0.6537 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00498/0.3106, allocations: 2.047 MB / 0.6557 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005495/0.3161, allocations: 2.41 MB / 0.658 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06271/0.3788, allocations: 14.29 MB / 0.672 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.3789, allocations: 0 / 0.672 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.04742/0.4263, allocations: 12.5 MB / 0.6842 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.4264, allocations: 114.8 kB / 0.6843 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.4264, allocations: 4 kB / 0.6843 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02092/0.4473, allocations: 5.245 MB / 0.6894 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/0.4509, allocations: 0.55 MB / 0.69 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07167/0.5226, allocations: 22.49 MB / 0.7119 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/0.5275, allocations: 497.8 kB / 0.7124 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007136/0.5282, allocations: 112 kB / 0.7125 GB, free: 3.707 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00198/0.5302, allocations: 0.5299 MB / 0.713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/0.5312, allocations: 314 kB / 0.7133 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04596/0.5772, allocations: 11.87 MB / 0.7249 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/0.5772, allocations: 24 kB / 0.7249 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-05/0.5773, allocations: 20 kB / 0.725 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.518e-05/0.5774, allocations: 15.89 kB / 0.725 GB, free: 6.848 MB / 0.5762 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.3028/0.8802, allocations: 14.22 MB / 0.7389 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.8803, allocations: 0 / 0.7389 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.8818, allocations: 244.4 kB / 0.7391 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01913/0.9009, allocations: 5.24 MB / 0.7442 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007759/0.9017, allocations: 48.86 kB / 0.7443 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05741/0.9591, allocations: 23.99 MB / 0.7677 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9591, allocations: 3.969 kB / 0.7677 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04384/1.003, allocations: 14.3 MB / 0.7817 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000955/1.004, allocations: 349.9 kB / 0.782 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006725/1.005, allocations: 44 kB / 0.782 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.008, allocations: 295.6 kB / 0.7823 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002218/1.01, allocations: 0.6112 MB / 0.7829 GB, free: 131 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.01, allocations: 63.98 kB / 0.783 GB, free: 131 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001929/1.012, allocations: 1.481 MB / 0.7844 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.012, allocations: 3.828 kB / 0.7844 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00403/1.016, allocations: 1.181 MB / 0.7856 GB, free: 128.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005528/1.017, allocations: 177.2 kB / 0.7857 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.034, allocations: 6.444 MB / 0.792 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.034, allocations: 0 / 0.792 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.047, allocations: 4.258 MB / 0.7962 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.049, allocations: 269.5 kB / 0.7964 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00785/1.057, allocations: 5.297 MB / 0.8016 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/1.058, allocations: 1.252 MB / 0.8028 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00102/1.059, allocations: 266.2 kB / 0.8031 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/1.059, allocations: 168.5 kB / 0.8033 GB, free: 110 MB / 0.5762 GB Notification: Performance of SimCode: time 1.382e-06/1.059, allocations: 4 kB / 0.8033 GB, free: 110 MB / 0.5762 GB Notification: Performance of Templates: time 0.08029/1.14, allocations: 69.02 MB / 0.8707 GB, free: 41.23 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.836640451103449] Failed to read output from testmodel.py, exit status != 0: 1.149155117571354 1.1584933 1.09899912 Calling exit ...