Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009058/0.0009061, allocations: 172.6 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007675/0.0007676, allocations: 95.2 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 78.42 MB / 419.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 15.94 kB / 499.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 68.74 MB / 0.5545 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.00817/0.2549, allocations: 13.78 MB / 0.568 GB, free: 6.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.2605, allocations: 3.445 MB / 0.5713 GB, free: 2.898 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.2626, allocations: 28 kB / 0.5714 GB, free: 2.871 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.2639, allocations: 393.4 kB / 0.5717 GB, free: 2.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.2675, allocations: 1.161 MB / 0.5729 GB, free: 1.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.2704, allocations: 1.371 MB / 0.5742 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.2745, allocations: 3.18 MB / 0.5773 GB, free: 12.78 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.2757, allocations: 0.6514 MB / 0.578 GB, free: 12.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.2778, allocations: 1.232 MB / 0.5792 GB, free: 10.85 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.2803, allocations: 1.672 MB / 0.5808 GB, free: 9.172 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008082/0.2811, allocations: 139.9 kB / 0.5809 GB, free: 9.035 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.2822, allocations: 275.8 kB / 0.5812 GB, free: 8.766 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006801/0.2829, allocations: 0.5595 MB / 0.5817 GB, free: 8.203 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.2842, allocations: 1.37 MB / 0.5831 GB, free: 6.824 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.2873, allocations: 3.422 MB / 0.5864 GB, free: 3.391 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2873, allocations: 3.938 kB / 0.5864 GB, free: 3.387 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2873, allocations: 4 kB / 0.5864 GB, free: 3.383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.2874, allocations: 0 / 0.5864 GB, free: 3.383 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01975/0.3072, allocations: 5.574 MB / 0.5919 GB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3073, allocations: 8.031 kB / 0.5919 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.322, allocations: 2.244 MB / 0.5941 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.3254, allocations: 1.673 MB / 0.5957 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/0.3261, allocations: 0.6589 MB / 0.5963 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006726/0.3268, allocations: 208 kB / 0.5965 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00644/0.3333, allocations: 2.898 MB / 0.5994 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.3333, allocations: 0 / 0.5994 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.3336, allocations: 83.92 kB / 0.5995 GB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.3337, allocations: 48 kB / 0.5995 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005678/0.3393, allocations: 2.67 MB / 0.6021 GB, free: 3.062 MB / 410.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.01693/0.3563, allocations: 9.638 MB / 0.6115 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.3668, allocations: 4.048 MB / 0.6155 GB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/0.3705, allocations: 1.894 MB / 0.6173 GB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.3708, allocations: 41.95 kB / 0.6174 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3708, allocations: 52.56 kB / 0.6174 GB, free: 2.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 4.578e-06/0.3708, allocations: 4 kB / 0.6174 GB, free: 2.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=229): time 0.1042/0.4751, allocations: 25.54 MB / 0.6424 GB, free: 9.227 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.4752, allocations: 128.8 kB / 0.6425 GB, free: 9.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/0.4782, allocations: 2.013 MB / 0.6444 GB, free: 7.047 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004954/0.4787, allocations: 69.7 kB / 0.6445 GB, free: 6.973 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008518/0.4796, allocations: 1.085 MB / 0.6456 GB, free: 5.875 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.4807, allocations: 0.8125 MB / 0.6464 GB, free: 5.051 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.4813, allocations: 259.9 kB / 0.6466 GB, free: 4.789 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.4814, allocations: 305.1 kB / 0.6469 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/0.4856, allocations: 1.891 MB / 0.6487 GB, free: 2.594 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/0.49, allocations: 2.242 MB / 0.6509 GB, free: 260 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05664/0.5467, allocations: 13.92 MB / 0.6645 GB, free: 2.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.5467, allocations: 0 / 0.6645 GB, free: 2.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.04082/0.5876, allocations: 12.19 MB / 0.6764 GB, free: 5.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.5878, allocations: 303.8 kB / 0.6767 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.5879, allocations: 8 kB / 0.6767 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/0.6054, allocations: 5.249 MB / 0.6819 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2232/0.8287, allocations: 0.4956 MB / 0.6823 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05345/0.8822, allocations: 21.31 MB / 0.7032 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/0.8858, allocations: 433.9 kB / 0.7036 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/0.8862, allocations: 110.3 kB / 0.7037 GB, free: 100.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.8863, allocations: 3.938 kB / 0.7037 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03618/0.9225, allocations: 11.88 MB / 0.7153 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.9225, allocations: 4 kB / 0.7153 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/0.9383, allocations: 5.257 MB / 0.7204 GB, free: 91.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.9408, allocations: 499.2 kB / 0.7209 GB, free: 91.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04765/0.9884, allocations: 21.3 MB / 0.7417 GB, free: 70 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.9918, allocations: 408.6 kB / 0.7421 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.9923, allocations: 107.9 kB / 0.7422 GB, free: 69.54 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (294): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.9935, allocations: 0.5103 MB / 0.7427 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/0.9941, allocations: 268.6 kB / 0.7429 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03454/1.029, allocations: 11.47 MB / 0.7541 GB, free: 57.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.713e-05/1.029, allocations: 15.94 kB / 0.7542 GB, free: 57.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.029, allocations: 5.25 kB / 0.7542 GB, free: 57.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/1.029, allocations: 369.2 kB / 0.7545 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006734/1.03, allocations: 40 kB / 0.7546 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/1.033, allocations: 255.7 kB / 0.7548 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003982/1.037, allocations: 1.331 MB / 0.7561 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01399/1.051, allocations: 5.236 MB / 0.7612 GB, free: 50.03 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009841/1.061, allocations: 5.422 MB / 0.7665 GB, free: 44.59 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002883/1.064, allocations: 1.511 MB / 0.768 GB, free: 43.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001581/1.065, allocations: 1.318 MB / 0.7693 GB, free: 41.75 MB / 490.7 MB Notification: Performance of Backend: time 5.72e-07/1.065, allocations: 0 / 0.7693 GB, free: 41.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02553/1.091, allocations: 9.203 MB / 0.7783 GB, free: 32.53 MB / 490.7 MB Notification: Performance of SimCode: time 0.007345/1.098, allocations: 6.729 MB / 0.7848 GB, free: 25.78 MB / 490.7 MB Notification: Performance of Templates: time 0.1029/1.201, allocations: 75.05 MB / 0.8581 GB, free: 14.74 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)