Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.00143/0.00143, 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.553/1.553, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001642/0.001642, allocations: 203.4 kB / 310 MB, free: 3.156 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.515/0.515, allocations: 79.74 MB / 446.2 MB, free: 38.82 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.003285/0.003285, allocations: 90.84 kB / 0.5942 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1731, allocations: 73.3 MB / 0.6657 GB, free: 332 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008485/0.1816, allocations: 6.765 MB / 0.6724 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.1868, allocations: 2.076 MB / 0.6744 GB, free: 8.758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007774/0.1875, allocations: 11.94 kB / 0.6744 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.1883, allocations: 249.9 kB / 0.6746 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.1905, allocations: 0.8839 MB / 0.6755 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1919, allocations: 0.66 MB / 0.6761 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.194, allocations: 1.706 MB / 0.6778 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.1944, allocations: 226.9 kB / 0.678 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.1954, allocations: 0.712 MB / 0.6787 GB, free: 4.301 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1964, allocations: 0.8985 MB / 0.6796 GB, free: 3.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.1966, allocations: 132 kB / 0.6797 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.1972, allocations: 291.8 kB / 0.68 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.1975, allocations: 342.6 kB / 0.6803 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.1982, allocations: 0.7108 MB / 0.681 GB, free: 1.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.2002, allocations: 1.758 MB / 0.6827 GB, free: 172 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2002, allocations: 0 / 0.6827 GB, free: 172 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2002, allocations: 0 / 0.6827 GB, free: 172 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.2002, allocations: 0 / 0.6827 GB, free: 172 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00967/0.2099, allocations: 2.91 MB / 0.6856 GB, free: 13.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2099, allocations: 8.031 kB / 0.6856 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.215, allocations: 0.8108 MB / 0.6864 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.2168, allocations: 0.8623 MB / 0.6872 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.2172, allocations: 337.3 kB / 0.6875 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.2174, allocations: 91.94 kB / 0.6876 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.2197, allocations: 1.106 MB / 0.6887 GB, free: 9.883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2197, allocations: 0 / 0.6887 GB, free: 9.883 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/0.2198, allocations: 32 kB / 0.6887 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.2198, allocations: 19.94 kB / 0.6888 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.222, allocations: 1.003 MB / 0.6897 GB, free: 8.824 MB / 478.1 MB 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.008106/0.2301, allocations: 3.853 MB / 0.6935 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.2376, allocations: 2.041 MB / 0.6955 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.2391, allocations: 0.6293 MB / 0.6961 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.2392, allocations: 24.97 kB / 0.6961 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.241, allocations: 0.8372 MB / 0.6969 GB, free: 1.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.241, allocations: 0 / 0.6969 GB, free: 1.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02916/0.2701, allocations: 6.893 MB / 0.7037 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2702, allocations: 127.7 kB / 0.7038 GB, free: 10.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.2725, allocations: 1.143 MB / 0.7049 GB, free: 9.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.2729, allocations: 45.7 kB / 0.705 GB, free: 8.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/0.2735, allocations: 0.5132 MB / 0.7055 GB, free: 8.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/0.2742, allocations: 384.7 kB / 0.7058 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000896/0.2751, allocations: 303.5 kB / 0.7061 GB, free: 7.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2752, allocations: 301.1 kB / 0.7064 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.2771, allocations: 0.7926 MB / 0.7072 GB, free: 6.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.2792, allocations: 0.9733 MB / 0.7081 GB, free: 5.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/0.3074, allocations: 6.137 MB / 0.7141 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.3074, allocations: 0 / 0.7141 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01602/0.3235, allocations: 4.489 MB / 0.7185 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/0.3235, allocations: 59.41 kB / 0.7186 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3236, allocations: 4 kB / 0.7186 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006699/0.3303, allocations: 1.662 MB / 0.7202 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.332, allocations: 299.5 kB / 0.7205 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.3547, allocations: 8.532 MB / 0.7288 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.3571, allocations: 215.1 kB / 0.729 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/0.3574, allocations: 56.05 kB / 0.7291 GB, free: 15.95 MB / 0.5137 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 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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.3585, allocations: 311 kB / 0.7294 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.3589, allocations: 135.1 kB / 0.7295 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/0.3728, allocations: 3.889 MB / 0.7333 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.3728, allocations: 15.94 kB / 0.7333 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.827e-05/0.3728, allocations: 8 kB / 0.7333 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.3728, allocations: 7.984 kB / 0.7333 GB, free: 11.55 MB / 0.5137 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.01716/0.39, allocations: 5.494 MB / 0.7387 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.39, allocations: 4.031 kB / 0.7387 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/0.3909, allocations: 111.8 kB / 0.7388 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/0.3968, allocations: 1.599 MB / 0.7404 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.3971, allocations: 23.98 kB / 0.7404 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02261/0.4197, allocations: 9.429 MB / 0.7496 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4197, allocations: 4 kB / 0.7496 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/0.4357, allocations: 4.779 MB / 0.7543 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.4363, allocations: 158.9 kB / 0.7544 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/0.4368, allocations: 27.94 kB / 0.7544 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.4384, allocations: 111.9 kB / 0.7545 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007974/0.4392, allocations: 204.6 kB / 0.7547 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.4394, allocations: 24 kB / 0.7548 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001597/0.441, allocations: 0.7752 MB / 0.7555 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.441, allocations: 0 / 0.7555 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002131/0.4431, allocations: 0.4917 MB / 0.756 GB, free: 3.941 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004179/0.4435, allocations: 130.2 kB / 0.7561 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007359/0.4509, allocations: 2.491 MB / 0.7586 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4509, allocations: 0 / 0.7586 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004729/0.4556, allocations: 1.556 MB / 0.7601 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.4571, allocations: 123.8 kB / 0.7602 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.4626, allocations: 2.506 MB / 0.7626 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.4636, allocations: 1.132 MB / 0.7637 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.4641, allocations: 87.41 kB / 0.7638 GB, free: 11.76 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/0.4641, allocations: 0 / 0.7638 GB, free: 11.76 MB / 0.545 GB Notification: Performance of Templates: time 0.04042/0.5046, allocations: 24.59 MB / 0.7878 GB, free: 3.168 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.367041531950235] Failed to read output from testmodel.py, exit status != 0: 0.5145523769315332 0.530491472 0.327081478 Calling exit ...