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.00104/0.00104, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9893/0.9893, allocations: 177.1 MB / 200.5 MB, free: 5.832 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.001359/0.001359, allocations: 175.3 kB / 257 MB, free: 13.2 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.2857/0.2857, allocations: 80.24 MB / 393.7 MB, free: 2.25 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.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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 489.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.563e-05, allocations: 4.844 kB / 489.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007188/0.007223, allocations: 6.407 MB / 496.2 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.01043, allocations: 2.019 MB / 498.2 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.01081, allocations: 12 kB / 498.3 MB, free: 3.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.01138, allocations: 242.6 kB / 498.5 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.01272, allocations: 0.8924 MB / 499.4 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.0136, allocations: 0.6534 MB / 0.4883 GB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.01482, allocations: 1.663 MB / 0.4899 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.01512, allocations: 221.2 kB / 0.4902 GB, free: 15.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.01595, allocations: 0.9468 MB / 0.4911 GB, free: 14.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.0166, allocations: 0.7165 MB / 0.4918 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.01674, allocations: 136 kB / 0.4919 GB, free: 13.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.01709, allocations: 275.8 kB / 0.4922 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.01732, allocations: 359.4 kB / 0.4925 GB, free: 13.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.01766, allocations: 482.4 kB / 0.493 GB, free: 12.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.01874, allocations: 1.28 MB / 0.4942 GB, free: 11.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01874, allocations: 4.531 kB / 0.4942 GB, free: 11.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01874, allocations: 1.188 kB / 0.4942 GB, free: 11.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.01876, allocations: 0 / 0.4942 GB, free: 11.58 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005134/0.02389, allocations: 3.007 MB / 0.4972 GB, free: 8.539 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.02393, allocations: 12.03 kB / 0.4972 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/0.02666, allocations: 0.9327 MB / 0.4981 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.02764, allocations: 0.8345 MB / 0.4989 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.02785, allocations: 341.2 kB / 0.4992 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.02798, allocations: 87.95 kB / 0.4993 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.02899, allocations: 0.7657 MB / 0.5001 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.02901, allocations: 0 / 0.5001 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.02908, allocations: 28 kB / 0.5001 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.0291, allocations: 23.94 kB / 0.5001 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.02989, allocations: 0.4935 MB / 0.5006 GB, free: 4.902 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.003452/0.03335, allocations: 2.753 MB / 0.5033 GB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.03607, allocations: 1.266 MB / 0.5045 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.03653, allocations: 343.9 kB / 0.5048 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.03662, allocations: 28.98 kB / 0.5049 GB, free: 404 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007906/0.03741, allocations: 0.5338 MB / 0.5054 GB, free: 15.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.325e-06/0.03741, allocations: 0 / 0.5054 GB, free: 15.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01168/0.04909, allocations: 4.97 MB / 0.5102 GB, free: 10.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.04914, allocations: 115.8 kB / 0.5104 GB, free: 10.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.05003, allocations: 1.02 MB / 0.5114 GB, free: 9.652 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.838e-05/0.05011, allocations: 45.7 kB / 0.5114 GB, free: 9.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.05043, allocations: 0.5588 MB / 0.5119 GB, free: 9.035 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.05069, allocations: 384.8 kB / 0.5123 GB, free: 8.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.05104, allocations: 301.1 kB / 0.5126 GB, free: 8.355 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.05116, allocations: 492.7 kB / 0.5131 GB, free: 7.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.05179, allocations: 443.2 kB / 0.5135 GB, free: 7.426 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.05252, allocations: 0.6534 MB / 0.5141 GB, free: 6.707 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.05445, allocations: 1.676 MB / 0.5158 GB, free: 4.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.05446, allocations: 0 / 0.5158 GB, free: 4.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005755/0.06022, allocations: 3.164 MB / 0.5189 GB, free: 1.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.06026, allocations: 63.41 kB / 0.5189 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.06027, allocations: 4 kB / 0.5189 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004647/0.06492, allocations: 1.684 MB / 0.5206 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.0657, allocations: 295.5 kB / 0.5208 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.07311, allocations: 4.547 MB / 0.5253 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.07413, allocations: 171.1 kB / 0.5255 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.07421, allocations: 59.91 kB / 0.5255 GB, free: 10.78 MB / 458.7 MB 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 (166): * Single equations (assignments): 163 * 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.0004506/0.07466, allocations: 274.6 kB / 0.5258 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.07487, allocations: 167.1 kB / 0.5259 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004933/0.0798, allocations: 2.604 MB / 0.5285 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.07981, allocations: 15.98 kB / 0.5285 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.07982, allocations: 11.94 kB / 0.5285 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.07983, allocations: 7.984 kB / 0.5285 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.08621, allocations: 3.687 MB / 0.5321 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.08622, allocations: 0 / 0.5321 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.08668, allocations: 111.8 kB / 0.5322 GB, free: 3.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/0.09225, allocations: 1.632 MB / 0.5338 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/0.09234, allocations: 24 kB / 0.5338 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009386/0.1017, allocations: 6.385 MB / 0.5401 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1017, allocations: 0 / 0.5401 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007492/0.1092, allocations: 3.07 MB / 0.5431 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.1096, allocations: 150.9 kB / 0.5432 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.1097, allocations: 20 kB / 0.5432 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.1104, allocations: 83.97 kB / 0.5433 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/0.1109, allocations: 196.6 kB / 0.5435 GB, free: 7.926 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.111, allocations: 24 kB / 0.5435 GB, free: 7.902 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007561/0.1117, allocations: 0.6494 MB / 0.5442 GB, free: 7.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1117, allocations: 0 / 0.5442 GB, free: 7.246 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001295/0.113, allocations: 495.6 kB / 0.5446 GB, free: 6.762 MB / 474.7 MB 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.000293/0.1133, allocations: 147.7 kB / 0.5448 GB, free: 6.609 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003795/0.1171, allocations: 1.871 MB / 0.5466 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1171, allocations: 0 / 0.5466 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.1194, allocations: 1.32 MB / 0.5479 GB, free: 3.289 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.1201, allocations: 134.6 kB / 0.548 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.124, allocations: 2.18 MB / 0.5501 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1242, allocations: 253.5 kB / 0.5504 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003439/0.1245, allocations: 116.1 kB / 0.5505 GB, free: 0.543 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.1248, allocations: 92.41 kB / 0.5506 GB, free: 464 kB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1248, allocations: 0 / 0.5506 GB, free: 464 kB / 474.7 MB Notification: Performance of Templates: time 0.0346/0.1594, allocations: 28.04 MB / 0.578 GB, free: 4.527 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.105988428927958]