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.00146/0.00146, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.367/1.367, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001625/0.001625, allocations: 209.6 kB / 310 MB, free: 3.129 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.5461/0.5461, allocations: 101.3 MB / 467.8 MB, free: 30.59 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.002449/0.002449, allocations: 86.84 kB / 0.6258 GB, free: 32.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1182, allocations: 78.63 MB / 0.7026 GB, free: 384 kB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02107/0.1393, allocations: 21.96 MB / 0.724 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.1495, allocations: 4.92 MB / 0.7288 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.1525, allocations: 47.94 kB / 0.7288 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.1551, allocations: 0.8789 MB / 0.7297 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006921/0.1621, allocations: 2.312 MB / 0.732 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/0.1674, allocations: 2.063 MB / 0.734 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00799/0.1754, allocations: 5.755 MB / 0.7396 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.1774, allocations: 0.9157 MB / 0.7405 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.1809, allocations: 2.388 MB / 0.7428 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.1853, allocations: 2.951 MB / 0.7457 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.1866, allocations: 436 kB / 0.7461 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.1885, allocations: 0.6015 MB / 0.7467 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.19, allocations: 1.151 MB / 0.7478 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.1934, allocations: 2.614 MB / 0.7504 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.2004, allocations: 6.262 MB / 0.7565 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2004, allocations: 4 kB / 0.7565 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2004, allocations: 0 / 0.7565 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.865e-05/0.2005, allocations: 0 / 0.7565 GB, free: 8.883 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.02904/0.2296, allocations: 9.897 MB / 0.7662 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2296, allocations: 15.97 kB / 0.7662 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02525/0.2549, allocations: 4.047 MB / 0.7701 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/0.2608, allocations: 2.563 MB / 0.7726 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/0.262, allocations: 1.04 MB / 0.7737 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.2632, allocations: 352 kB / 0.774 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.2754, allocations: 4.723 MB / 0.7786 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/0.2755, allocations: 7.875 kB / 0.7786 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004535/0.276, allocations: 144 kB / 0.7788 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/0.276, allocations: 84 kB / 0.7788 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009064/0.2851, allocations: 4.24 MB / 0.783 GB, free: 13.4 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.03353/0.3186, allocations: 18.07 MB / 0.8006 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.3304, allocations: 4.347 MB / 0.8049 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005339/0.3358, allocations: 2.474 MB / 0.8073 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.3362, allocations: 70.91 kB / 0.8073 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006532/0.3428, allocations: 3.173 MB / 0.8104 GB, free: 24 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 5.75e-06/0.3428, allocations: 4 kB / 0.8104 GB, free: 20 kB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.5444/0.8872, allocations: 67.78 MB / 0.8766 GB, free: 51.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.8872, allocations: 141.8 kB / 0.8768 GB, free: 51.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.8907, allocations: 3.22 MB / 0.8799 GB, free: 47.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008572/0.8916, allocations: 89.7 kB / 0.88 GB, free: 47.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009808/0.8926, allocations: 1.997 MB / 0.8819 GB, free: 46.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.8941, allocations: 1.38 MB / 0.8833 GB, free: 44.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.8952, allocations: 0.6822 MB / 0.884 GB, free: 44.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.8952, allocations: 305.1 kB / 0.8843 GB, free: 43.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004474/0.8997, allocations: 2.581 MB / 0.8868 GB, free: 41.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004781/0.9045, allocations: 3.21 MB / 0.8899 GB, free: 37.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06125/0.9657, allocations: 18.99 MB / 0.9085 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/0.9658, allocations: 7.938 kB / 0.9085 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.04812/1.014, allocations: 17.14 MB / 0.9252 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/1.014, allocations: 67.39 kB / 0.9253 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/1.014, allocations: 16 kB / 0.9253 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02467/1.039, allocations: 7.153 MB / 0.9323 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/1.042, allocations: 0.6748 MB / 0.9329 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08851/1.13, allocations: 33.22 MB / 0.9654 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005544/1.136, allocations: 0.6269 MB / 0.966 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008911/1.137, allocations: 152 kB / 0.9661 GB, free: 7.469 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 (403): * Single equations (assignments): 400 * 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.002542/1.139, allocations: 0.6801 MB / 0.9668 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/1.141, allocations: 476.9 kB / 0.9672 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05504/1.196, allocations: 16.71 MB / 0.9836 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/1.196, allocations: 36 kB / 0.9836 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-05/1.196, allocations: 31.94 kB / 0.9836 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.464e-05/1.196, allocations: 15.94 kB / 0.9836 GB, free: 5.457 MB / 0.6387 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.06482/1.261, allocations: 21.68 MB / 1.005 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/1.261, allocations: 8.031 kB / 1.005 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.263, allocations: 391.5 kB / 1.005 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02564/1.289, allocations: 7.34 MB / 1.012 GB, free: 8.023 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007574/1.29, allocations: 75.92 kB / 1.012 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08173/1.371, allocations: 31.65 MB / 1.043 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.371, allocations: 0 / 1.043 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06347/1.435, allocations: 20.1 MB / 1.063 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.436, allocations: 0.5057 MB / 1.063 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.438, allocations: 71.92 kB / 1.064 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004915/1.442, allocations: 375.6 kB / 1.064 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003414/1.446, allocations: 0.8152 MB / 1.065 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000682/1.447, allocations: 95.98 kB / 1.065 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003995/1.451, allocations: 2.106 MB / 1.067 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.451, allocations: 0 / 1.067 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006415/1.457, allocations: 1.805 MB / 1.069 GB, free: 14.24 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.0008701/1.458, allocations: 206 kB / 1.069 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02588/1.484, allocations: 8.768 MB / 1.077 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.484, allocations: 0 / 1.077 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02063/1.504, allocations: 5.839 MB / 1.083 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007936/1.512, allocations: 388.4 kB / 1.083 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.531, allocations: 8.105 MB / 1.091 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/1.534, allocations: 2.447 MB / 1.094 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.536, allocations: 275.4 kB / 1.094 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.536, allocations: 4 kB / 1.094 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of Templates: time 0.3899/1.926, allocations: 89.21 MB / 1.181 GB, free: 196.8 MB / 0.7481 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: 13.840643126051873] Failed to read output from testmodel.py, exit status != 0: 1.9331713118590415 1.942130734 1.739588457 Calling exit ...