Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001445/0.001445, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.362/1.362, allocations: 177.2 MB / 200.1 MB, free: 8.367 MB / 190.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.001603/0.001603, allocations: 172.7 kB / 256.6 MB, free: 4.285 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.4684/0.4684, allocations: 59.75 MB / 372.7 MB, free: 46.84 MB / 334.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002499/0.002499, allocations: 85.94 kB / 0.5224 GB, free: 29.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1294, allocations: 73.27 MB / 0.5939 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007776/0.1371, allocations: 5.791 MB / 0.5996 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.1415, allocations: 1.924 MB / 0.6015 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.1423, allocations: 15.94 kB / 0.6015 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008156/0.1431, allocations: 237.9 kB / 0.6017 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.1456, allocations: 0.85 MB / 0.6025 GB, free: 6.031 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1472, allocations: 0.6271 MB / 0.6032 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.1492, allocations: 1.608 MB / 0.6047 GB, free: 3.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.1497, allocations: 210.9 kB / 0.6049 GB, free: 3.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1507, allocations: 0.6848 MB / 0.6056 GB, free: 2.883 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.1518, allocations: 0.7698 MB / 0.6064 GB, free: 2.109 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.152, allocations: 124 kB / 0.6065 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.1526, allocations: 267.8 kB / 0.6067 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.153, allocations: 330.6 kB / 0.607 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.1535, allocations: 0.5477 MB / 0.6076 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.1556, allocations: 1.708 MB / 0.6092 GB, free: 15.13 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1556, allocations: 0 / 0.6092 GB, free: 15.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1556, allocations: 7.875 kB / 0.6093 GB, free: 15.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.1556, allocations: 0 / 0.6093 GB, free: 15.12 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009716/0.1653, allocations: 2.812 MB / 0.612 GB, free: 12.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1654, allocations: 8.031 kB / 0.612 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.1706, allocations: 0.7991 MB / 0.6128 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.1725, allocations: 0.8268 MB / 0.6136 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/0.1729, allocations: 337.2 kB / 0.6139 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.1731, allocations: 84 kB / 0.614 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.1754, allocations: 1.115 MB / 0.6151 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1755, allocations: 0 / 0.6151 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.1755, allocations: 28 kB / 0.6151 GB, free: 8.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.1756, allocations: 16 kB / 0.6151 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.1777, allocations: 1.017 MB / 0.6161 GB, free: 7.906 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.0064/0.1841, allocations: 2.843 MB / 0.6189 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007543/0.1917, allocations: 2.035 MB / 0.6209 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.1932, allocations: 0.6426 MB / 0.6215 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.1933, allocations: 12.98 kB / 0.6215 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.1951, allocations: 0.8468 MB / 0.6223 GB, free: 1.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.1951, allocations: 0 / 0.6223 GB, free: 1.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02985/0.2249, allocations: 6.943 MB / 0.6291 GB, free: 10.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2251, allocations: 119.8 kB / 0.6292 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.227, allocations: 1.058 MB / 0.6303 GB, free: 9.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.2273, allocations: 45.7 kB / 0.6303 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.2277, allocations: 0.5052 MB / 0.6308 GB, free: 8.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/0.2282, allocations: 368.9 kB / 0.6312 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005/0.2287, allocations: 279.5 kB / 0.6314 GB, free: 8.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2288, allocations: 301.1 kB / 0.6317 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.2305, allocations: 0.8076 MB / 0.6325 GB, free: 6.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.2323, allocations: 0.9766 MB / 0.6335 GB, free: 5.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02563/0.258, allocations: 5.766 MB / 0.6391 GB, free: 16 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.258, allocations: 0 / 0.6391 GB, free: 16 kB / 494.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01498/0.273, allocations: 4.34 MB / 0.6433 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.273, allocations: 59.39 kB / 0.6434 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.2731, allocations: 4 kB / 0.6434 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/0.2789, allocations: 1.515 MB / 0.6449 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.2805, allocations: 287.6 kB / 0.6451 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/0.302, allocations: 7.98 MB / 0.6529 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.3041, allocations: 199.1 kB / 0.6531 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.3044, allocations: 55.97 kB / 0.6532 GB, free: 1.41 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009064/0.3054, allocations: 299.3 kB / 0.6535 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.3058, allocations: 131.2 kB / 0.6536 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.3195, allocations: 3.867 MB / 0.6574 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.3196, allocations: 12 kB / 0.6574 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/0.3196, allocations: 7.938 kB / 0.6574 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/0.3196, allocations: 7.984 kB / 0.6574 GB, free: 13.05 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.01623/0.3359, allocations: 4.888 MB / 0.6622 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.3359, allocations: 0 / 0.6622 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.3365, allocations: 95.89 kB / 0.6623 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005893/0.3424, allocations: 1.61 MB / 0.6638 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/0.3426, allocations: 24 kB / 0.6639 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/0.3652, allocations: 9.177 MB / 0.6728 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3652, allocations: 8.062 kB / 0.6728 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/0.3816, allocations: 4.758 MB / 0.6775 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.3822, allocations: 150.9 kB / 0.6776 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/0.3826, allocations: 16 kB / 0.6776 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.3841, allocations: 115.9 kB / 0.6777 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007657/0.3848, allocations: 200.6 kB / 0.6779 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.385, allocations: 31.92 kB / 0.678 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001515/0.3865, allocations: 0.715 MB / 0.6787 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3865, allocations: 0 / 0.6787 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002065/0.3886, allocations: 479.6 kB / 0.6791 GB, free: 6.461 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004072/0.389, allocations: 131.2 kB / 0.6792 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006542/0.3955, allocations: 2.428 MB / 0.6816 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3955, allocations: 0 / 0.6816 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004603/0.4001, allocations: 1.581 MB / 0.6832 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4012, allocations: 115.2 kB / 0.6833 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.4055, allocations: 2.304 MB / 0.6855 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.406, allocations: 0.5315 MB / 0.686 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000413/0.4064, allocations: 119.9 kB / 0.6862 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.4067, allocations: 80.47 kB / 0.6862 GB, free: 14.99 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.4067, allocations: 0 / 0.6862 GB, free: 14.99 MB / 0.545 GB Notification: Performance of Templates: time 0.04319/0.4499, allocations: 25.75 MB / 0.7114 GB, free: 5.328 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.819454447948374] Failed to read output from testmodel.py, exit status != 0: 0.45879248005803674 0.764400764 0.6064831709999999 Calling exit ...