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.0012/0.0012, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.9663/0.9663, allocations: 177.1 MB / 200.3 MB, free: 5.723 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.001246/0.001246, allocations: 152.7 kB / 256.9 MB, free: 13 MB / 250.7 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.297/0.297, allocations: 83.31 MB / 396.7 MB, free: 15.02 MB / 330.7 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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 494.4 MB, free: 7.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.647e-05, allocations: 8.594 kB / 494.4 MB, free: 7.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007661/0.007698, allocations: 6.242 MB / 0.4889 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.01195, allocations: 1.987 MB / 0.4908 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.01301, allocations: 12.78 kB / 0.4908 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.01383, allocations: 245.9 kB / 0.4911 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.01587, allocations: 0.8788 MB / 0.4919 GB, free: 13.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.01711, allocations: 0.6488 MB / 0.4926 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.01883, allocations: 1.636 MB / 0.4941 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.01918, allocations: 215 kB / 0.4944 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.02026, allocations: 0.9435 MB / 0.4953 GB, free: 10.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.02104, allocations: 0.6932 MB / 0.496 GB, free: 9.516 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.02123, allocations: 128.8 kB / 0.4961 GB, free: 9.391 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.02176, allocations: 286.4 kB / 0.4963 GB, free: 9.113 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.02199, allocations: 346.5 kB / 0.4967 GB, free: 8.773 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.02239, allocations: 478.4 kB / 0.4971 GB, free: 8.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.02382, allocations: 1.257 MB / 0.4984 GB, free: 7.043 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.02383, allocations: 0 / 0.4984 GB, free: 7.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02383, allocations: 0 / 0.4984 GB, free: 7.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.02385, allocations: 0 / 0.4984 GB, free: 7.043 MB / 426.7 MB 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.005331/0.02918, allocations: 3.002 MB / 0.5013 GB, free: 4.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.02923, allocations: 9.125 kB / 0.5013 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.03198, allocations: 0.9294 MB / 0.5022 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.03323, allocations: 0.8071 MB / 0.503 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.03348, allocations: 325.3 kB / 0.5033 GB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.03362, allocations: 87.95 kB / 0.5034 GB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.03458, allocations: 0.6913 MB / 0.5041 GB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.0346, allocations: 0 / 0.5041 GB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.03466, allocations: 32 kB / 0.5041 GB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.03468, allocations: 23.94 kB / 0.5041 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.03529, allocations: 407.3 kB / 0.5045 GB, free: 0.5977 MB / 426.7 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.003803/0.03909, allocations: 2.576 MB / 0.507 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.04141, allocations: 1.196 MB / 0.5082 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.04175, allocations: 291.9 kB / 0.5085 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.04183, allocations: 20.98 kB / 0.5085 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/0.04236, allocations: 0.4906 MB / 0.509 GB, free: 11.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.386e-06/0.04236, allocations: 0 / 0.509 GB, free: 11.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.011/0.05336, allocations: 4.915 MB / 0.5138 GB, free: 6.938 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.05342, allocations: 115.8 kB / 0.5139 GB, free: 6.801 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.05437, allocations: 0.9605 MB / 0.5148 GB, free: 5.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.0545, allocations: 45.7 kB / 0.5149 GB, free: 5.773 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.05482, allocations: 0.5741 MB / 0.5154 GB, free: 5.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.05514, allocations: 380.8 kB / 0.5158 GB, free: 4.816 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.05548, allocations: 301 kB / 0.5161 GB, free: 4.516 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.05561, allocations: 476.8 kB / 0.5165 GB, free: 4.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.05614, allocations: 415.2 kB / 0.5169 GB, free: 3.629 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.05675, allocations: 0.6181 MB / 0.5175 GB, free: 2.945 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.0584, allocations: 1.563 MB / 0.5191 GB, free: 1.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.0584, allocations: 3.938 kB / 0.5191 GB, free: 1.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005465/0.06387, allocations: 3.024 MB / 0.522 GB, free: 14.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.06393, allocations: 61.91 kB / 0.5221 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.06394, allocations: 0 / 0.5221 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/0.06823, allocations: 1.649 MB / 0.5237 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.06917, allocations: 279.6 kB / 0.5239 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.07549, allocations: 4.378 MB / 0.5282 GB, free: 7.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.07664, allocations: 167.1 kB / 0.5284 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.07673, allocations: 43.97 kB / 0.5284 GB, free: 7.523 MB / 458.7 MB 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 (162): * Single equations (assignments): 159 * 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.0006048/0.07734, allocations: 281 kB / 0.5287 GB, free: 7.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.07761, allocations: 159.2 kB / 0.5288 GB, free: 7.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/0.08195, allocations: 2.467 MB / 0.5313 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.08196, allocations: 15.94 kB / 0.5313 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.08197, allocations: 8 kB / 0.5313 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.08199, allocations: 7.984 kB / 0.5313 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005599/0.08758, allocations: 3.42 MB / 0.5346 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.08759, allocations: 0 / 0.5346 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.08792, allocations: 99.89 kB / 0.5347 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005289/0.09321, allocations: 1.604 MB / 0.5363 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/0.09341, allocations: 19.94 kB / 0.5363 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009158/0.1026, allocations: 6.236 MB / 0.5424 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1026, allocations: 0 / 0.5424 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/0.1098, allocations: 2.859 MB / 0.5452 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.1103, allocations: 162.8 kB / 0.5453 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.1105, allocations: 20 kB / 0.5454 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.111, allocations: 79.98 kB / 0.5454 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.1114, allocations: 196.5 kB / 0.5456 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.1114, allocations: 23.98 kB / 0.5456 GB, free: 5.465 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004862/0.1119, allocations: 0.5785 MB / 0.5462 GB, free: 4.879 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1119, allocations: 4 kB / 0.5462 GB, free: 4.875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001211/0.1131, allocations: 483.6 kB / 0.5467 GB, free: 4.402 MB / 474.7 MB 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.0002761/0.1134, allocations: 143.1 kB / 0.5468 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.116, allocations: 1.776 MB / 0.5485 GB, free: 2.406 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.116, allocations: 0 / 0.5485 GB, free: 2.406 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.1176, allocations: 1.24 MB / 0.5498 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.1181, allocations: 138.2 kB / 0.5499 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.121, allocations: 2.135 MB / 0.552 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.1212, allocations: 241.6 kB / 0.5522 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.1214, allocations: 120.1 kB / 0.5523 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.1217, allocations: 210.2 kB / 0.5525 GB, free: 14.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1217, allocations: 0 / 0.5525 GB, free: 14.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03321/0.1549, allocations: 28.66 MB / 0.5805 GB, free: 1.742 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9080630452372134]