Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 108.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.1 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.001391, allocations: 200.4 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.448/0.448, allocations: 78.54 MB / 419.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 76.09 kB / 0.5543 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2872, allocations: 68.16 MB / 0.6209 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.00498/0.2922, allocations: 6.521 MB / 0.6272 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.2951, allocations: 2.017 MB / 0.6292 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.2955, allocations: 15.94 kB / 0.6292 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.296, allocations: 242 kB / 0.6295 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.2974, allocations: 0.8522 MB / 0.6303 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.2984, allocations: 0.6489 MB / 0.6309 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2998, allocations: 1.612 MB / 0.6325 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.3003, allocations: 318.4 kB / 0.6328 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.3009, allocations: 0.6614 MB / 0.6335 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/0.3017, allocations: 0.8441 MB / 0.6343 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3019, allocations: 124 kB / 0.6344 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.3024, allocations: 263.9 kB / 0.6346 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.3027, allocations: 350.6 kB / 0.635 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.3032, allocations: 0.6796 MB / 0.6356 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.3047, allocations: 1.697 MB / 0.6373 GB, free: 9.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3047, allocations: 3.984 kB / 0.6373 GB, free: 9.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3047, allocations: 4 kB / 0.6373 GB, free: 9.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3048, allocations: 0 / 0.6373 GB, free: 9.383 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008307/0.3131, allocations: 2.769 MB / 0.64 GB, free: 6.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3131, allocations: 8.031 kB / 0.64 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.3181, allocations: 0.7874 MB / 0.6408 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.3197, allocations: 0.9226 MB / 0.6417 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.3199, allocations: 226.5 kB / 0.6419 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.3201, allocations: 91.98 kB / 0.642 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.3222, allocations: 1.103 MB / 0.6431 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.3222, allocations: 7.938 kB / 0.6431 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.3223, allocations: 28 kB / 0.6431 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3223, allocations: 20 kB / 0.6431 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.3243, allocations: 1.007 MB / 0.6441 GB, free: 2.246 MB / 446.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.00638/0.3307, allocations: 3.91 MB / 0.6479 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007116/0.3378, allocations: 2.367 MB / 0.6502 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.3392, allocations: 0.697 MB / 0.6509 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3393, allocations: 17 kB / 0.6509 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3393, allocations: 47.55 kB / 0.651 GB, free: 10.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.126e-06/0.3393, allocations: 0 / 0.651 GB, free: 10.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02586/0.3652, allocations: 6.733 MB / 0.6576 GB, free: 4.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3653, allocations: 137.5 kB / 0.6577 GB, free: 3.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.3669, allocations: 1.115 MB / 0.6588 GB, free: 2.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.367, allocations: 41.7 kB / 0.6588 GB, free: 2.797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.3674, allocations: 0.5014 MB / 0.6593 GB, free: 2.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.3677, allocations: 372.9 kB / 0.6597 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.3682, allocations: 275.5 kB / 0.6599 GB, free: 1.648 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.3683, allocations: 309.1 kB / 0.6602 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.3698, allocations: 0.7816 MB / 0.661 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.3715, allocations: 0.9469 MB / 0.6619 GB, free: 15.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02427/0.3958, allocations: 5.774 MB / 0.6675 GB, free: 9.707 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.3959, allocations: 4 kB / 0.6675 GB, free: 9.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01364/0.4095, allocations: 4.438 MB / 0.6719 GB, free: 5.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.4096, allocations: 59.41 kB / 0.6719 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4096, allocations: 4 kB / 0.6719 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005779/0.4154, allocations: 1.627 MB / 0.6735 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4167, allocations: 271.6 kB / 0.6738 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.4362, allocations: 8.632 MB / 0.6822 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.438, allocations: 199.2 kB / 0.6824 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4382, allocations: 55.97 kB / 0.6825 GB, free: 10.23 MB / 494.1 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001937/0.4401, allocations: 0.9605 MB / 0.6834 GB, free: 9.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001634/0.4418, allocations: 0.9351 MB / 0.6843 GB, free: 8.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02363/0.4654, allocations: 5.747 MB / 0.6899 GB, free: 2.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.603e-06/0.4654, allocations: 0 / 0.6899 GB, free: 2.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization_lambda0): time 0.01356/0.479, allocations: 4.407 MB / 0.6942 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.4792, allocations: 63.34 kB / 0.6943 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.4792, allocations: 4 kB / 0.6943 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006066/0.4853, allocations: 1.621 MB / 0.6959 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.4867, allocations: 271.6 kB / 0.6961 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.5062, allocations: 8.636 MB / 0.7046 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.508, allocations: 179.3 kB / 0.7047 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.5081, allocations: 55.92 kB / 0.7048 GB, free: 3.035 MB / 0.4981 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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.000407/0.5086, allocations: 282.9 kB / 0.7051 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.5088, allocations: 135.1 kB / 0.7052 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.5208, allocations: 3.783 MB / 0.7089 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.5208, allocations: 7.969 kB / 0.7089 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5208, allocations: 3.938 kB / 0.7089 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.5213, allocations: 228 kB / 0.7091 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5216, allocations: 24 kB / 0.7091 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.5227, allocations: 103.9 kB / 0.7092 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009094/0.5236, allocations: 424.3 kB / 0.7096 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005837/0.5295, allocations: 2.186 MB / 0.7118 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004301/0.5338, allocations: 2.324 MB / 0.714 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001207/0.535, allocations: 0.5817 MB / 0.7146 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001114/0.5362, allocations: 0.7512 MB / 0.7153 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of Backend: time 5.71e-07/0.5362, allocations: 4 kB / 0.7154 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.5471, allocations: 4.047 MB / 0.7193 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003639/0.5507, allocations: 3.004 MB / 0.7222 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of Templates: time 0.04945/0.6002, allocations: 34.2 MB / 0.7556 GB, free: 14.72 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)