Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.0006703/0.0006703, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.8676/0.8676, allocations: 177.1 MB / 200.2 MB, free: 5.969 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.001021/0.001021, allocations: 156.6 kB / 256.7 MB, free: 13.36 MB / 250.7 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.2491/0.2491, allocations: 80.25 MB / 393.4 MB, free: 2.453 MB / 314.7 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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.556 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.03e-05, allocations: 6 kB / 0.556 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004899/0.004919, allocations: 5.889 MB / 0.5618 GB, free: 6.258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.007358, allocations: 1.951 MB / 0.5637 GB, free: 4.301 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.00768, allocations: 15.88 kB / 0.5637 GB, free: 4.285 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.008244, allocations: 241.9 kB / 0.5639 GB, free: 4.047 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.009425, allocations: 0.8814 MB / 0.5648 GB, free: 3.164 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.01015, allocations: 0.6419 MB / 0.5654 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.01117, allocations: 1.643 MB / 0.567 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.01146, allocations: 215 kB / 0.5672 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.01218, allocations: 0.9311 MB / 0.5681 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.01292, allocations: 0.6932 MB / 0.5688 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.01304, allocations: 128 kB / 0.5689 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.01334, allocations: 283.7 kB / 0.5692 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.01355, allocations: 354.4 kB / 0.5695 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.01385, allocations: 474.4 kB / 0.57 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.01504, allocations: 1.783 MB / 0.5717 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01504, allocations: 4 kB / 0.5717 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01504, allocations: 0 / 0.5717 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.01505, allocations: 0 / 0.5717 GB, free: 12.02 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004595/0.01964, allocations: 2.867 MB / 0.5745 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.01968, allocations: 12.03 kB / 0.5746 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.02209, allocations: 0.7913 MB / 0.5753 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.02324, allocations: 0.8622 MB / 0.5762 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.02346, allocations: 337.3 kB / 0.5765 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02357, allocations: 84 kB / 0.5766 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.02488, allocations: 1.123 MB / 0.5777 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.0249, allocations: 0 / 0.5777 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.02496, allocations: 35.98 kB / 0.5777 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.02497, allocations: 27.88 kB / 0.5777 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.02624, allocations: 1.017 MB / 0.5787 GB, free: 4.684 MB / 0.4948 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.003566/0.0298, allocations: 2.883 MB / 0.5815 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.03361, allocations: 2.034 MB / 0.5835 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000782/0.03439, allocations: 0.6493 MB / 0.5842 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/0.03446, allocations: 16.98 kB / 0.5842 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.03543, allocations: 0.8623 MB / 0.585 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 1.874e-06/0.03543, allocations: 0 / 0.585 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.01424/0.04967, allocations: 7.083 MB / 0.5919 GB, free: 7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.04972, allocations: 131.7 kB / 0.5921 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/0.05067, allocations: 1.094 MB / 0.5931 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.05074, allocations: 41.7 kB / 0.5932 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.051, allocations: 0.5131 MB / 0.5937 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.05125, allocations: 372.9 kB / 0.594 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.05156, allocations: 279.5 kB / 0.5943 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.05163, allocations: 313 kB / 0.5946 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009946/0.05263, allocations: 0.8193 MB / 0.5954 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.0537, allocations: 0.9944 MB / 0.5964 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2558/0.3095, allocations: 5.982 MB / 0.6022 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.3095, allocations: 0 / 0.6022 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.007141/0.3166, allocations: 4.454 MB / 0.6065 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.3167, allocations: 61.66 kB / 0.6066 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3167, allocations: 6.766 kB / 0.6066 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/0.3202, allocations: 1.621 MB / 0.6082 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/0.321, allocations: 282.3 kB / 0.6085 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.3343, allocations: 8.309 MB / 0.6166 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.3354, allocations: 202.4 kB / 0.6168 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.3355, allocations: 56.14 kB / 0.6168 GB, free: 86.89 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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: 13 * 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 (160): * Single equations (assignments): 157 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005526/0.336, allocations: 308.4 kB / 0.6171 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.3362, allocations: 132.1 kB / 0.6172 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007212/0.3434, allocations: 3.895 MB / 0.6211 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3434, allocations: 9.906 kB / 0.6211 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3434, allocations: 9.844 kB / 0.6211 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3434, allocations: 6.25 kB / 0.6211 GB, free: 85.62 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 postOpt removeSimpleEquations (simulation): time 0.00804/0.3515, allocations: 4.947 MB / 0.6259 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3515, allocations: 1.062 kB / 0.6259 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.3518, allocations: 100.1 kB / 0.626 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/0.3547, allocations: 1.585 MB / 0.6276 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.3547, allocations: 22.38 kB / 0.6276 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.3656, allocations: 9.2 MB / 0.6366 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3656, allocations: 3.125 kB / 0.6366 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007117/0.3727, allocations: 4.804 MB / 0.6413 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.3729, allocations: 154.2 kB / 0.6414 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.373, allocations: 27.92 kB / 0.6414 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.3735, allocations: 106.9 kB / 0.6415 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.3738, allocations: 207.6 kB / 0.6417 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.3739, allocations: 23.81 kB / 0.6417 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006024/0.3745, allocations: 0.7497 MB / 0.6425 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3745, allocations: 0 / 0.6425 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009798/0.3754, allocations: 492.3 kB / 0.6429 GB, free: 74.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003375/0.3758, allocations: 138.6 kB / 0.6431 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003344/0.3791, allocations: 2.509 MB / 0.6455 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3791, allocations: 4.062 kB / 0.6455 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.381, allocations: 1.539 MB / 0.647 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.3815, allocations: 117.3 kB / 0.6472 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3838, allocations: 2.307 MB / 0.6494 GB, free: 68.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.384, allocations: 0.5398 MB / 0.6499 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3842, allocations: 87.64 kB / 0.65 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.3842, allocations: 4 kB / 0.65 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.01426/0.3985, allocations: 24.64 MB / 0.6741 GB, free: 43.01 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.687017675489187] Failed to read output from testmodel.py, exit status != 0: 0.40350915491580963 0.40851677000000003 0.392249508 Calling exit ...