Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001528/0.001528, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.389/1.389, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001492/0.001492, allocations: 218.2 kB / 310 MB, free: 3.133 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.6466/0.6466, allocations: 107.3 MB / 473.7 MB, free: 29.98 MB / 350.1 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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.002493/0.002493, allocations: 87.92 kB / 0.6345 GB, free: 29.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1606, allocations: 80.17 MB / 0.7128 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008333/0.169, allocations: 5.894 MB / 0.7185 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.1737, allocations: 1.963 MB / 0.7204 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.1746, allocations: 12 kB / 0.7204 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.1754, allocations: 237.9 kB / 0.7207 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.1778, allocations: 0.8712 MB / 0.7215 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1792, allocations: 0.6327 MB / 0.7221 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.1816, allocations: 1.659 MB / 0.7238 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004478/0.182, allocations: 214.8 kB / 0.724 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.183, allocations: 0.7003 MB / 0.7246 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1841, allocations: 0.8009 MB / 0.7254 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.1843, allocations: 132 kB / 0.7255 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.1849, allocations: 279.9 kB / 0.7258 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.1853, allocations: 346.5 kB / 0.7261 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.1859, allocations: 0.5633 MB / 0.7267 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.1879, allocations: 1.747 MB / 0.7284 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1879, allocations: 4 kB / 0.7284 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.647e-06/0.1879, allocations: 4 kB / 0.7284 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.1879, allocations: 0 / 0.7284 GB, free: 6.945 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009443/0.1974, allocations: 2.882 MB / 0.7312 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1974, allocations: 12.03 kB / 0.7312 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.2024, allocations: 0.803 MB / 0.732 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.2042, allocations: 0.8467 MB / 0.7328 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003662/0.2046, allocations: 341.2 kB / 0.7332 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.2048, allocations: 91.95 kB / 0.7333 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.2071, allocations: 1.123 MB / 0.7344 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.2071, allocations: 7.938 kB / 0.7344 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.2072, allocations: 28 kB / 0.7344 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.2072, allocations: 20 kB / 0.7344 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.2095, allocations: 1.017 MB / 0.7354 GB, free: 15.6 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.006448/0.2159, allocations: 2.897 MB / 0.7382 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007208/0.2231, allocations: 2.025 MB / 0.7402 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2247, allocations: 0.6621 MB / 0.7409 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2249, allocations: 13 kB / 0.7409 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/0.2267, allocations: 0.8507 MB / 0.7417 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 4.709e-06/0.2267, allocations: 0 / 0.7417 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.02879/0.2555, allocations: 7.095 MB / 0.7486 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.2556, allocations: 115.8 kB / 0.7487 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.2577, allocations: 1.098 MB / 0.7498 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.2579, allocations: 45.7 kB / 0.7499 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.2584, allocations: 0.5131 MB / 0.7504 GB, free: 76 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/0.2589, allocations: 369 kB / 0.7507 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.2595, allocations: 279.5 kB / 0.751 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2596, allocations: 309.1 kB / 0.7513 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.2613, allocations: 0.8232 MB / 0.7521 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.2632, allocations: 0.9961 MB / 0.753 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.026/0.2892, allocations: 5.993 MB / 0.7589 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.2892, allocations: 3.938 kB / 0.7589 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01428/0.3035, allocations: 4.446 MB / 0.7632 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/0.3035, allocations: 63.39 kB / 0.7633 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.3036, allocations: 11.94 kB / 0.7633 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006048/0.3096, allocations: 1.619 MB / 0.7649 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.3111, allocations: 283.6 kB / 0.7652 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.3321, allocations: 8.305 MB / 0.7733 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.3341, allocations: 199.2 kB / 0.7735 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/0.3344, allocations: 63.97 kB / 0.7735 GB, free: 8.012 MB / 0.545 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.0008016/0.3352, allocations: 311.5 kB / 0.7738 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.3356, allocations: 135.1 kB / 0.774 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.3485, allocations: 3.894 MB / 0.7778 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.3485, allocations: 8 kB / 0.7778 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.3485, allocations: 8 kB / 0.7778 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/0.3486, allocations: 3.984 kB / 0.7778 GB, free: 3.609 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.01572/0.3643, allocations: 4.939 MB / 0.7826 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/0.3643, allocations: 0 / 0.7826 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.3652, allocations: 103.8 kB / 0.7827 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005932/0.3711, allocations: 1.578 MB / 0.7842 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.3713, allocations: 23.98 kB / 0.7843 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/0.3924, allocations: 9.212 MB / 0.7933 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3924, allocations: 7.922 kB / 0.7933 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.4072, allocations: 4.817 MB / 0.798 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.4076, allocations: 150.9 kB / 0.7981 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.4079, allocations: 20 kB / 0.7981 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.4092, allocations: 107.9 kB / 0.7982 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/0.4097, allocations: 208.6 kB / 0.7984 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.4098, allocations: 27.98 kB / 0.7985 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001345/0.4112, allocations: 0.7389 MB / 0.7992 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4112, allocations: 0 / 0.7992 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001589/0.4128, allocations: 495.5 kB / 0.7997 GB, free: 12.87 MB / 0.5762 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.0003114/0.4131, allocations: 139.2 kB / 0.7998 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006703/0.4198, allocations: 2.51 MB / 0.8022 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4198, allocations: 0 / 0.8022 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.4241, allocations: 1.553 MB / 0.8038 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009221/0.425, allocations: 113.6 kB / 0.8039 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.4296, allocations: 2.456 MB / 0.8063 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.4303, allocations: 0.5359 MB / 0.8068 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.4306, allocations: 87.41 kB / 0.8069 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.4306, allocations: 0 / 0.8069 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.3333/0.7639, allocations: 24.62 MB / 0.8309 GB, free: 88.15 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.38099420024082] Failed to read output from testmodel.py, exit status != 0: 0.7720931186340749 0.781347444 0.591302464 Calling exit ...