Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001266/0.001266, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.437/1.437, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001443/0.001443, allocations: 211.2 kB / 310 MB, free: 3.059 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.5961/0.5961, allocations: 107.3 MB / 473.7 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.00241/0.00241, allocations: 93.08 kB / 0.6346 GB, free: 29.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1272, allocations: 80.17 MB / 0.7129 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01937/0.1466, allocations: 18.5 MB / 0.7309 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1585, allocations: 4.822 MB / 0.7356 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.1621, allocations: 51.94 kB / 0.7357 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.165, allocations: 0.8789 MB / 0.7365 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008338/0.1733, allocations: 2.281 MB / 0.7388 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.1794, allocations: 2.05 MB / 0.7408 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.1909, allocations: 5.743 MB / 0.7464 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.1927, allocations: 0.8688 MB / 0.7472 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.1966, allocations: 2.396 MB / 0.7496 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/0.2007, allocations: 2.67 MB / 0.7522 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.2019, allocations: 436 kB / 0.7526 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.2035, allocations: 0.5937 MB / 0.7532 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.2045, allocations: 1.147 MB / 0.7543 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.2071, allocations: 2.125 MB / 0.7564 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.2151, allocations: 6.317 MB / 0.7625 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2151, allocations: 7.938 kB / 0.7625 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2151, allocations: 0 / 0.7625 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002107/0.2153, allocations: 3.984 kB / 0.7625 GB, free: 3.836 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03076/0.246, allocations: 9.888 MB / 0.7722 GB, free: 9.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2461, allocations: 8.031 kB / 0.7722 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/0.2719, allocations: 4.055 MB / 0.7762 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/0.2778, allocations: 2.578 MB / 0.7787 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/0.2789, allocations: 1.033 MB / 0.7797 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.2799, allocations: 352 kB / 0.78 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/0.2896, allocations: 4.752 MB / 0.7847 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.2897, allocations: 3.938 kB / 0.7847 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.2901, allocations: 140 kB / 0.7848 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-05/0.2901, allocations: 84 kB / 0.7849 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009012/0.2992, allocations: 4.245 MB / 0.789 GB, free: 8.316 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.03161/0.3308, allocations: 13.05 MB / 0.8018 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.343, allocations: 4.345 MB / 0.806 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005821/0.3488, allocations: 2.499 MB / 0.8085 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.3492, allocations: 58.95 kB / 0.8085 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006456/0.3556, allocations: 3.202 MB / 0.8116 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 5.921e-06/0.3556, allocations: 0 / 0.8116 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.5706/0.9263, allocations: 67.82 MB / 0.8779 GB, free: 43.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.9264, allocations: 141.8 kB / 0.878 GB, free: 43.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.9297, allocations: 3.219 MB / 0.8812 GB, free: 40.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007993/0.9305, allocations: 89.7 kB / 0.8812 GB, free: 40.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009953/0.9315, allocations: 2.005 MB / 0.8832 GB, free: 38.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.9329, allocations: 1.377 MB / 0.8845 GB, free: 37.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.934, allocations: 0.6587 MB / 0.8852 GB, free: 36.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.934, allocations: 313.1 kB / 0.8855 GB, free: 36.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/0.9388, allocations: 2.619 MB / 0.888 GB, free: 34.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005396/0.9442, allocations: 3.256 MB / 0.8912 GB, free: 30.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06334/1.008, allocations: 18.96 MB / 0.9097 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/1.008, allocations: 4 kB / 0.9097 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.05201/1.06, allocations: 17.17 MB / 0.9265 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.382e-05/1.06, allocations: 63.41 kB / 0.9266 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/1.06, allocations: 16 kB / 0.9266 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02577/1.085, allocations: 7.142 MB / 0.9336 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.089, allocations: 0.6631 MB / 0.9342 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08807/1.177, allocations: 32.31 MB / 0.9658 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/1.182, allocations: 0.6186 MB / 0.9664 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004953/1.183, allocations: 162.4 kB / 0.9665 GB, free: 1.07 MB / 0.6231 GB 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 (396): * Single equations (assignments): 393 * 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.00172/1.185, allocations: 0.663 MB / 0.9672 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009362/1.186, allocations: 473.1 kB / 0.9676 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05491/1.241, allocations: 16.74 MB / 0.984 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/1.241, allocations: 40 kB / 0.984 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-05/1.241, allocations: 33.02 kB / 0.984 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-05/1.241, allocations: 19.92 kB / 0.9841 GB, free: 15.03 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.06156/1.302, allocations: 20.02 MB / 1.004 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.302, allocations: 0 / 1.004 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/1.305, allocations: 391.5 kB / 1.004 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02629/1.331, allocations: 7.338 MB / 1.011 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008241/1.332, allocations: 67.98 kB / 1.011 GB, free: 3.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08443/1.416, allocations: 30.7 MB / 1.041 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.416, allocations: 0 / 1.041 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06477/1.481, allocations: 20.15 MB / 1.061 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.482, allocations: 0.5107 MB / 1.061 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.484, allocations: 68 kB / 1.061 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/1.488, allocations: 379.5 kB / 1.062 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003271/1.492, allocations: 0.8211 MB / 1.063 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005544/1.492, allocations: 91.98 kB / 1.063 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003474/1.496, allocations: 2.089 MB / 1.065 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.496, allocations: 0 / 1.065 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006069/1.502, allocations: 1.8 MB / 1.066 GB, free: 10.48 MB / 0.7325 GB 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.0008043/1.503, allocations: 203.2 kB / 1.067 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02691/1.529, allocations: 8.842 MB / 1.075 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.529, allocations: 4.062 kB / 1.075 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02091/1.55, allocations: 5.868 MB / 1.081 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.554, allocations: 390.2 kB / 1.081 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.57, allocations: 8.116 MB / 1.089 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.572, allocations: 1.935 MB / 1.091 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.573, allocations: 279.4 kB / 1.091 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.573, allocations: 0 / 1.091 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of Templates: time 0.3862/1.959, allocations: 91.08 MB / 1.18 GB, free: 211 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.08093331893906] Failed to read output from testmodel.py, exit status != 0: 1.9682251890189946 1.977496559 1.760242034 Calling exit ...