Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.0009334/0.0009334, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.9251/0.9251, allocations: 177.2 MB / 201 MB, free: 5.707 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.001242/0.001242, allocations: 160.6 kB / 257.7 MB, free: 12.98 MB / 250.7 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.2863/0.2863, allocations: 80.25 MB / 394.5 MB, free: 1.984 MB / 314.7 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 491 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.943e-05, allocations: 6.312 kB / 491 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.01214/0.01216, allocations: 6.111 MB / 497.1 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006534/0.01869, allocations: 1.947 MB / 499.1 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.01915, allocations: 12.84 kB / 499.1 MB, free: 3.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.0228, allocations: 241.8 kB / 499.3 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.02446, allocations: 0.8746 MB / 0.4885 GB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.02855, allocations: 0.6342 MB / 0.4891 GB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.03015, allocations: 1.576 MB / 0.4907 GB, free: 15.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.03051, allocations: 212.7 kB / 0.4909 GB, free: 15.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004001/0.03451, allocations: 0.9116 MB / 0.4917 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007305/0.03524, allocations: 0.6698 MB / 0.4924 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.0354, allocations: 124 kB / 0.4925 GB, free: 13.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.03585, allocations: 273.6 kB / 0.4928 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.03609, allocations: 334.5 kB / 0.4931 GB, free: 13.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.03646, allocations: 454.5 kB / 0.4935 GB, free: 12.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.04072, allocations: 1.237 MB / 0.4947 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.04072, allocations: 0 / 0.4947 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04072, allocations: 1.219 kB / 0.4947 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.04073, allocations: 0 / 0.4947 GB, free: 11.68 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007864/0.0486, allocations: 2.927 MB / 0.4976 GB, free: 8.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.04863, allocations: 8.031 kB / 0.4976 GB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.05119, allocations: 0.9308 MB / 0.4985 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.05201, allocations: 0.7756 MB / 0.4993 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.05219, allocations: 333.3 kB / 0.4996 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.0523, allocations: 83.98 kB / 0.4997 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.05305, allocations: 0.6757 MB / 0.5003 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.05306, allocations: 0 / 0.5003 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.05312, allocations: 35.94 kB / 0.5004 GB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.05313, allocations: 16 kB / 0.5004 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.05365, allocations: 407.3 kB / 0.5008 GB, free: 5.352 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.00318/0.05683, allocations: 2.552 MB / 0.5033 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.05923, allocations: 1.187 MB / 0.5044 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.05954, allocations: 283.9 kB / 0.5047 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/0.05961, allocations: 21 kB / 0.5047 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.0601, allocations: 486.5 kB / 0.5052 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.174e-06/0.0601, allocations: 0 / 0.5052 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.011/0.0711, allocations: 4.907 MB / 0.51 GB, free: 11.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.07115, allocations: 119.8 kB / 0.5101 GB, free: 11.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.07178, allocations: 0.9518 MB / 0.511 GB, free: 10.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.07185, allocations: 41.7 kB / 0.5111 GB, free: 10.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.07213, allocations: 0.5585 MB / 0.5116 GB, free: 10.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.07235, allocations: 372.9 kB / 0.512 GB, free: 9.664 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.07266, allocations: 300.9 kB / 0.5122 GB, free: 9.363 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.07277, allocations: 480.7 kB / 0.5127 GB, free: 8.891 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.07326, allocations: 399.2 kB / 0.5131 GB, free: 8.488 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.07384, allocations: 0.6064 MB / 0.5137 GB, free: 7.816 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.07545, allocations: 1.523 MB / 0.5152 GB, free: 6.211 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.07546, allocations: 0 / 0.5152 GB, free: 6.211 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005136/0.08059, allocations: 2.969 MB / 0.5181 GB, free: 3.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.08063, allocations: 59.39 kB / 0.5181 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.08064, allocations: 8 kB / 0.5181 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/0.08492, allocations: 1.61 MB / 0.5197 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.08558, allocations: 271.6 kB / 0.52 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005965/0.09155, allocations: 4.317 MB / 0.5242 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/0.09236, allocations: 159.2 kB / 0.5243 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.09244, allocations: 51.97 kB / 0.5244 GB, free: 12.59 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (155): * Single equations (assignments): 152 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.09283, allocations: 269.2 kB / 0.5246 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.09301, allocations: 155.2 kB / 0.5248 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/0.09779, allocations: 2.459 MB / 0.5272 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.0978, allocations: 11.94 kB / 0.5272 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.09781, allocations: 8 kB / 0.5272 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.09782, allocations: 3.984 kB / 0.5272 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.1034, allocations: 3.389 MB / 0.5305 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1034, allocations: 0 / 0.5305 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1037, allocations: 99.83 kB / 0.5306 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004179/0.1079, allocations: 1.624 MB / 0.5322 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.108, allocations: 19.94 kB / 0.5322 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006579/0.1145, allocations: 6.21 MB / 0.5383 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1145, allocations: 0 / 0.5383 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/0.1199, allocations: 2.835 MB / 0.541 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.1201, allocations: 150.9 kB / 0.5412 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1202, allocations: 16 kB / 0.5412 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.1207, allocations: 79.92 kB / 0.5413 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/0.1211, allocations: 196.5 kB / 0.5415 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/0.1211, allocations: 23.98 kB / 0.5415 GB, free: 10.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004267/0.1215, allocations: 0.5703 MB / 0.542 GB, free: 10.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1215, allocations: 0 / 0.542 GB, free: 10.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001071/0.1226, allocations: 467.6 kB / 0.5425 GB, free: 9.609 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002519/0.1229, allocations: 139 kB / 0.5426 GB, free: 9.465 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.1254, allocations: 1.727 MB / 0.5443 GB, free: 7.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1254, allocations: 0 / 0.5443 GB, free: 7.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.127, allocations: 1.257 MB / 0.5455 GB, free: 6.352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.1275, allocations: 129.7 kB / 0.5457 GB, free: 6.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.1303, allocations: 2.031 MB / 0.5476 GB, free: 4.156 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.1305, allocations: 245.5 kB / 0.5479 GB, free: 3.891 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.1307, allocations: 107.9 kB / 0.548 GB, free: 3.781 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.131, allocations: 206.2 kB / 0.5482 GB, free: 3.578 MB / 474.7 MB Notification: Performance of SimCode: time 2.675e-06/0.131, allocations: 0 / 0.5482 GB, free: 3.578 MB / 474.7 MB Notification: Performance of Templates: time 0.03726/0.1683, allocations: 28.93 MB / 0.5764 GB, free: 6.758 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.975514560006559]