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.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.001408/0.001408, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.512/1.512, allocations: 230.6 MB / 252.7 MB, free: 14.24 MB / 206.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.002063/0.002063, allocations: 210.6 kB / 309.2 MB, free: 3.078 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6461/0.6461, allocations: 107.3 MB / 473 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 92.48 kB / 0.6338 GB, free: 29.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1604, allocations: 80.18 MB / 0.7121 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02153/0.1819, allocations: 18.62 MB / 0.7303 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1947, allocations: 4.885 MB / 0.7351 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.1991, allocations: 44 kB / 0.7351 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.2025, allocations: 0.8828 MB / 0.736 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008669/0.2112, allocations: 2.303 MB / 0.7382 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006216/0.2174, allocations: 2.062 MB / 0.7402 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009715/0.2271, allocations: 5.83 MB / 0.7459 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.2295, allocations: 0.8611 MB / 0.7468 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.2342, allocations: 2.443 MB / 0.7492 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.2392, allocations: 2.709 MB / 0.7518 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.2409, allocations: 444 kB / 0.7522 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.2432, allocations: 0.6013 MB / 0.7528 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.2446, allocations: 1.174 MB / 0.754 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.2479, allocations: 2.148 MB / 0.7561 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.2572, allocations: 6.394 MB / 0.7623 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2572, allocations: 0 / 0.7623 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2572, allocations: 0 / 0.7623 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002467/0.2574, allocations: 0 / 0.7623 GB, free: 3.293 MB / 0.5294 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.03522/0.2926, allocations: 9.993 MB / 0.7721 GB, free: 9.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.991e-05/0.2927, allocations: 12.02 kB / 0.7721 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02895/0.3217, allocations: 4.066 MB / 0.776 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/0.3289, allocations: 2.602 MB / 0.7786 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001357/0.3303, allocations: 1.037 MB / 0.7796 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.332, allocations: 355.9 kB / 0.7799 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.3455, allocations: 4.78 MB / 0.7846 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.911e-05/0.3455, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004629/0.346, allocations: 140 kB / 0.7847 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-05/0.3461, allocations: 84 kB / 0.7848 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.3579, allocations: 4.261 MB / 0.789 GB, free: 7.586 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 preOpt removeSimpleEquations (simulation): time 0.04121/0.3991, allocations: 13.09 MB / 0.8018 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.4136, allocations: 4.391 MB / 0.8061 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007194/0.4208, allocations: 2.515 MB / 0.8085 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.4215, allocations: 62.95 kB / 0.8086 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3766/0.7981, allocations: 3.218 MB / 0.8117 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 1.094e-05/0.7981, allocations: 1.422 kB / 0.8117 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2915/1.09, allocations: 66.59 MB / 0.8767 GB, free: 43.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/1.09, allocations: 145.8 kB / 0.8769 GB, free: 43.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/1.094, allocations: 3.263 MB / 0.8801 GB, free: 40.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.095, allocations: 85.7 kB / 0.8802 GB, free: 40.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/1.096, allocations: 2.015 MB / 0.8821 GB, free: 38.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.098, allocations: 1.388 MB / 0.8835 GB, free: 37.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/1.099, allocations: 0.6824 MB / 0.8841 GB, free: 36.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/1.099, allocations: 301.1 kB / 0.8844 GB, free: 36.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.104, allocations: 2.659 MB / 0.887 GB, free: 33.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/1.109, allocations: 3.291 MB / 0.8902 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06699/1.176, allocations: 19.31 MB / 0.9091 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.593e-05/1.176, allocations: 4 kB / 0.9091 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.05609/1.232, allocations: 17.15 MB / 0.9258 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.233, allocations: 71.41 kB / 0.9259 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/1.233, allocations: 16 kB / 0.9259 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02925/1.262, allocations: 7.295 MB / 0.9331 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003909/1.266, allocations: 0.6757 MB / 0.9337 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1069/1.373, allocations: 32.85 MB / 0.9658 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0075/1.38, allocations: 0.6221 MB / 0.9664 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.382, allocations: 156 kB / 0.9666 GB, free: 15.93 MB / 0.6387 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.003624/1.385, allocations: 0.6854 MB / 0.9672 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002683/1.388, allocations: 477 kB / 0.9677 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06422/1.452, allocations: 16.78 MB / 0.9841 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/1.452, allocations: 40 kB / 0.9841 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001111/1.452, allocations: 28 kB / 0.9841 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/1.452, allocations: 19.92 kB / 0.9842 GB, free: 13.83 MB / 0.6544 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.07533/1.528, allocations: 20.08 MB / 1.004 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/1.528, allocations: 0 / 1.004 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.531, allocations: 395.5 kB / 1.004 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02879/1.559, allocations: 7.333 MB / 1.011 GB, free: 2.051 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/1.561, allocations: 71.98 kB / 1.011 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0978/1.659, allocations: 30.73 MB / 1.041 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.659, allocations: 4 kB / 1.041 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07077/1.729, allocations: 20.23 MB / 1.061 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.731, allocations: 0.5044 MB / 1.062 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001724/1.733, allocations: 67.98 kB / 1.062 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00568/1.739, allocations: 379.6 kB / 1.062 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004002/1.743, allocations: 0.823 MB / 1.063 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008359/1.743, allocations: 95.92 kB / 1.063 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004787/1.748, allocations: 2.133 MB / 1.065 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.61e-07/1.748, allocations: 0 / 1.065 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008882/1.757, allocations: 1.825 MB / 1.067 GB, free: 9.008 MB / 0.7325 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.001208/1.758, allocations: 198.3 kB / 1.067 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03025/1.789, allocations: 9.036 MB / 1.076 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.789, allocations: 4 kB / 1.076 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02199/1.811, allocations: 5.937 MB / 1.082 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004793/1.815, allocations: 387.6 kB / 1.082 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.834, allocations: 8.213 MB / 1.09 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002987/1.837, allocations: 1.948 MB / 1.092 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002235/1.839, allocations: 371.1 kB / 1.092 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.841, allocations: 255.4 kB / 1.093 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of SimCode: time 1.753e-06/1.841, allocations: 4 kB / 1.093 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of Templates: time 0.4484/2.289, allocations: 104.8 MB / 1.195 GB, free: 203 MB / 0.7637 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: 11.62186356447637] Failed to read output from testmodel.py, exit status != 0: 2.298731204122305 2.307979225 2.048441284 Calling exit ...