Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 168.2 kB / 16.1 MB, free: 5.691 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.302/1.302, allocations: 223.3 MB / 240.1 MB, free: 9.957 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.0008526/0.0008531, allocations: 95.56 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4307/0.4307, allocations: 78.61 MB / 421 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.000404, allocations: 8 kB / 0.4894 GB, free: 9.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 69.35 MB / 0.5571 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.004806/0.3198, allocations: 6.366 MB / 0.5634 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.3236, allocations: 2.048 MB / 0.5654 GB, free: 10.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3248, allocations: 8 kB / 0.5654 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008957/0.3258, allocations: 186.8 kB / 0.5655 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.3281, allocations: 0.723 MB / 0.5662 GB, free: 9.453 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3293, allocations: 0.6066 MB / 0.5668 GB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.3307, allocations: 1.507 MB / 0.5683 GB, free: 7.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.3311, allocations: 289.2 kB / 0.5686 GB, free: 7.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.3316, allocations: 0.5637 MB / 0.5691 GB, free: 6.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.3322, allocations: 0.7699 MB / 0.5699 GB, free: 5.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3323, allocations: 60 kB / 0.5699 GB, free: 5.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.3327, allocations: 195.9 kB / 0.5701 GB, free: 5.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.3329, allocations: 270.7 kB / 0.5704 GB, free: 5.188 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.3333, allocations: 0.6383 MB / 0.571 GB, free: 4.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008206/0.3341, allocations: 1.249 MB / 0.5722 GB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3341, allocations: 0 / 0.5722 GB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3342, allocations: 0 / 0.5722 GB, free: 3.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.3342, allocations: 0 / 0.5722 GB, free: 3.289 MB / 378.7 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.007035/0.3412, allocations: 2.537 MB / 0.5747 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3413, allocations: 12.03 kB / 0.5747 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.3459, allocations: 0.7865 MB / 0.5755 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3474, allocations: 0.9061 MB / 0.5764 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.3476, allocations: 238.5 kB / 0.5766 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.3478, allocations: 91.91 kB / 0.5767 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.35, allocations: 1.169 MB / 0.5778 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.35, allocations: 3.938 kB / 0.5778 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.3501, allocations: 35.98 kB / 0.5779 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3502, allocations: 16 kB / 0.5779 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.3522, allocations: 1.078 MB / 0.5789 GB, free: 12.25 MB / 394.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.006727/0.3589, allocations: 4.011 MB / 0.5829 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007641/0.3666, allocations: 2.902 MB / 0.5857 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.3683, allocations: 0.7644 MB / 0.5864 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3684, allocations: 24.97 kB / 0.5865 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3684, allocations: 43.56 kB / 0.5865 GB, free: 4.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 3.447e-06/0.3685, allocations: 0 / 0.5865 GB, free: 4.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.0265/0.395, allocations: 8.263 MB / 0.5946 GB, free: 11.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3951, allocations: 141.5 kB / 0.5947 GB, free: 11.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.397, allocations: 1.115 MB / 0.5958 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.3972, allocations: 45.7 kB / 0.5958 GB, free: 10.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.3976, allocations: 0.4968 MB / 0.5963 GB, free: 10.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.398, allocations: 351.1 kB / 0.5967 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.3982, allocations: 145.6 kB / 0.5968 GB, free: 9.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.3983, allocations: 305.1 kB / 0.5971 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.3999, allocations: 0.8394 MB / 0.5979 GB, free: 8.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.4017, allocations: 1.017 MB / 0.5989 GB, free: 7.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02373/0.4254, allocations: 6.234 MB / 0.605 GB, free: 1.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4255, allocations: 4 kB / 0.605 GB, free: 1.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01494/0.4405, allocations: 5.274 MB / 0.6101 GB, free: 11.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.4407, allocations: 234.7 kB / 0.6104 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4408, allocations: 3.984 kB / 0.6104 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006049/0.4468, allocations: 1.901 MB / 0.6122 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.4482, allocations: 279.6 kB / 0.6125 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/0.468, allocations: 8.94 MB / 0.6212 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4701, allocations: 230.7 kB / 0.6214 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4702, allocations: 55.97 kB / 0.6215 GB, free: 15.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.4702, allocations: 4 kB / 0.6215 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01387/0.4841, allocations: 5.105 MB / 0.6265 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4842, allocations: 4 kB / 0.6265 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005816/0.49, allocations: 1.91 MB / 0.6284 GB, free: 8.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.4913, allocations: 259.6 kB / 0.6286 GB, free: 8.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/0.5104, allocations: 8.941 MB / 0.6373 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.5123, allocations: 214.8 kB / 0.6375 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5124, allocations: 47.98 kB / 0.6376 GB, free: 15.25 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: 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.0007856/0.5132, allocations: 391.5 kB / 0.638 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.5135, allocations: 126.4 kB / 0.6381 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5263, allocations: 4.634 MB / 0.6426 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.5263, allocations: 12 kB / 0.6426 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5263, allocations: 4 kB / 0.6426 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.5264, allocations: 7.984 kB / 0.6426 GB, free: 10.04 MB / 458.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 postOpt removeSimpleEquations (simulation): time 0.01509/0.5415, allocations: 6.3 MB / 0.6488 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.5415, allocations: 0 / 0.6488 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.5422, allocations: 119.8 kB / 0.6489 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005204/0.5474, allocations: 1.793 MB / 0.6506 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5475, allocations: 23.98 kB / 0.6507 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.5639, allocations: 7.625 MB / 0.6581 GB, free: 9.926 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.564, allocations: 4 kB / 0.6581 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.5789, allocations: 5.572 MB / 0.6636 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.5795, allocations: 235.2 kB / 0.6638 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5797, allocations: 20 kB / 0.6638 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5808, allocations: 139.9 kB / 0.6639 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/0.5814, allocations: 184.6 kB / 0.6641 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.5815, allocations: 24 kB / 0.6641 GB, free: 3.711 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.5826, allocations: 0.759 MB / 0.6649 GB, free: 2.945 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5826, allocations: 0 / 0.6649 GB, free: 2.945 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002047/0.5847, allocations: 0.7725 MB / 0.6656 GB, free: 2.172 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.585, allocations: 138.3 kB / 0.6658 GB, free: 2.031 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/0.5966, allocations: 4.986 MB / 0.6706 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5966, allocations: 0 / 0.6706 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/0.6008, allocations: 1.669 MB / 0.6723 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6019, allocations: 116.6 kB / 0.6724 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.6065, allocations: 2.95 MB / 0.6752 GB, free: 8.188 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.6073, allocations: 1.141 MB / 0.6764 GB, free: 7.012 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.6077, allocations: 79.41 kB / 0.6764 GB, free: 6.934 MB / 490.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6077, allocations: 0 / 0.6764 GB, free: 6.934 MB / 490.7 MB Notification: Performance of Templates: time 0.2797/0.8874, allocations: 22.13 MB / 0.6981 GB, free: 110.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)