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.000788/0.000788, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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 0.8731/0.8731, allocations: 177.2 MB / 200.2 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.001076/0.001076, allocations: 156.6 kB / 256.7 MB, free: 13.35 MB / 250.7 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.251/0.251, allocations: 80.36 MB / 393.5 MB, free: 2.367 MB / 314.7 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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5563 GB, free: 11.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.84e-05, allocations: 6.219 kB / 0.5563 GB, free: 11.97 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01191/0.01194, allocations: 18.49 MB / 0.5744 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009804/0.02174, allocations: 4.838 MB / 0.5791 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.02513, allocations: 47.94 kB / 0.5791 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.0268, allocations: 0.875 MB / 0.58 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.03184, allocations: 2.353 MB / 0.5823 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.03521, allocations: 2.076 MB / 0.5843 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005913/0.04112, allocations: 5.869 MB / 0.5901 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.04271, allocations: 0.8648 MB / 0.5909 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.04829, allocations: 3.307 MB / 0.5941 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.05147, allocations: 2.258 MB / 0.5963 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.0528, allocations: 436 kB / 0.5967 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.05377, allocations: 0.5974 MB / 0.5973 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000615/0.05438, allocations: 1.163 MB / 0.5985 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.2263/0.2806, allocations: 1.727 MB / 0.6002 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.2851, allocations: 6.313 MB / 0.6063 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2851, allocations: 0 / 0.6063 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2851, allocations: 0 / 0.6063 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.887e-05/0.2852, allocations: 1.562 kB / 0.6063 GB, free: 64.54 MB / 0.5105 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.01699/0.3022, allocations: 9.843 MB / 0.6159 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.3022, allocations: 9.344 kB / 0.6159 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.3162, allocations: 4.049 MB / 0.6199 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.3203, allocations: 2.568 MB / 0.6224 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005726/0.3209, allocations: 1.033 MB / 0.6234 GB, free: 59.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.3214, allocations: 351.5 kB / 0.6237 GB, free: 59.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006673/0.3281, allocations: 4.756 MB / 0.6284 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/0.3281, allocations: 1.891 kB / 0.6284 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.3284, allocations: 141.1 kB / 0.6285 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.3285, allocations: 89.28 kB / 0.6286 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005837/0.3343, allocations: 4.245 MB / 0.6328 GB, free: 56.89 MB / 0.5105 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.01828/0.3526, allocations: 13.05 MB / 0.6455 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/0.3586, allocations: 4.354 MB / 0.6497 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.3614, allocations: 2.501 MB / 0.6522 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.3617, allocations: 59.28 kB / 0.6522 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/0.365, allocations: 3.204 MB / 0.6554 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=383): time 5.32e-06/0.365, allocations: 0 / 0.6554 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=383): time 0.1477/0.5127, allocations: 67.82 MB / 0.7216 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.5128, allocations: 141.8 kB / 0.7217 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.5166, allocations: 3.205 MB / 0.7249 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007786/0.5174, allocations: 97.69 kB / 0.725 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009506/0.5183, allocations: 1.995 MB / 0.7269 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.5195, allocations: 1.371 MB / 0.7283 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009241/0.5204, allocations: 0.6548 MB / 0.7289 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.5205, allocations: 305.1 kB / 0.7292 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/0.5242, allocations: 2.631 MB / 0.7318 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.5277, allocations: 3.252 MB / 0.7349 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03719/0.5649, allocations: 18.96 MB / 0.7534 GB, free: 8.746 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.5649, allocations: 4 kB / 0.7535 GB, free: 8.742 MB / 0.573 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.03085/0.5958, allocations: 17.16 MB / 0.7702 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.5959, allocations: 69.59 kB / 0.7703 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.5959, allocations: 16 kB / 0.7703 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/0.6093, allocations: 7.162 MB / 0.7773 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.6118, allocations: 0.6633 MB / 0.7779 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04962/0.6614, allocations: 32.3 MB / 0.8095 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.6657, allocations: 0.6222 MB / 0.8101 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.666, allocations: 148 kB / 0.8102 GB, free: 14.68 MB / 0.6355 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.001602/0.6676, allocations: 0.676 MB / 0.8109 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/0.6683, allocations: 473 kB / 0.8113 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02964/0.6979, allocations: 16.74 MB / 0.8277 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.6979, allocations: 36 kB / 0.8277 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/0.698, allocations: 32 kB / 0.8278 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.449e-05/0.6981, allocations: 23.92 kB / 0.8278 GB, free: 12.78 MB / 0.6511 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.03529/0.7334, allocations: 20.02 MB / 0.8473 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.7334, allocations: 0 / 0.8473 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.7349, allocations: 385.9 kB / 0.8477 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01399/0.7489, allocations: 7.335 MB / 0.8549 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006703/0.7496, allocations: 71.98 kB / 0.8549 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2771/1.027, allocations: 30.69 MB / 0.8849 GB, free: 229.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.027, allocations: 1.406 kB / 0.8849 GB, free: 229.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03465/1.061, allocations: 20.16 MB / 0.9046 GB, free: 222.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.063, allocations: 0.4977 MB / 0.9051 GB, free: 222.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/1.064, allocations: 64 kB / 0.9051 GB, free: 222.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.066, allocations: 377.5 kB / 0.9055 GB, free: 222 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002305/1.068, allocations: 0.8155 MB / 0.9063 GB, free: 221.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.068, allocations: 95.83 kB / 0.9064 GB, free: 221.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001773/1.07, allocations: 2.088 MB / 0.9084 GB, free: 219.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.92e-07/1.07, allocations: 0 / 0.9084 GB, free: 219.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003681/1.074, allocations: 1.81 MB / 0.9102 GB, free: 217.9 MB / 0.6667 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.0004319/1.074, allocations: 205.7 kB / 0.9104 GB, free: 217.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.087, allocations: 8.803 MB / 0.919 GB, free: 208.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.087, allocations: 10.36 kB / 0.919 GB, free: 208.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009565/1.097, allocations: 5.85 MB / 0.9247 GB, free: 202.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.099, allocations: 381.5 kB / 0.9251 GB, free: 202.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009162/1.108, allocations: 7.966 MB / 0.9328 GB, free: 194.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009973/1.109, allocations: 1.931 MB / 0.9347 GB, free: 192.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/1.11, allocations: 272.4 kB / 0.935 GB, free: 192.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.374e-06/1.11, allocations: 0 / 0.935 GB, free: 192.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.06433/1.174, allocations: 91.03 MB / 1.024 GB, free: 101.2 MB / 0.6667 GB " [Timeout remaining time 659] 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: 8.987390118651092] Failed to read output from testmodel.py, exit status != 0: 1.1803858494386077 1.188248363 0.901746388 Calling exit ...