Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001362, allocations: 177.8 kB / 15.77 MB, free: 6.039 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.641/1.641, allocations: 223.3 MB / 239.8 MB, free: 15.98 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.0008123/0.0008124, allocations: 97.89 kB / 290.9 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5516/0.5516, allocations: 78.61 MB / 420.7 MB, free: 36.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 8 kB / 0.4888 GB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 69.36 MB / 0.5565 GB, free: 1.805 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.006978/0.1448, allocations: 5.838 MB / 0.5622 GB, free: 11.94 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.1493, allocations: 1.916 MB / 0.5641 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1506, allocations: 15.94 kB / 0.5641 GB, free: 10 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1517, allocations: 170.8 kB / 0.5643 GB, free: 9.836 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.1544, allocations: 0.6523 MB / 0.5649 GB, free: 9.184 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.156, allocations: 0.5406 MB / 0.5654 GB, free: 8.648 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1582, allocations: 1.374 MB / 0.5668 GB, free: 7.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.1589, allocations: 249.1 kB / 0.567 GB, free: 7.016 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.16, allocations: 0.5444 MB / 0.5676 GB, free: 6.469 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1613, allocations: 0.7234 MB / 0.5683 GB, free: 5.742 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.1617, allocations: 56 kB / 0.5683 GB, free: 5.688 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008246/0.1625, allocations: 183.9 kB / 0.5685 GB, free: 5.508 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.163, allocations: 262.8 kB / 0.5687 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.1635, allocations: 229 kB / 0.569 GB, free: 5.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.165, allocations: 1.204 MB / 0.5701 GB, free: 3.812 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.165, allocations: 0 / 0.5701 GB, free: 3.812 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.165, allocations: 4 kB / 0.5701 GB, free: 3.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.115e-05/0.1651, allocations: 0 / 0.5701 GB, free: 3.809 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00867/0.1738, allocations: 2.49 MB / 0.5726 GB, free: 1.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1738, allocations: 12.03 kB / 0.5726 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/0.1791, allocations: 0.7788 MB / 0.5733 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2633/0.4424, allocations: 0.8345 MB / 0.5742 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.4427, allocations: 246.2 kB / 0.5744 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.4431, allocations: 80.59 kB / 0.5745 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.4455, allocations: 1.149 MB / 0.5756 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4455, allocations: 1.5 kB / 0.5756 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.4456, allocations: 28.41 kB / 0.5756 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4456, allocations: 19.36 kB / 0.5756 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.4477, allocations: 1.067 MB / 0.5767 GB, free: 43.62 MB / 442.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.006356/0.4541, allocations: 3.936 MB / 0.5805 GB, free: 42.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007723/0.4618, allocations: 2.882 MB / 0.5833 GB, free: 42.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.4634, allocations: 0.7448 MB / 0.5841 GB, free: 41.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.787e-05/0.4635, allocations: 16.22 kB / 0.5841 GB, free: 41.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4636, allocations: 47.3 kB / 0.5841 GB, free: 41.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 2.444e-06/0.4636, allocations: 0 / 0.5841 GB, free: 41.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.02997/0.4935, allocations: 8.423 MB / 0.5923 GB, free: 41.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4936, allocations: 143.6 kB / 0.5925 GB, free: 41.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.4954, allocations: 1.071 MB / 0.5935 GB, free: 40.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.4956, allocations: 50.83 kB / 0.5936 GB, free: 40.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.4959, allocations: 0.489 MB / 0.5941 GB, free: 40.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.4963, allocations: 339.9 kB / 0.5944 GB, free: 40.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4964, allocations: 30.66 kB / 0.5944 GB, free: 40.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.4965, allocations: 364.2 kB / 0.5948 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4979, allocations: 0.8084 MB / 0.5955 GB, free: 39.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.4994, allocations: 0.9807 MB / 0.5965 GB, free: 39.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.501, allocations: 0.9425 MB / 0.5974 GB, free: 39.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.501, allocations: 0 / 0.5974 GB, free: 39.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01359/0.5146, allocations: 5.127 MB / 0.6024 GB, free: 37.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.5147, allocations: 238.4 kB / 0.6027 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5148, allocations: 6.938 kB / 0.6027 GB, free: 37.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005853/0.5206, allocations: 1.852 MB / 0.6045 GB, free: 37.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.522, allocations: 276 kB / 0.6047 GB, free: 37.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.541, allocations: 8.839 MB / 0.6134 GB, free: 33.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.5429, allocations: 224.9 kB / 0.6136 GB, free: 33.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.5432, allocations: 53.86 kB / 0.6136 GB, free: 33.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.5432, allocations: 3.719 kB / 0.6136 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01443/0.5576, allocations: 4.978 MB / 0.6185 GB, free: 32.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.5577, allocations: 3.125 kB / 0.6185 GB, free: 32.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/0.5643, allocations: 1.845 MB / 0.6203 GB, free: 31.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.5658, allocations: 265.6 kB / 0.6206 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.5858, allocations: 8.852 MB / 0.6292 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.5876, allocations: 207.6 kB / 0.6294 GB, free: 28.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.5877, allocations: 53.12 kB / 0.6295 GB, free: 28.01 MB / 442.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007115/0.5884, allocations: 382.9 kB / 0.6298 GB, free: 27.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.5887, allocations: 125.6 kB / 0.6299 GB, free: 27.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.6014, allocations: 4.59 MB / 0.6344 GB, free: 24.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.6015, allocations: 16 kB / 0.6344 GB, free: 24.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6015, allocations: 4.844 kB / 0.6344 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.6015, allocations: 3.984 kB / 0.6344 GB, free: 24.09 MB / 442.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.01432/0.6158, allocations: 6.228 MB / 0.6405 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.6159, allocations: 3.953 kB / 0.6405 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.6166, allocations: 116.9 kB / 0.6406 GB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005186/0.6218, allocations: 1.789 MB / 0.6424 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.622, allocations: 24.59 kB / 0.6424 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.637, allocations: 7.621 MB / 0.6499 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6371, allocations: 4 kB / 0.6499 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.6513, allocations: 5.507 MB / 0.6552 GB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/0.652, allocations: 223.3 kB / 0.6554 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6522, allocations: 27.89 kB / 0.6555 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6534, allocations: 144.7 kB / 0.6556 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/0.6539, allocations: 176.7 kB / 0.6558 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.654, allocations: 24 kB / 0.6558 GB, free: 1.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009664/0.655, allocations: 0.7235 MB / 0.6565 GB, free: 1.207 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.655, allocations: 0 / 0.6565 GB, free: 1.207 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002121/0.6571, allocations: 0.7545 MB / 0.6572 GB, free: 464 kB / 442.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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002338/0.6573, allocations: 131.6 kB / 0.6574 GB, free: 328 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01176/0.6691, allocations: 4.775 MB / 0.662 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.6692, allocations: 0 / 0.662 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004494/0.6737, allocations: 1.651 MB / 0.6636 GB, free: 9.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.6747, allocations: 114.3 kB / 0.6638 GB, free: 9.707 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.6789, allocations: 2.655 MB / 0.6663 GB, free: 7.059 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/0.6797, allocations: 1.129 MB / 0.6675 GB, free: 5.898 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.68, allocations: 79.41 kB / 0.6675 GB, free: 5.82 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/0.68, allocations: 4 kB / 0.6675 GB, free: 5.816 MB / 458.7 MB Notification: Performance of Templates: time 0.02879/0.7088, allocations: 21.73 MB / 0.6887 GB, free: 208 kB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)