Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001464/0.001464, 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.418/1.418, allocations: 177.1 MB / 199.4 MB, free: 8.434 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.001611/0.001611, allocations: 160.2 kB / 256 MB, free: 4.32 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.6138/0.6138, allocations: 80.24 MB / 392.6 MB, free: 29.73 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5554 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.642e-05, allocations: 5.266 kB / 0.5554 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01755/0.01757, allocations: 18.62 MB / 0.5736 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.03284, allocations: 4.889 MB / 0.5784 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005946/0.03878, allocations: 44.09 kB / 0.5784 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.04292, allocations: 0.8845 MB / 0.5793 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.05458, allocations: 2.376 MB / 0.5816 GB, free: 10 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007656/0.06223, allocations: 2.096 MB / 0.5836 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01399/0.07622, allocations: 5.947 MB / 0.5894 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.0794, allocations: 0.8689 MB / 0.5903 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/0.09085, allocations: 3.35 MB / 0.5936 GB, free: 15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007771/0.09862, allocations: 2.309 MB / 0.5958 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.1009, allocations: 448 kB / 0.5962 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.104, allocations: 0.6052 MB / 0.5968 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.1057, allocations: 1.19 MB / 0.598 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004315/0.11, allocations: 1.744 MB / 0.5997 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.1211, allocations: 6.4 MB / 0.606 GB, free: 2.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1211, allocations: 0 / 0.606 GB, free: 2.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1211, allocations: 0 / 0.606 GB, free: 2.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002928/0.1214, allocations: 0 / 0.606 GB, free: 2.27 MB / 462.1 MB 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.0371/0.1585, allocations: 9.943 MB / 0.6157 GB, free: 8.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.1586, allocations: 8.031 kB / 0.6157 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/0.1878, allocations: 4.059 MB / 0.6196 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007104/0.1949, allocations: 2.606 MB / 0.6222 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/0.1962, allocations: 1.033 MB / 0.6232 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.1975, allocations: 352 kB / 0.6235 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.2112, allocations: 4.776 MB / 0.6282 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.177e-05/0.2112, allocations: 4 kB / 0.6282 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000525/0.2117, allocations: 140 kB / 0.6283 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.701e-05/0.2118, allocations: 87.94 kB / 0.6284 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.2242, allocations: 4.265 MB / 0.6326 GB, free: 6.625 MB / 494.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.0425/0.2668, allocations: 13.08 MB / 0.6453 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/0.2814, allocations: 4.395 MB / 0.6496 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008061/0.2895, allocations: 2.519 MB / 0.6521 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007286/0.2902, allocations: 54.97 kB / 0.6521 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01008/0.3003, allocations: 3.232 MB / 0.6553 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=385): time 7.544e-06/0.3003, allocations: 0 / 0.6553 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385): time 0.6085/0.9088, allocations: 66.59 MB / 0.7203 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.9089, allocations: 143.6 kB / 0.7205 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006878/0.9158, allocations: 3.27 MB / 0.7237 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001213/0.917, allocations: 89.8 kB / 0.7238 GB, free: 136 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.9184, allocations: 2.013 MB / 0.7257 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/0.9203, allocations: 1.371 MB / 0.7271 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.9219, allocations: 0.6683 MB / 0.7277 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.922, allocations: 304.9 kB / 0.728 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006221/0.9282, allocations: 2.66 MB / 0.7306 GB, free: 133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007281/0.9355, allocations: 3.285 MB / 0.7338 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07695/1.012, allocations: 19.32 MB / 0.7527 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.513e-05/1.012, allocations: 3.125 kB / 0.7527 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.05891/1.071, allocations: 17.15 MB / 0.7694 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/1.071, allocations: 63.41 kB / 0.7695 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/1.072, allocations: 16 kB / 0.7695 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0274/1.099, allocations: 7.302 MB / 0.7766 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/1.103, allocations: 0.667 MB / 0.7773 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09074/1.193, allocations: 32.85 MB / 0.8094 GB, free: 71.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007063/1.201, allocations: 0.6274 MB / 0.81 GB, free: 71.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.202, allocations: 156 kB / 0.8101 GB, free: 71.06 MB / 0.5606 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 (402): * Single equations (assignments): 399 * 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.002667/1.204, allocations: 0.6782 MB / 0.8108 GB, free: 70.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.206, allocations: 480.9 kB / 0.8113 GB, free: 69.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05491/1.261, allocations: 16.77 MB / 0.8276 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.261, allocations: 36 kB / 0.8277 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-05/1.261, allocations: 36 kB / 0.8277 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.943e-05/1.261, allocations: 19.92 kB / 0.8277 GB, free: 52.96 MB / 0.5606 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.06197/1.323, allocations: 20.08 MB / 0.8473 GB, free: 32.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.323, allocations: 4.031 kB / 0.8473 GB, free: 32.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/1.325, allocations: 395.5 kB / 0.8477 GB, free: 32.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02567/1.351, allocations: 7.335 MB / 0.8549 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008655/1.352, allocations: 71.98 kB / 0.8549 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09919/1.451, allocations: 30.72 MB / 0.8849 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.451, allocations: 0 / 0.8849 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09168/1.543, allocations: 20.23 MB / 0.9047 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.544, allocations: 0.5077 MB / 0.9052 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/1.547, allocations: 64 kB / 0.9053 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00743/1.554, allocations: 383.5 kB / 0.9056 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005353/1.559, allocations: 0.8153 MB / 0.9064 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001322/1.561, allocations: 104 kB / 0.9065 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006941/1.568, allocations: 2.129 MB / 0.9086 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/1.568, allocations: 0 / 0.9086 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009788/1.577, allocations: 1.828 MB / 0.9104 GB, free: 148 kB / 0.5919 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.001652/1.579, allocations: 206.3 kB / 0.9106 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.03111/1.61, allocations: 9.007 MB / 0.9194 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.61, allocations: 4 kB / 0.9194 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02397/1.634, allocations: 5.917 MB / 0.9252 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006185/1.64, allocations: 386.6 kB / 0.9255 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/1.662, allocations: 8.027 MB / 0.9334 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/1.664, allocations: 1.94 MB / 0.9353 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001755/1.666, allocations: 379.1 kB / 0.9356 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/1.667, allocations: 252.4 kB / 0.9359 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/1.667, allocations: 0 / 0.9359 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.4219/2.088, allocations: 98.95 MB / 1.032 GB, free: 160.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.08978233486414] Failed to read output from testmodel.py, exit status != 0: 2.098558586090803 2.108177558 1.984479726 Calling exit ...