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.001571/0.001571, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.595/1.595, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001972/0.001972, allocations: 209.9 kB / 309.2 MB, free: 3.109 MB / 238.1 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.6782/0.6782, allocations: 107.2 MB / 472.8 MB, free: 29.72 MB / 350.1 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.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.002632/0.002632, allocations: 86.19 kB / 0.6335 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1865, allocations: 80.15 MB / 0.7118 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008438/0.1949, allocations: 5.927 MB / 0.7176 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.2002, allocations: 1.986 MB / 0.7195 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.2012, allocations: 15.94 kB / 0.7195 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.2021, allocations: 237.9 kB / 0.7198 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.2048, allocations: 0.8672 MB / 0.7206 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2064, allocations: 0.6413 MB / 0.7212 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.2088, allocations: 1.686 MB / 0.7229 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.2093, allocations: 222.9 kB / 0.7231 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.2106, allocations: 0.7198 MB / 0.7238 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.2117, allocations: 0.8165 MB / 0.7246 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.212, allocations: 132 kB / 0.7247 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.2126, allocations: 283.8 kB / 0.725 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.213, allocations: 350.6 kB / 0.7253 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006247/0.2136, allocations: 0.5672 MB / 0.7259 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.2159, allocations: 1.782 MB / 0.7276 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2159, allocations: 0 / 0.7276 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2159, allocations: 0 / 0.7276 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.2159, allocations: 0 / 0.7276 GB, free: 6.926 MB / 0.4981 GB 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.01038/0.2263, allocations: 2.913 MB / 0.7305 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2263, allocations: 12.03 kB / 0.7305 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005228/0.2316, allocations: 0.7952 MB / 0.7313 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.2335, allocations: 0.8702 MB / 0.7321 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/0.2339, allocations: 341.2 kB / 0.7324 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.2341, allocations: 87.95 kB / 0.7325 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.2365, allocations: 1.135 MB / 0.7336 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.2365, allocations: 3.938 kB / 0.7336 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2367, allocations: 35.98 kB / 0.7337 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2367, allocations: 16 kB / 0.7337 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.2389, allocations: 1.029 MB / 0.7347 GB, free: 15.51 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 preOpt removeSimpleEquations (simulation): time 0.007073/0.246, allocations: 2.913 MB / 0.7375 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.2537, allocations: 2.059 MB / 0.7395 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.2553, allocations: 0.666 MB / 0.7402 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2554, allocations: 13 kB / 0.7402 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.2573, allocations: 0.8662 MB / 0.741 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.927e-06/0.2573, allocations: 0 / 0.741 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.03008/0.2874, allocations: 6.951 MB / 0.7478 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.2875, allocations: 119.8 kB / 0.7479 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.2895, allocations: 1.114 MB / 0.749 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/0.2897, allocations: 49.69 kB / 0.7491 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.2902, allocations: 0.5015 MB / 0.7496 GB, free: 52 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/0.2907, allocations: 384.9 kB / 0.7499 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.2912, allocations: 283.5 kB / 0.7502 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2914, allocations: 308.9 kB / 0.7505 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.2932, allocations: 0.8467 MB / 0.7513 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.2951, allocations: 1.004 MB / 0.7523 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02724/0.3224, allocations: 6.114 MB / 0.7583 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3224, allocations: 0 / 0.7583 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.0151/0.3375, allocations: 4.504 MB / 0.7627 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.204e-05/0.3376, allocations: 63.34 kB / 0.7627 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.3376, allocations: 4 kB / 0.7627 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006814/0.3444, allocations: 1.65 MB / 0.7644 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.3462, allocations: 291.5 kB / 0.7646 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/0.3694, allocations: 8.34 MB / 0.7728 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.3718, allocations: 207.2 kB / 0.773 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.3721, allocations: 59.97 kB / 0.773 GB, free: 7.695 MB / 0.545 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 (164): * Single equations (assignments): 161 * 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.001014/0.3731, allocations: 294.2 kB / 0.7733 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/0.3736, allocations: 135.2 kB / 0.7734 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.3875, allocations: 3.918 MB / 0.7773 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.3875, allocations: 15.98 kB / 0.7773 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.3876, allocations: 8 kB / 0.7773 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.3876, allocations: 3.984 kB / 0.7773 GB, free: 3.277 MB / 0.545 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.01712/0.4047, allocations: 4.966 MB / 0.7821 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.4047, allocations: 0 / 0.7821 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.4056, allocations: 115.8 kB / 0.7823 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006081/0.4116, allocations: 1.579 MB / 0.7838 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/0.4119, allocations: 27.98 kB / 0.7838 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02322/0.4351, allocations: 9.192 MB / 0.7928 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4351, allocations: 3.938 kB / 0.7928 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/0.4518, allocations: 4.84 MB / 0.7975 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.4523, allocations: 158.8 kB / 0.7977 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004926/0.4528, allocations: 24 kB / 0.7977 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.4544, allocations: 107.9 kB / 0.7978 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000739/0.4552, allocations: 204.6 kB / 0.798 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.4554, allocations: 31.92 kB / 0.798 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001567/0.4569, allocations: 0.7549 MB / 0.7988 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4569, allocations: 0 / 0.7988 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002187/0.4591, allocations: 495.6 kB / 0.7992 GB, free: 12.47 MB / 0.5762 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.0004402/0.4596, allocations: 143.3 kB / 0.7994 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008164/0.4677, allocations: 2.521 MB / 0.8018 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.4677, allocations: 0.75 kB / 0.8018 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00505/0.4728, allocations: 1.597 MB / 0.8034 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.4746, allocations: 119.8 kB / 0.8035 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.4808, allocations: 2.487 MB / 0.8059 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/0.4816, allocations: 0.5401 MB / 0.8065 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006807/0.4823, allocations: 120.1 kB / 0.8066 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.4827, allocations: 83.41 kB / 0.8067 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of SimCode: time 1.733e-06/0.4827, allocations: 0 / 0.8067 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of Templates: time 0.4482/0.9309, allocations: 28.17 MB / 0.8342 GB, free: 86.51 MB / 0.5762 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: 7.851551664993167] Failed to read output from testmodel.py, exit status != 0: 0.9399749003350735 0.950412414 0.732147327 Calling exit ...